ShortcutCaptionBar Icon |
Post Reply |
Author | |
bcampbell
Newbie Joined: 19 September 2008 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 19 September 2008 at 9:39pm |
looks like there is a method of adding an image to the shortcutcaption, how would I do it if it is possible. Also, the imagemanager, is that like an imagelist? some reason I can't add images to it when adding it to a form.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
ImageManager is collection of Icons. What code you try to add it ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
bcampbell
Newbie Joined: 19 September 2008 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
usually you have to intialize the imagelist before adding icons, ex: .AddImageList imlShortcutBarIcons but I see no way of adding a list of images in the shortcutcaption, but there is a way to add an image. ShortcutCaption1.icon. So would that place an image on the shortcutcaption bar? if so how would I go about doing that.
|
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
hi,
first of all add your imagelist or imagemanager to your form, add icons and assign ID for each icon. then add to your code: Dim BarItem As ShortcutBarItem Set BarItem = wndShortcutBar.AddItem(ID, "ItemCaption", BarFrm.hWnd) wndShortcutBar.AddImageList YourImageListOrImageImanager |
|
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 |