Click here to Skip to main content
15,896,348 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDoubt in CreateProcess() and ShellExecute() Pin
Sasikumar.SR31-Jan-06 23:52
Sasikumar.SR31-Jan-06 23:52 
AnswerRe: Doubt in CreateProcess() and ShellExecute() Pin
Rage1-Feb-06 0:07
professionalRage1-Feb-06 0:07 
GeneralRe: Doubt in CreateProcess() and ShellExecute() Pin
David Crow1-Feb-06 6:37
David Crow1-Feb-06 6:37 
GeneralRe: Doubt in CreateProcess() and ShellExecute() Pin
Rage1-Feb-06 9:26
professionalRage1-Feb-06 9:26 
GeneralRe: Doubt in CreateProcess() and ShellExecute() Pin
David Crow1-Feb-06 9:36
David Crow1-Feb-06 9:36 
GeneralRe: Doubt in CreateProcess() and ShellExecute() Pin
Owner drawn1-Feb-06 17:16
Owner drawn1-Feb-06 17:16 
QuestionPropertySheet tabs captions Pin
toxcct31-Jan-06 23:13
toxcct31-Jan-06 23:13 
AnswerRe: PropertySheet tabs captions Pin
Rage31-Jan-06 23:27
professionalRage31-Jan-06 23:27 
GeneralRe: PropertySheet tabs captions Pin
toxcct31-Jan-06 23:37
toxcct31-Jan-06 23:37 
GeneralRe: PropertySheet tabs captions Pin
PJ Arends1-Feb-06 8:18
professionalPJ Arends1-Feb-06 8:18 
GeneralRe: PropertySheet tabs captions Pin
toxcct1-Feb-06 21:31
toxcct1-Feb-06 21:31 
GeneralRe: PropertySheet tabs captions Pin
toxcct1-Feb-06 21:37
toxcct1-Feb-06 21:37 
GeneralRe: PropertySheet tabs captions Pin
Rage1-Feb-06 23:25
professionalRage1-Feb-06 23:25 
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 

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.