Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - How to catch a simple left-click on a tray icon
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to catch a simple left-click on a tray icon

 Post Reply Post Reply
Author
Message Reverse Sort Order
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 Topic: How to catch a simple left-click on a tray icon
    Posted: 23 June 2010 at 5:11am
Start from TrayIcon sample and add

     case WM_LBUTTONDOWN:
          return 1;

in OnTrayIconNotify method
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
radiumangel View Drop Down
Newbie
Newbie


Joined: 21 June 2010
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote radiumangel Quote  Post ReplyReply Direct Link To This Post Posted: 21 June 2010 at 11:04am
Hi.

i've already looked in the samples but i couldn't find anything that helps. All that is done with the tray icon is showing menus and minimizing/maximizing the dialog. but that's not what i want to do. i simply want to show a PopupControl item when a simple left-click is made. i've searched for quite a while and couldn't find an answer. i know it sounds noobish and yes i am serious. can someone please help me?

my codejock version 13.3.1
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.188 seconds.