Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Mini Tool Bar Context Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mini Tool Bar Context Problem

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: Mini Tool Bar Context Problem
    Posted: 11 April 2008 at 8:35am
We have mini toolbars and when we right click we also have context menus.  These are great and show related strings on the status bar etc. when we hover over menu items.
 
However we have an instance where we want this but without the mini tool bar section.  Please tell us how we dont show the mini tool bar but do use the context menu part as it works better than the commandbars version
 
Cheers
Terry
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 11 April 2008 at 2:39pm

Hi,

Better? Why? it use same classes as simple context menu.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 2:59pm
If that is the case why does our commandbars version not show status bar messages based upon hovered item :( nor tooltips
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 11 April 2008 at 4:31pm
Hi,
You need to connect it with your CommandBars. use non static version:
 
pCommandbars->TrackPopupMenu(UINT nBarID
or
pCommandbars->TrackPopupMenuEx(...);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 12 April 2008 at 4:39am
Originally posted by oleg oleg wrote:

Hi,
You need to connect it with your CommandBars. use non static version:
 
pCommandbars->TrackPopupMenu(UINT nBarID
or
pCommandbars->TrackPopupMenuEx(...);
 
Strange, we are doing this.  Can you please show small code snippet of a function to do this so we can try to see what is wrong.
 
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 12 April 2008 at 10:33am
See CustomThemes sample.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Posted: 15 April 2008 at 4:17am
Originally posted by oleg oleg wrote:

See CustomThemes sample.
 
Cheers works great now ;)
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
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.063 seconds.