![]() |
CXTTrayicon issue |
Post Reply
|
| Author | |
Maneesh
Newbie
Joined: 02 May 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTTrayicon issuePosted: 22 September 2006 at 6:26am |
|
Iam using xTremeToolkit version v9.60.1
I have used CXTTrayicon to show up an icon on the system tray, I want t ohandle the left mouse click and the right mouse click on the system tray ! how do i do it ! Please help Maneesh |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 September 2006 at 12:05pm |
|
Hi,
TrayIcon show it. Please check it first.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Maneesh
Newbie
Joined: 02 May 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2006 at 4:56am |
|
Hi Oleg.
Yes, the Icon does appear on the tray, When I right click it does show the menu But, I want to handle the left click on the same Icon how do i handle the notifications? What does SetNotificationWnd , SetCallbackMessage do? Should I implement them to check if left mouse is clicked ! if so how ! Please Help ! Thanks Maneesh ! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 September 2006 at 10:35am |
|
Hello,
in CMainFrame::OnTrayIconNotify of sample just add
case WM_LBUTTONDOWN:
to check Left button.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Maneesh
Newbie
Joined: 02 May 2005 Status: Offline Points: 16 |
Post Options
Thanks(0)
Quote Reply
Posted: 25 September 2006 at 9:17am |
Hi Oleg ! Thanks a lot! It worked ! Actualy I was referring the Dlg Sample and that did not have a OnTrayNotify handler ! I then looked at some other sample and there i find another sample SDI ! So I fixed it ! thanks a lot for all u r help U are just Gr8 ! Thanks Maneesh |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |