Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Change Menu Items Dynamicly using CXTTrayIcon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Change Menu Items Dynamicly using CXTTrayIcon

 Post Reply Post Reply
Author
Message
czlai View Drop Down
Groupie
Groupie
Avatar

Joined: 18 December 2006
Location: Taiwan
Status: Offline
Points: 35
Post Options Post Options   Thanks (0) Thanks(0)   Quote czlai Quote  Post ReplyReply Direct Link To This Post Topic: Change Menu Items Dynamicly using CXTTrayIcon
    Posted: 30 January 2007 at 1:58am
Dear Sir,
 
Can I modify menu items (add or delete) in runtime using CXTTrayIcon ?
If yes, how ?
 
czlai
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 30 January 2007 at 2:25am

Hi,

You can catch WM_RBUTTONUP message from tray icon and create new menu.

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


Joined: 07 December 2006
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote aamirzia Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2007 at 1:45am
Hi Oleg,
 
Can u provide any sample code to do so, which can create a new menu and then attach it to the CXTTrayIcon ?
 
thanx Aamir
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.047 seconds.