Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - no menu icons for built in commands
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

no menu icons for built in commands

 Post Reply Post Reply
Author
Message
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Topic: no menu icons for built in commands
    Posted: 16 February 2005 at 1:52pm

I use the controls ID 35002 in my tabbed-workspace MDI app ! But in the menu are no corresponding icons are displayed for these built in commands for some time! Can it be because Iīm using your commandbar resource overriding dll ?

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2005 at 2:45pm
Looks like a bug.  I will let development know.
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 February 2005 at 11:33pm
3500-35002 reserved for commandbars.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2005 at 5:19am

I use these command ID for getting the built in functionality. The menuentries are display in the menu like they should - but they donīt have any menu icon !

Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2005 at 9:20am
Just open up the ImageManager control used by CommandBars and add the ID for which you want to add an icon.  It will then show up for these built-in command.  You just need to know the ID of the command that you want to add the image to.  I usually place a debug message in the 'Update' command to write out the caption and ID of a command that is being updated.  When you display a built-in menu, you'll be able to see the ID that is associated with each command in the menu.
Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2005 at 9:22am

Here are the ID values for workspace actions:

'Grouped Workspace Actions
Public Const ID_WS_ACTIONS = 35002
Public Const ID_WS_MOVE_TO_PREV = 9420
Public Const ID_WS_MOVE_TO_NEXT = 9421
Public Const ID_WS_NEW_HORZ_GROUP = 9422
Public Const ID_WS_NEW_VERT_GROUP = 9423

Back to Top
tobi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 09 September 2004
Location: Germany
Status: Offline
Points: 451
Post Options Post Options   Thanks (0) Thanks(0)   Quote tobi Quote  Post ReplyReply Direct Link To This Post Posted: 26 February 2005 at 1:23am
That works ! Thanks Boyd   
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.141 seconds.