The SendMessage and PostMessage commands would appear to be very useful but how do I get a list of all of the messages that an app will accept and their parameters. How do I make a VB6 app that will respond to these?
Thanks.
Printable View
The SendMessage and PostMessage commands would appear to be very useful but how do I get a list of all of the messages that an app will accept and their parameters. How do I make a VB6 app that will respond to these?
Thanks.
Check out this Website it has a Win32 API Help File Download which describes alot of the Messages and their Parameters. you can get the Declarations from the API viewer which ships with VB.
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Thanks, I'll give it a go.
Every set of constants based on the prefix. In other words, lets say you want to change the style or behavior of the listbox: Then all constants will start with LB.
Example: LB_FINDSTRING, LB_GETCOUNT etc.
For the style you would add S after LB, so it would be: LBS_SORT, LBS_USETABSTOPS etc.
Here are some control constants prefixes:
LB - ListBox
CB - ComboBox
EM - TextBox, RichTextBox
BM - Button, CheckBox, OptionButton
WM - Window Message
TVM - TreeView
LVM - ListView
If you have MSDN Library installed then you have all the help for these constants.
Regards,
------------------
Serge
Software Developer
[email protected]
[email protected]