Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - ShortcutBar control’s AddImageList
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ShortcutBar control’s AddImageList

 Post Reply Post Reply
Author
Message
Missy View Drop Down
Newbie
Newbie


Joined: 08 March 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Missy Quote  Post ReplyReply Direct Link To This Post Topic: ShortcutBar control’s AddImageList
    Posted: 08 March 2005 at 12:31pm

I cannot get ShortcutBar::AddImageList() to work.

I created 2 System.Windows.Forms.ImageList controls, one 16x16 the other 24x24. I try to add them to the shortcut bar control via AddImageList but I get "No such interface supported" exception.

wndShortcutBar.AddImageList(imlOutlook);
wndShortcutBar.AddImageList(imlOutlookBig);

I am using VC#.Net 2003 and 9.60.1 of Xtreme Suite Pro

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: 10 March 2005 at 10:25am

AddImageList needs MS Image list, not .NET image list.

we recommend you use ImageManager icons instead (like in our sample).

wndShortcutBar.Icons = (XtremeSuiteControls.ImageManagerIcons)ImageManager.Icons;
 

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Missy View Drop Down
Newbie
Newbie


Joined: 08 March 2005
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Missy Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2005 at 10:28am

I found a workaround anyway. Thank you.

The documentation was not a all clear on that point and should probably be updated to reflect this information.

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