Hello Wtl, I'm doing a custom drawn tree view control. I use both CDDS_ITEMPREPAINT and CDDS_ITEMPOSTPAINT. During CDDS_ITEMPREPAINT, I just change the...
Hello, Happy New Year!!! Does anyone know where I can find a sample for a subclassed progressbar control? I have found lots of them in MFC, but not in API or...
... I ran into this exact problem sometime last year. I reported it directly to Nenad Stefanovic, who agreed that it is an oversight. The problem may be...
I have a tab control (CTabCtrl) implemented within an activex control. Its default position seems to be fixed in relation to the view on which it is hosted....
Assuming the activex control is a composite control, you can use WTL's CDialogResize class to move/resize objects correctly. Good luck! --Kevin ... From:...
Exactly right. I will probably removed those lines, and add a note about HWND being valid only in handler functions. Cheers, Nenad ... From: Jim Barry...
Hello All, I am currently porting an application from MFC to MC++ but decided to reimplement the rendering (using GDI/GDI+ with WTL). I am using VS.NET 2003...
if we assume that the problem hasn't got anything to do with the compiler you are using, it must be something in the code by default (in WTL) PostQuitMessage...
Hello there. I try to make a ListView with subitem edit feature. I have a two classes: class CLocalEdit : public CWindowImpl<CLocalEdit,CEdit> { public: ...
I'm guessing here, but I think it's this... ATL has two supporting DLLs. One, ATL.DLL, that contains certain supporting functions. Examples: Advise, Unadvise,...
Hello Paul, Thanks for the explanation. I never knew of the comcat.dll. In light of your explanation, what is the means of "Not Using ATL" which is the default...
Yep, it's a composite control. I'll try CDialogResize and see if I can get the control moved. Thanks! ... WTL's ... http://docs.yahoo.com/info/terms/...
Has the TabExample been removed from the Files area? Unless I'm looking in the wrong place, I don't see it there any longer. Also, does anyone have the...
This reminds me of an oddity not with WTL but with the common controls. In order to use higher color bitmaps in toolbars, tree controls, listview, etc., you...
Kevin, I once had this problem with an imagelist. I had to specify ILC_COLOR24 in the creation of the imagelist... hope this helps you, Peter ... From:...
I don't known if my solution work in all case but anyway here it is: CBitmap bmp; bmp.LoadBitmap(IDB_BITMAP1); CImageList il; il.Create(16, 15, ILC_COLOR24 |...
Thanks Brandon! That's a great basic example for the tab control challenged (like me <grin>). James Dean <jldean1@...> wrote: His mention of it is in...
You can use a hook procedure to monitor a WM_KEYDOWN message and handle it there. Igor. ... __________________________________________________ Do you Yahoo!? ...
Hello All, I am trying to replace a title of some main menu bar items. What's wrong with my code? // Get main menu HMENU hMenu = m_CmdBar.GetMenu(); // Modify...