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....
15463
Dick Dievendorff
g0mfo
Jun 5, 2008 4:16 am
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...
15464
politicalconfusion
politicalcon...
Jun 5, 2008 11:24 pm
Thanks. That works perfectly. I find it strange that MoveWindow in the same place (between CreateEx and ShowWindow) doesn't. But I guess SetWindowPlacement...
15465
wtller
Jun 6, 2008 5:41 am
thx!...
15466
jacklin5168
Jun 10, 2008 7:27 am
... vertical ... to ... /////////////////////////////////////////// Hi John, It's kind of you for your help. But what you refered to is not fit for my...
15467
jacklin5168
Jun 10, 2008 7:29 am
... vertical ... to ... /////////////////////////////////////////// Hi John, It's kind of you for your help. But what you refered to is not fit for my...
15468
jacklin5168
Jun 10, 2008 8:07 am
... not ... in ... a ... and ... nonclient ... to ... on, ... button ... window ... tooltip ... could ... ////// Hi Mike, I'm so apprieciated for your help....
15469
jacklin5168
Jun 10, 2008 8:08 am
... not ... in ... a ... and ... nonclient ... to ... on, ... button ... window ... tooltip ... could ... ////// Hi Mike, I'm so apprieciated for your help....
15470
jack lin
jacklin5168
Jun 10, 2008 8:14 am
Hi Mike, I'm so apprieciated for your help. You give the right answer for me. Could you share your mixin with me? Best Regards! jacklin ... ...
15471
jack lin
jacklin5168
Jun 10, 2008 8:17 am
Hi John, It's kind of you for your help. But what you refered to is not fit for my question. I've read articles under above link in...
15472
Andrew Bernat
andrewbernat
Jun 10, 2008 7:50 pm
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...
15473
mwfrith
Jun 10, 2008 11:37 pm
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...
15474
He Shiming
billholtsh
Jun 11, 2008 12:27 am
... 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...
15475
He Shiming
billholtsh
Jun 11, 2008 12:31 am
... 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...
15476
mwfrith
Jun 11, 2008 12:57 am
"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...
15477
domehead100
Jun 11, 2008 2:06 am
... 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...
15478
domehead100
Jun 11, 2008 2:18 am
... 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...
15479
mwfrith
Jun 11, 2008 2:50 am
Thanks Mike that was it. Interesting how MFC shows the underscore even though the setting is on. Mike...
15480
jack lin
jacklin5168
Jun 11, 2008 8:45 am
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....
15481
Andrew Bernat
andrewbernat
Jun 11, 2008 4:52 pm
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....
15482
domehead100
Jun 11, 2008 5:35 pm
... 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...
15483
Jim Barry
jim_barry.geo
Jun 12, 2008 10:45 am
... When using cracked handlers, you can still access the raw message parameters via GetCurrentMessage (defined in CWindowImplRoot). Even better, there is a...
15484
domehead100
Jun 12, 2008 12:20 pm
... the ... parameters via GetCurrentMessage (defined in CWindowImplRoot). Even better, there is a parameterless version of DefWindowProc (defined in ...
15485
wtller
Jun 12, 2008 2:04 pm
thx~...
15486
domehead100
Jun 12, 2008 3:26 pm
... 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...
15487
Bernard Warycha
bwarycha
Jun 15, 2008 6:41 pm
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...
15488
Bernard Warycha
bwarycha
Jun 20, 2008 3:09 pm
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...
15489
v_s_ha
Jun 22, 2008 12:21 pm
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...
15490
jack lin
jacklin5168
Jun 25, 2008 3:13 am
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...
15491
matmidlw
Jul 8, 2008 5:49 pm
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...