Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPControlPopup with CXTPPopupToolBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPControlPopup with CXTPPopupToolBar

 Post Reply Post Reply
Author
Message
aionov View Drop Down
Newbie
Newbie


Joined: 14 November 2007
Location: Russian Federation
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote aionov Quote  Post ReplyReply Direct Link To This Post Topic: CXTPControlPopup with CXTPPopupToolBar
    Posted: 14 November 2007 at 10:42am
Oleg, we're wondering if you know how to detect
* mouse click on elements of CXTPToolbar with CXTPControlPopup ( with using CXTPControlPopup::CreateControlPopup(xtpControlButtonPopup) ) before the control shows up;
* mouse click outside an active CXTPControlPopup on CXTPToolbar (when focus gets killed);

We would appreciate a hint on this!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 November 2007 at 8:48am
Hi,
 
 See Samples\CommandBars\DynamicPopups it shows how you can build menu dynamically
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
aionov View Drop Down
Newbie
Newbie


Joined: 14 November 2007
Location: Russian Federation
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote aionov Quote  Post ReplyReply Direct Link To This Post Posted: 15 November 2007 at 11:47am
Thank you, I looked example, but cannot find the answer to my second question.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 6:57am
Hi,
You can override CXTPControlPopup  class, and its OnSetPopup method.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
aionov View Drop Down
Newbie
Newbie


Joined: 14 November 2007
Location: Russian Federation
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote aionov Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2007 at 8:30am
Oleg, thanks so much for your response and very useful hint! Appreciate your contribution to the knowledge base on Codejock!
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.125 seconds.