Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Easy way to get a menu with icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Easy way to get a menu with icons

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


Joined: 03 March 2008
Location: United States
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote coretech Quote  Post ReplyReply Direct Link To This Post Topic: Easy way to get a menu with icons
    Posted: 26 May 2008 at 5:32pm
Hi XTP gurus. I have a simple application, with a tray icon and no main window. Currently the tray icon menu pops up but it doesn't show any icons; how do I get those to show up?

I know I must make a link between images and commands and tell the menu about it, but I am at a loss for where and how.

Strangely, the TrayIconDemo sample shows icons in its tray menu but the TryIconDlg sample does not...

Thanks for reading.


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: 27 May 2008 at 12:58am

Hi,

You need add icons to ImageManager:
 
XTPImageManager()->SetIcons(...);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.063 seconds.