Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WM_USER or WM_APP
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01670736
Message ID:
01670745
Views:
60
>>>>Does anyone know what ranges of HWND messages are safe to use with Visual FoxPro?
>>>>Can I use WM_USER + 0 up through WM_USER + 200 if I wanted without issue, for example?
>>>
>>>Hi,
>>>https://docs.microsoft.com/en-us/windows/win32/winmsg/wm-user
>>>MartinaJ
>>
>>Hi Martina. Does VFP use any of those messages itself? Are we able to utilize any we like within those ranges? Or are there some VFP uses that we should avoid?
>
>Hi Rick,
>I don't know if VFP use some number from WM_USER through 0x7FFF, but WM_APP (0x8000) through 0xBFFF is safety.
>MartinaJ

Thank you. I have been using 0x8000 + N for my messages. I haven't had any issues, but just wanted to be sure it wasn't a fluke. :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform