Forums


Comfort Software :: Forums :: Development
<< Previous thread | Next thread >>   


Author Post
lhearin
Wed Mar 18 2009, 12:36pm
Registered Member #272
Joined: Wed Mar 18 2009, 12:24pm
Posts: 1
A suggestion for your implementation:

You should use really use WM_APP as your base message number instead of WM_USER. Microsoft makes use of WM_USER + n for many internal messages so it can cause operational issues if there is a conflict. Originally anything above WM_USER was for developers to use but Microsoft ran out of messages below that for their own use. That's why they created WM_APP. They won't use any internal message above that. Even using WM_APP as your base is not foolproof. It would be better still to use a registered Windows message. See the article at http://www.flounder.com/messages.htm.
Back to top
Moderators: Comfort

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System