Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Icons on system tray menu
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Icons on system tray menu

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

Joined: 20 June 2005
Location: Italy
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote Jaws Quote  Post ReplyReply Direct Link To This Post Topic: Icons on system tray menu
    Posted: 19 July 2005 at 5:33am

I'm developing a dialog based VC++ application and I've used CXTTrayIcon to place an icon and a popup menu in Windows Sys Tray. It works fine but I'd like to apply Office 2003 Style and icons to the popup menu as like as Tray Icon Demo sample. The problem is that my popup menu isn't associate to any toolbar on the main dialog and it contains function that I want make available only by using the popup menu.

How can I do it?

Thank you

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: 19 July 2005 at 7:53am

See TrayIcon Demo. You can add new popup menu and use it.

CMenu menu;

if (!menu.LoadMenu(IDR_POPUP_TRAY)) {

return 0;

}

CMenu* pSubMenu = menu.GetSubMenu(0);

if (pSubMenu == NULL) {

return 0;

}

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