Preventing a menu from moving |
Post Reply |
Author | |
random0000
Newbie Joined: 22 October 2003 Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 12 November 2003 at 12:58am |
Sounds like it should be simple but how do I prevent a menu from being movable? I still want toolbars to be but not the main menu. I thought maybe the IsBuiltIn=true would work but it seems to be read only (although the docs say you can Get/Set the value). Thanks! |
|
random0000
Newbie Joined: 22 October 2003 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
Any ideas?!?
|
|
stuebing
Newbie Joined: 29 October 2003 Location: Germany Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Hi,
as an aside: is it possible to prevent any toolbar/menubar from moving? Eventually by hooking some message (would be my last resort...) Andreas |
|
stuebing
Newbie Joined: 29 October 2003 Location: Germany Status: Offline Points: 14 |
Post Options
Thanks(0)
|
Hi,
for fixing toolbars now I have a working solution. Derive an own class from CXTPToolBar and catch ON_WM_LBUTTONDOWN and ON_WM_LBUTTONDBLCLK. Use this class as third parameter to CXTPCommandBars::Add to tell XTP to use your own class. But this does not work for the menu bar ;-( Any ideas on how to fix and unfix the menu bar? Andreas |
|
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 |