I have a CFrameWindowImpl<>-based window. In my WM_CREATE handler, I load values for the last location and size of the window and call MoveWindow() with them....
I restore my main window's position and size in my main module's Run method, after calling wndMain.CreateEx and before ShowWindow. I save the main window's...
Thanks. That works perfectly. I find it strange that MoveWindow in the same place (between CreateEx and ShowWindow) doesn't. But I guess SetWindowPlacement...
... vertical ... to ... /////////////////////////////////////////// Hi John, It's kind of you for your help. But what you refered to is not fit for my...
... vertical ... to ... /////////////////////////////////////////// Hi John, It's kind of you for your help. But what you refered to is not fit for my...
... not ... in ... a ... and ... nonclient ... to ... on, ... button ... window ... tooltip ... could ... ////// Hi Mike, I'm so apprieciated for your help....
... not ... in ... a ... and ... nonclient ... to ... on, ... button ... window ... tooltip ... could ... ////// Hi Mike, I'm so apprieciated for your help....
Hi, I have a dialog: class CMyDialog: public CDialogImpl<CMyDIalog> It currently has a listview ctrl defined as part of the dialog [as part of resource...
I'm using VS 2003 with WTL 7.1 and I'm trying to get the short cut underscore to appear in some context menus. I put & before the letter in the menu and it...
... that ... Since Ctrl+C is usually treated as a shortcut, you might want to try use the Accelerators to map this combination to a specific command ID and...
... I think ever since Windows XP. The main menus no longer display with underscores unless you press Alt to activate it using the keyboard. I think this is a...
"And I don't think the menu itself handles "Alt". Right, had dialogs on the mind, "Alt" button dismisses the context menu. My question remains, how do I get...
... It has nothing to do with WTL, it's a silly Windows XP setting. To turn it of, right-click on the desktop, click Properties from the context menu (and...
... Yes, exactly, because the listview has focus. Input goes to the window that has focus, not to it's parent. Clean design would suggest subclassing the...
Mike, When will you finish your mixin. Could you please share your codes with us. In my case, I want the toolbar can be hosted by any window including dialog....
Thank you. Just to close the loop. The solution that seems to work well is to subclass a new component and use that instead of WTL::CListViewCtrl in my dialog....
... That was a very nice summary, thank you for posting it. What SubclassWindow does is create an assembly-language thunk that causes a jump from the window's...
... When using cracked handlers, you can still access the raw message parameters via GetCurrentMessage (defined in CWindowImplRoot). Even better, there is a...
... the ... parameters via GetCurrentMessage (defined in CWindowImplRoot). Even better, there is a parameterless version of DefWindowProc (defined in ...
... Check out this thread: http://tech.groups.yahoo.com/group/wtl/message/15254 The dynamic control must be given a control id. If it is created dynamically...
I have both VS2005 & VS2008 Express installed. I attempted to build an example vc++ app and encountered the atlstr.h not found error. When searching for help I...
I just installed Visual Studio 2008 Pro and the MSDN Library for VS2008, and I would like to know what is needed to access the WTL. The examples that I have...
1) Download WTL for example from http://www.microsoft.com/downloads/details.aspx?familyid=E5BA5BA4-6E6B-462A-B24C-61115E846F0C&displaylang=en 2) start the file...
Dear Mike, When will you finish your mixin. Could you please share your codes with us. In my case, I want the toolbar can be hosted by any window including...
I need help with Modeless Dialog. My dialog has to be in both LeftToRight & RightToLeft Layout depending on user location. The problem is that if I change...