|
-
Jan 28th, 2002, 12:00 PM
#1
Thread Starter
Lively Member
Shell_NotifyIcon (NIM_DELETE,&m_tray)
where to put that code if I want this peace of code to be called when the dialog disappears??
Please Help
VisualPenguin
-
Jan 28th, 2002, 01:27 PM
#2
Monday Morning Lunatic
Either WM_CLOSE or WM_DESTROY depending on your exact needs.
For when the dialogue has been closed by the user, use WM_CLOSE.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 29th, 2002, 07:11 AM
#3
Thread Starter
Lively Member
But I'm using MFC, where do I need to put it then?
VisualPenguin
-
Jan 29th, 2002, 04:57 PM
#4
Monday Morning Lunatic
Use ClassWizard to add an OnClose handler and use that.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jan 30th, 2002, 03:35 PM
#5
Thread Starter
Lively Member
yes, good idea.
thanks for your help! it's working now!
VIsualPenguin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|