SOLVED : VB6 Menu Detail |
Post Reply |
Author | |
darahem
Groupie Joined: 22 July 2008 Location: Egypt Status: Offline Points: 15 |
Post Options
Thanks(0)
Posted: 22 July 2008 at 6:12am |
Hi,
I am using codejock version 12.0 , I use commandbars controls in an App with VB6 with a VB Menu.
the problim is that, when running the app the VB Menu shows icons from the imagmanager that I use only for the commandbars control
how can I make the menu take icons from another imagemanager, or anywher or even remove the menu icons
A Sample Project For The Problem Here is attached
Thanks In Advance
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi, Guess you change the ID of the added toolbar icons. Commandbars will convert VB menu starting with ID = 1 and you have the same ID for the toolbar icons.
I see you use standard VB menu as well, please look at post: http://forum.codejock.com/forum_posts.asp?TID=9627 before you get into trouble
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
darahem
Groupie Joined: 22 July 2008 Location: Egypt Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Thanks, Thanks, Thanks It works good
another small point, how can I change the ID of a sub menu item, for example how I change the ID of the submenu "Copy" of the MainMenu "Edit"
Thanks In Advance.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
The ID of the Copy menuitem can be changed like this:
CommandBarsMain.ActiveMenuBar.Controls(2).CommandBar.Controls(2).Id = 100
I think you would be better off, building your menu with CommandBars
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
darahem
Groupie Joined: 22 July 2008 Location: Egypt Status: Offline Points: 15 |
Post Options
Thanks(0)
|
Thank a lot, it works good.
I prefer to use my vb menu because my application which I start using CodeJock controls with it, have a complex menus with a big hug of code to apply some previliges, and this app I have built long time ago and it is used by many customers, so I dont prefer to make a big changes in it now.
any way thanks a lot for your appreciated help.
|
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Glad I was able to help you
If your issue is solved, please add SOLVED in your Topic description and have a look at post http://forum.codejock.com/forum_posts.asp?TID=11225
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |