Windows messages

  • Thread starter Thread starter Nick
  • Start date Start date
N

Nick

Hi There,

I'm just trying to find a range of Windows values that are unused? I
was previously using 500's but this has started to cause issues, is there a
range of values that are unused? I would rather not have to resort to
WM_USER or whatever to value is for *custom* messages. Thanks loads in
advance!!!
 
i suggest you go above 0x8000 (WM_APP). too much going on at 0x400
(WM_USER). 500's (near 0x200) are in the range owned by windows, so you are
asking for trouble there.
 
WinAPI SDK suggests to use WM_USE + your value for your custom
messages.

Philip.
 
If I append a menu item to the system menu & handle the click event in
WndProc, I always start at 1000

Crouchie1998
BA (HONS) MCP MCSE
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top