Click here to Skip to main content
16,020,840 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

To all who have viewed my questions before (which are just 2 questions about hooking) kindly disregard them. I already had solved them.

My question for today is what should be n when using WM_APP+n? I was given a code #define....(WM_APP+1024) as a clue, and its effect enables me to display data on an editbox. Because when I change the value, there is no data that appears on the editbox - It's just my observation. Now, I want some data to be displayed on a static control...What should be n then? Or how do I determine what should be n?
Posted
Updated 1-Sep-10 22:48pm
v2

1 solution

WM_APP + n is the number of a message that is (MSDN[^]):

"available for application to use as private messages. Message in this range do not conflict with system messages"


Hence, if your application really needs private messages, you may safely use it.
Please note private messages are usually NOT needed for displaying data in edit boxes or text in static controls.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900