Print Page | Close Window

no menu icons for built in commands

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1791
Printed Date: 01 October 2024 at 6:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: no menu icons for built in commands
Posted By: tobi
Subject: no menu icons for built in commands
Date 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 ?




Replies:
Posted By: SuperMario
Date Posted: 16 February 2005 at 2:45pm
Looks like a bug.  I will let development know.


Posted By: Oleg
Date Posted: 16 February 2005 at 11:33pm
3500-35002 reserved for commandbars.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: tobi
Date 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 !



Posted By: Boyd
Date 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.


Posted By: Boyd
Date 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



Posted By: tobi
Date Posted: 26 February 2005 at 1:23am
That works ! Thanks Boyd   



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