By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,199 Members | 1,458 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,199 IT Pros & Developers. It's quick & easy.

Different between Notification & Message

P: n/a
Different between Notification & Message is a bit hazy for me. Anyone can
explain in detail for me ?

Thanks in advance !


Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
KC
Notification is something that your application receives/gets when events
are fired. You may choose to detect only certain notifications. For example,
if you are monitoring a folder, you can choose to ask the system to notify
your application when user add/delete files in the folder. You register the
event that you want to receive and specify a handler that will handle it
when the event occured.

Another typical example, your windows default handler (WindowProc) receives
notification when user pressed a key. In this case you receive a window
message WM_KEYDOWN.

Message is command that instructs what your application should do. You may
send a message (exm: WM_HIDE) to your dialog box to request it to hide
itself. Or you may send message to your service control manager to request
it to stop the service.

Regards,
KC


" Hai Ly Hoang [MT00KSTN]" <Re**********@Mail.com> wrote in message
news:uc**************@TK2MSFTNGP10.phx.gbl...
Different between Notification & Message is a bit hazy for me. Anyone can
explain in detail for me ?

Thanks in advance !

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.