The Windows API documentation refers to constants by name. Where can I find the actual values ?
A Follow the instructions here for downloading and installing the APIViewer application and its BBC BASIC plugin. Once you have APIViewer installed on your PC you can discover the numeric values by selecting Constants from the drop-down list. Alternatively install the Windows Constants add-in utility, which will automatically add declarations to your program. If you prefer not to install either utility you can find most of the values you are likely to need in the files WINUSER.H, WINBASE.H, WINGDI.H, WINNT.H, COMMDLG.H, COMMCTRL.H and MMSYSTEM.H. These can be found in the /include directory of the Windows™ Platform SDK or, if you do not have that installed, you can search for them on the web.