![]() |
ALT+MINUS with MTI |
Post Reply
|
| Author | |
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
Topic: ALT+MINUS with MTIPosted: 30 March 2005 at 12:17pm |
|
If you press ALT+MINUS you get the mdi child menu still, which has the Move option enabled. You can then move the window and mess up the view easily. |
|
![]() |
|
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 April 2005 at 4:47pm |
|
BTW, you can see this problem in the command bars designer even, just press ALT+MINUS and then R for Restore, and the window will be restored, and redraw incorrectly. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 April 2005 at 4:54am |
|
Please use code like: int CChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) pMenu->RemoveMenu(SC_RESTORE, MF_BYCOMMAND); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Ark42
Senior Member
Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 April 2005 at 12:24pm |
|
This isn't much of an issue for me, because almost nobody knows about the ALT+Minus shortcut, but my current application has a menu option to toggle between normal MDI and MTI with tab groups. It works very nicely, I just had to go remove some of the window styles when switching to MTI, just like would be removed when the windows are added normally. If I make this change though, the windows won't have the normal ALT+Minus menu if you click on the control box when in normal MDI mode. |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |