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

C / C++ / MFC

 
GeneralRe: An MFC project Pin
mystro_AKA_kokie13-Jul-04 19:20
mystro_AKA_kokie13-Jul-04 19:20 
Generalfree GMail account to first person who can give working solution Pin
JeromeKJerome13-Jul-04 11:26
JeromeKJerome13-Jul-04 11:26 
GeneralRe: free GMail account to first person who can give working solution Pin
Antti Keskinen13-Jul-04 11:47
Antti Keskinen13-Jul-04 11:47 
GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome13-Jul-04 14:14
JeromeKJerome13-Jul-04 14:14 
GeneralRe: free GMail account to first person who can give working solution Pin
naveen_vi13-Jul-04 11:50
naveen_vi13-Jul-04 11:50 
GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome13-Jul-04 14:15
JeromeKJerome13-Jul-04 14:15 
GeneralRe: free GMail account to first person who can give working solution Pin
naveen_vi13-Jul-04 11:53
naveen_vi13-Jul-04 11:53 
GeneralRe: free GMail account to first person who can give working solution Pin
Ryan Binns13-Jul-04 18:17
Ryan Binns13-Jul-04 18:17 
The problem is the EndDialog(0) inside your OK button handler. Once EndDialog() is called, the window is destroyed, so any messages that get sent to it are lost, including the ones from the tray icon. Instead of calling EndDialog(), call ShowWindow(SW_HIDE) to merely hide the window without destroying it.

<rant>
Don't you dare offer me a g**** account. If I hear about it one more time I am likely to go insane. Anyone who mentions it should be executed on the spot.
</rant>

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome14-Jul-04 15:42
JeromeKJerome14-Jul-04 15:42 
GeneralRe: free GMail account to first person who can give working solution Pin
ThatsAlok13-Jul-04 20:21
ThatsAlok13-Jul-04 20:21 
GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome14-Jul-04 15:36
JeromeKJerome14-Jul-04 15:36 
GeneralRe: free GMail account to first person who can give working solution Pin
ThatsAlok14-Jul-04 21:15
ThatsAlok14-Jul-04 21:15 
QuestionWhat is WINAPI macro??? Pin
naveen_vi13-Jul-04 10:54
naveen_vi13-Jul-04 10:54 
AnswerRe: What is WINAPI macro??? Pin
palbano13-Jul-04 11:13
palbano13-Jul-04 11:13 
AnswerRe: What is WINAPI macro??? Pin
Jeremy Falcon13-Jul-04 11:27
professionalJeremy Falcon13-Jul-04 11:27 
GeneralStream interfaces Pin
pankajdaga13-Jul-04 9:08
pankajdaga13-Jul-04 9:08 
GeneralRe: Stream interfaces Pin
palbano13-Jul-04 9:17
palbano13-Jul-04 9:17 
GeneralRe: Stream interfaces Pin
pankajdaga13-Jul-04 12:14
pankajdaga13-Jul-04 12:14 
GeneralRe: Stream interfaces Pin
Chris Losinger13-Jul-04 15:50
professionalChris Losinger13-Jul-04 15:50 
GeneralRe: Stream interfaces Pin
palbano13-Jul-04 17:48
palbano13-Jul-04 17:48 
GeneralEasy menu/modal dialog question Pin
philliad13-Jul-04 8:53
philliad13-Jul-04 8:53 
GeneralRe: Easy menu/modal dialog question Pin
Johan Rosengren13-Jul-04 9:16
Johan Rosengren13-Jul-04 9:16 
GeneralRe: Easy menu/modal dialog question Pin
Maximilien13-Jul-04 9:16
Maximilien13-Jul-04 9:16 
GeneralRe: Easy menu/modal dialog question Pin
philliad13-Jul-04 9:24
philliad13-Jul-04 9:24 
GeneralRe: Easy menu/modal dialog question Pin
Johan Rosengren13-Jul-04 9:29
Johan Rosengren13-Jul-04 9:29 

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.