Print Page | Close Window

Setting tray menu icons

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=13333
Printed Date: 06 May 2024 at 9:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Setting tray menu icons
Posted By: joffreyb
Subject: Setting tray menu icons
Date 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.
 
http://forum.codejock.com/uploads/20090204_145152_TrayHelp.zip - uploads/20090204_145152_TrayHelp.zip
 
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



Replies:
Posted By: Oleg
Date Posted: 05 February 2009 at 6:05am

Hi,

Try Samples\Controls\TrayIcon  sample


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


Posted By: joffreyb
Date 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



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