Print Page | Close Window

CXTPCustomizeKeyboardPage problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3506
Printed Date: 09 November 2025 at 11:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPCustomizeKeyboardPage problem
Posted By: elazutkin
Subject: CXTPCustomizeKeyboardPage problem
Date Posted: 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




Replies:
Posted By: Oleg
Date 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


Posted By: elazutkin
Date Posted: 18 January 2006 at 5:18pm
Thank you, Oleg! It solved the problem.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net