Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Setting tray menu icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting tray menu icons

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

Joined: 10 October 2007
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote joffreyb Quote  Post ReplyReply Direct Link To This Post Topic: Setting tray menu icons
    Posted: 04 February 2009 at 2:56pm
Hello to all !
 
I have some difficulty finding out how to make my tray menu to look like an Office menu with icons and coloring...
 
I have attached some code of what I do but my menu still remains "boring" looking.
 
I use CXTTrayIcon for my m_cTray object and use the XTPImageManager()->SetIcons method to load and set my bitmaps.
 
 
Thanks for your help in advance !
 
Using Xtreme Toolkit Pro 12.0.1
WinXP SP2
 
 
 
Joff.
Xtreme Toolkit Pro v13.4.0
Win7-64, i7-920
VS8, VS9, VS10
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: 05 February 2009 at 6:05am

Hi,

Try Samples\Controls\TrayIcon  sample
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
joffreyb View Drop Down
Newbie
Newbie
Avatar

Joined: 10 October 2007
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote joffreyb Quote  Post ReplyReply Direct Link To This Post Posted: 05 February 2009 at 9:06am
Thanks for your reply!
 
I see that there is no way around handling the notification message in code instead of letting the class do it.
 
ON_MESSAGE(TIN_XT_TRAYICON, OnTrayIconNotify)
 
That's fine. Now I know! 
 
 
Joff.
Xtreme Toolkit Pro v13.4.0
Win7-64, i7-920
VS8, VS9, VS10
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.219 seconds.