Click here to Skip to main content
15,902,189 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations17-Mar-10 12:07
permutations17-Mar-10 12:07 
GeneralRe: persistent crash on tester's computers that I can't reproduce Pin
permutations18-Mar-10 10:09
permutations18-Mar-10 10:09 
QuestionSystem Tray Icon Pin
MrMcIntyre15-Mar-10 9:40
MrMcIntyre15-Mar-10 9:40 
AnswerRe: System Tray Icon Pin
Stuart Dootson15-Mar-10 10:04
professionalStuart Dootson15-Mar-10 10:04 
AnswerRe: System Tray Icon Pin
LouisLewis15-Mar-10 10:09
LouisLewis15-Mar-10 10:09 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 10:12
MrMcIntyre15-Mar-10 10:12 
GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 10:15
LouisLewis15-Mar-10 10:15 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 10:18
MrMcIntyre15-Mar-10 10:18 
NOTIFYICONDATA nid;
                                memset(&nid, 0, sizeof(NOTIFYICONDATA));
                                nid.cbSize = sizeof(NOTIFYICONDATA);
                                nid.hWnd = hWnd;
                                nid.uID = 1;
                                nid.uFlags = NIF_ICON | NIF_MESSAGE | NIF_TIP;
                                nid.uCallbackMessage = WM_USER + 200;
                                nid.hIcon = LoadIcon(NULL, IDI_INFORMATION);
                                lstrcpy nid.szTip, ("Test Tip");
                                Shell_NotifyIcon(NIM_ADD, &nid);


Hi Louis,

Can you help me fix this code so it can display the notify icon Title set as "Test" and in the code allow me to create menu items.

Thank you.
Andrew McIntyre

GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 10:31
LouisLewis15-Mar-10 10:31 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 10:32
MrMcIntyre15-Mar-10 10:32 
GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 11:06
LouisLewis15-Mar-10 11:06 
AnswerRe: System Tray Icon Pin
David Crow15-Mar-10 10:35
David Crow15-Mar-10 10:35 
GeneralRe: System Tray Icon Pin
MrMcIntyre15-Mar-10 11:34
MrMcIntyre15-Mar-10 11:34 
GeneralRe: System Tray Icon Pin
LouisLewis15-Mar-10 11:49
LouisLewis15-Mar-10 11:49 
QuestionRe: System Tray Icon Pin
David Crow15-Mar-10 16:48
David Crow15-Mar-10 16:48 
AnswerRe: System Tray Icon [modified] Pin
MrMcIntyre16-Mar-10 6:39
MrMcIntyre16-Mar-10 6:39 
AnswerRe: System Tray Icon Pin
David Crow16-Mar-10 7:42
David Crow16-Mar-10 7:42 
GeneralRe: System Tray Icon Pin
MrMcIntyre16-Mar-10 7:49
MrMcIntyre16-Mar-10 7:49 
GeneralRe: System Tray Icon Pin
David Crow16-Mar-10 7:54
David Crow16-Mar-10 7:54 
GeneralRe: System Tray Icon [modified] Pin
MrMcIntyre16-Mar-10 9:59
MrMcIntyre16-Mar-10 9:59 
QuestionClient /Server application with VPN connection Pin
Bugslayer115-Mar-10 9:22
Bugslayer115-Mar-10 9:22 
AnswerRe: Client /Server application with VPN connection Pin
22491715-Mar-10 13:54
22491715-Mar-10 13:54 
AnswerRe: Client /Server application with VPN connection [modified] Pin
Moak16-Mar-10 0:04
Moak16-Mar-10 0:04 
GeneralRe: Client /Server application with VPN connection Pin
Bugslayer118-Mar-10 10:15
Bugslayer118-Mar-10 10:15 
GeneralRe: Client /Server application with VPN connection [modified] Pin
Moak18-Mar-10 11:38
Moak18-Mar-10 11:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.