![]() |
CXTPCustomizeKeyboardPage problem |
Post Reply
|
| Author | |
elazutkin
Newbie
Joined: 12 January 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPCustomizeKeyboardPage problemPosted: 12 January 2006 at 1:32pm |
|
I want to add CXTPCustomizeKeyboardPage to CXTPCustomizeSheet object. Following code doesn't work because of ASSERT in CXTPCustomizeKeyboardPage ctr:
CXTPCustomizeSheet dlg(pCommandBars); ... CXTPCustomizeKeyboardPage pageKeyboard(&dlg); ... Did I miss something important? Do I need to do anything else with dlg before creating CXTPCustomizeKeyboardPage? I use Xtreem ToolkitPro v9.81 on Windows XP Pro. This code worked with previous version of the toolkit. Thanks, Eugene |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 January 2006 at 8:56am |
|
Right. Some logic was changed, this assert advice you to add pCommandBars->GetShortcutManager()->SetAccelerators(ID R_MAINFRAME); line in CMainFrame::OnCreate before "LoadCommandBars" call.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
elazutkin
Newbie
Joined: 12 January 2006 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 18 January 2006 at 5:18pm |
|
Thank you, Oleg! It solved the problem.
|
|
![]() |
|
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 |