Print Page | Close Window

ShortcutCaptionBar Icon

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Shortcut Bar
Forum Description: Topics Related to Codejock Shortcut Bar
URL: http://forum.codejock.com/forum_posts.asp?TID=12217
Printed Date: 21 May 2024 at 4:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ShortcutCaptionBar Icon
Posted By: bcampbell
Subject: ShortcutCaptionBar Icon
Date 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.



Replies:
Posted By: Oleg
Date Posted: 22 September 2008 at 6:10am
Hi,
 
ImageManager is collection of Icons. What code you try to add it ?


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


Posted By: bcampbell
Date Posted: 22 September 2008 at 8:54am
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.


Posted By: moe188
Date Posted: 27 February 2009 at 10:54am
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




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