![]() |
How to judge if the commandbars should be update |
Post Reply
|
| Author | |
yanlv
Groupie
Joined: 23 June 2008 Location: China Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Topic: How to judge if the commandbars should be updatePosted: 09 February 2009 at 2:23am |
|
when loadcommandbars(), I hope to judge if the commandbars has been changed, if it's changed, then give me an option to load the new commandbars or still use the old one.
for example: when I change the shortcut key for Copy to Ctrl+C to Alt+W, the program should export a dialog to show these two options when it starts. Thanks. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 February 2009 at 4:49am |
|
Hi,
It always load new commandBars. if you want as option have old one - just don't call LoadCommandBars.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yanlv
Groupie
Joined: 23 June 2008 Location: China Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 February 2009 at 1:49am |
|
I know what you said now. But tell me how to change the shortcut key.
For example, I didn't set any hot key for copy, but now I hope to set Alt+W for copy, the question is that, even I set Alt+W in my codes, after execute LoadCommands(), the copy still has no hot key. While I need to execute LoadCommands() each time for I need the customized information user sets last time. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 February 2009 at 4:17am |
|
Hi,
If you don't call LoadCommandBars do you see Alt+W ?
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
yanlv
Groupie
Joined: 23 June 2008 Location: China Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 February 2009 at 2:24am |
|
I could see alt+w if I don't call loadcommandbars().
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 11 February 2009 at 4:40am |
|
Hi, if you make major update of GUI just change profile for Load/SaveCommandBars calls:
f.e
LoadCommandBars("CommandBars2")
SaveCommandBars("CommandBars2") |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |