(subtitled) All handles are created equal, but some handles are more equal than others.
When greating a %gr graphics region, and elsewhere, for example in OPEN_PRINTER@, a handle must be [u:fa6d91b73c]supplied[/u:fa6d91b73c]. In numerous other places, a handle is [u:fa6d91b73c]returned[/u:fa6d91b73c] from Windows. These are quite definitely not the same things. For example, the programmer-handle for %gr is quite useless when it comes to SET_MOUSE_CURSOR_POSITION@ - to locate oneself relative to (0,0) in a %gr region it is necessary to have a windows-handle obtained using %lc.
FTN95.CHM quite correctly (and clearly, I'll grudgingly admit) states that the programmer [u:fa6d91b73c]supplies[/u:fa6d91b73c] the handle for %gr and OPEN_PRINTER@ etc, but (for example) in the description of SET_MOUSE_CURSOR_POSITION@ it does not state what sort of handle is required. It is stated that if the handle has the value zero, coordinates are relative to the screen. This seems to be the case also if the handle is unrecognised - which it is likely to be if one uses the programmer-handle instead of the windows-handle.
May I suggest a note to this effect in the next version of FTN95.CHM?
Eddie