Print Page | Close Window

Customise command bar in floating pane?

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=959
Printed Date: 06 November 2025 at 7:12am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Customise command bar in floating pane?
Posted By: brianh
Subject: Customise command bar in floating pane?
Date Posted: 20 July 2004 at 10:54am

I have created an application where each pane contains a frame window with a toolbar in it (as in the Advanced demo), but I have derived the embedded frame window from CXTPFrameWndBase and instead of a normal toolbar my panes have a CXTPToolbar. 

This all works fine and I can customise the toolbar when a pane is docked but when it is floating I get a problem.  Customising the toolbar appears to work fine until you close the property sheet, at that point the entire application freezes and stops responding to mouse or keyboard events.

I've had a look at the CXTPCustomizeSheet::DoModal() function, and it does hook into mouse and keyboard events while customising, but releases them before returning.  I can't see where the problem is, can anyone help?

Thanks.




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