Hi, does anybody know why RB_SETBKCOLOR doesn't work (old common control early then 6 works fine). To look it create simple WTL application using Wizard and...
Serhiy Serbin
srs@...
Mar 1, 2006 9:35 am
13403
... chess ... Legal or illegal is not a problem. I think c++ standard is not important so much. Why do we have to make a standard or a manual to limit our...
... can ... That is slightly off-topic I think. But being the author of the said tool, I can tell you that the source code is not available yet. It was based...
I don't know if Erik Thompson, the original author for those nifty radbytes ATL object wizards, reads this forum, but I wonder if anyone has tried to port them...
Can anyone offer any insight on why in Windows XP CListViewCtrl::CreateDragImage creates an image with the ListView icon, but no text? I have an explorer type...
Thanks for the reply ... Even holding the mouse down, the combo still closes before i let go of the button ... Good idea. Ill try that. ... Since I am...
... You can subclass during your window's initialization, right after list view itself is created, and just keep it subclassed at all times. ... Pass it to...
... I did use the CContainedWindow idea and I do receive the WM_LBUTTONDOWN message for my combo but I am not receiving CBN_SELCHANGE message. If I try to...
... and ... the ... The combobox list is sensitive to focus changes, so the list could be stealing focus back during the click-event sequence. Try putting the...
... When you capture WM_LBUTTONDOWN on the list view and show the combobox, don't let the message get through to the list view. It looks like currently you do...
... You are subclassing the wrong window. WM_LBUTTONDOWN comes to the combobox itself. CBN_SELCHANGE and other notifications come to the combobox's _parent_...
... Got it. ... Cripes I was using message_handler. im using COMMAND_HANDLER now. I now understand the difference. thanks so much for the help on this....
... DOH. I was setting bHandled to true but then at the end of the switch, I was setting it back to false. Its working now. Thanks so much for the help guys....
... I am a fan of WTL and using WTL 7.5 with VC2005/ATL8 is (as far as I am aware, but I may be wrong) fully C++98 compliant. The C++ standard does not limit...
thanks Serge,but it doesn't work. i also tried subclass the dialog procedure but i don't know how to throw those message that idon't care back to the default...
Try the following code in the dialog's PreTranslateMessage(MSG* pMsg) function: // If an edit control has a focus and an 'Enter' key is pressed then // edit...
thanks, but it only works in main dialog window, my dialog window unfortunately isn't the main dialog ... pMsg) ... to ... proc. ... Behalf Of ... edit...
it doesn't work cause the keydown message is captured by the dialog first, special key like return key will be converted to IDOK in default. ... instead of ......
Have a look at this article, http://msdn.microsoft.com/msdnmag/issues/0700/c/ and see if that might help you. It's for MFC but never the less. Regards, Karl...
Hi, I've added a tooltip control to my dialog, and attached it to several controls. I'm calling RelayEvent when needed. My only problem is the timing. I want...
I managed through this by adding a fake command handler to IDOK which does nothing except return 0; The default implementation for IDOK seems to send an...
I am trying to prevent resizing of a window. Initially the (child) window is docked to the parent window. After undocking (by setting the windows style) the...