Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Customise command bar in floating pane?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Customise command bar in floating pane?

 Post Reply Post Reply
Author
Message
brianh View Drop Down
Groupie
Groupie


Joined: 30 April 2004
Location: United Kingdom
Status: Offline
Points: 83
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianh Quote  Post ReplyReply Direct Link To This Post Topic: Customise command bar in floating pane?
    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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.