Click here to Skip to main content
15,887,485 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: PropertySheet tabs captions Pin
toxcct1-Feb-06 23:29
toxcct1-Feb-06 23:29 
QuestionDynamic memory allocation of 2-D array Pin
Sarvan AL31-Jan-06 22:43
Sarvan AL31-Jan-06 22:43 
AnswerRe: Dynamic memory allocation of 2-D array Pin
Owner drawn31-Jan-06 22:54
Owner drawn31-Jan-06 22:54 
AnswerRe: Dynamic memory allocation of 2-D array Pin
Rage31-Jan-06 23:29
professionalRage31-Jan-06 23:29 
AnswerRe: Dynamic memory allocation of 2-D array Pin
kakan1-Feb-06 0:04
professionalkakan1-Feb-06 0:04 
GeneralRe: Dynamic memory allocation of 2-D array Pin
RadioOpa1-Feb-06 3:42
RadioOpa1-Feb-06 3:42 
GeneralRe: Dynamic memory allocation of 2-D array Pin
kakan1-Feb-06 19:17
professionalkakan1-Feb-06 19:17 
QuestionNo Balloon Tip Pin
Great A'Tuin31-Jan-06 22:37
Great A'Tuin31-Jan-06 22:37 
hi,

I want to display a little balloon tip on my tray icon but the balloon just won't appear, although the tray icon is visible. the app is based on MFC and here's the code that doesn't work. it is located in OnInitDialog:


<br />
<br />
ndata.cbSize=sizeof(NOTIFYICONDATA);<br />
ndata.hWnd = m_hWnd;<br />
ndata.uFlags = NIF_ICON | NIF_MESSAGE | NIF_INFO;<br />
ndata.uID = IDI_DISABLED;<br />
ndata.dwInfoFlags = NIIF_NONE;<br />
<br />
ndata.hIcon = (HICON) LoadImage(AfxGetApp()->m_hInstance, MAKEINTRESOURCE(IDI_DISABLED), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR); <br />
<br />
ndata.uCallbackMessage = WM_POPUP;<br />
ndata.uTimeout = 10000;<br />
<br />
wcscpy(ndata.szInfoTitle,_T("Test"));<br />
wcscpy(ndata.szInfo, _T("Test"));	<br />
<br />
Shell_NotifyIcon(NIM_ADD, &ndata);<br />
<br />


ndata is of type NOTIFYICONDATA and is a member of my dialog class.

any clues what could be wrong with that ?

greets

-- modified at 4:38 Wednesday 1st February, 2006
AnswerRe: No Balloon Tip Pin
Owner drawn31-Jan-06 22:53
Owner drawn31-Jan-06 22:53 
GeneralRe: No Balloon Tip Pin
Great A'Tuin31-Jan-06 23:12
Great A'Tuin31-Jan-06 23:12 
GeneralRe: No Balloon Tip Pin
Owner drawn31-Jan-06 23:13
Owner drawn31-Jan-06 23:13 
GeneralRe: No Balloon Tip Pin
Great A'Tuin31-Jan-06 23:21
Great A'Tuin31-Jan-06 23:21 
GeneralRe: No Balloon Tip Pin
Owner drawn31-Jan-06 23:26
Owner drawn31-Jan-06 23:26 
GeneralRe: No Balloon Tip Pin
Owner drawn31-Jan-06 23:31
Owner drawn31-Jan-06 23:31 
GeneralRe: No Balloon Tip Pin
Great A'Tuin31-Jan-06 23:39
Great A'Tuin31-Jan-06 23:39 
GeneralRe: No Balloon Tip Pin
Owner drawn31-Jan-06 23:42
Owner drawn31-Jan-06 23:42 
GeneralRe: No Balloon Tip Pin
Owner drawn31-Jan-06 23:50
Owner drawn31-Jan-06 23:50 
GeneralRe: No Balloon Tip Pin
Great A'Tuin1-Feb-06 0:04
Great A'Tuin1-Feb-06 0:04 
QuestionPropertyPages+Sheet Pin
hanno2531-Jan-06 21:39
hanno2531-Jan-06 21:39 
AnswerRe: PropertyPages+Sheet Pin
Rage31-Jan-06 21:43
professionalRage31-Jan-06 21:43 
GeneralRe: PropertyPages+Sheet Pin
hanno2531-Jan-06 21:48
hanno2531-Jan-06 21:48 
GeneralRe: PropertyPages+Sheet Pin
Rage31-Jan-06 23:00
professionalRage31-Jan-06 23:00 
AnswerRe: PropertyPages+Sheet Pin
PJ Arends1-Feb-06 7:55
professionalPJ Arends1-Feb-06 7:55 
QuestionHow to find Processor serial no? Pin
<color>Aljechin 31-Jan-06 21:35
<color>Aljechin 31-Jan-06 21:35 
AnswerRe: How to find Processor serial no? Pin
Owner drawn31-Jan-06 21:54
Owner drawn31-Jan-06 21:54 

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.