Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Shortcut Bar
  New Posts New Posts RSS Feed - ShortcutCaptionBar Icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ShortcutCaptionBar Icon

 Post Reply Post Reply
Author
Message
bcampbell View Drop Down
Newbie
Newbie
Avatar

Joined: 19 September 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote bcampbell Quote  Post ReplyReply Direct Link To This Post Topic: ShortcutCaptionBar Icon
    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.
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: 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
Back to Top
bcampbell View Drop Down
Newbie
Newbie
Avatar

Joined: 19 September 2008
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote bcampbell Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post 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

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.158 seconds.