CompuServe Messages

M2 MouseClick returns

#: 24034 S7/ProgrammingForum unknown
    24-Jun-86 03:38:03
Sb: M2 MouseClick returns
Fm: John Mesiavech 75076,1640
To: All

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

Am writing a program in M2 that needs to get a report when the left mouse button gets clicked. Have the IDCMPFlags set at {MenuEvent,MouseClick}, and need to know what kind of numbers will be given to me in the IntuiMessage that gets sent to the program upon mouse click. Is it the absolute coordinates in pixels in MouseX and MouseY, or does it relate to a possible using of GimmeZeroZero? Also, will the numbers be in straight integer or in fractional form? Also, if I have this: PROCEDURE CheckMouse (IMsg: IntuiMessage) : CARDINAL; (* some code here *) If IntuiMessage.Code:=MouseClick THEN MouseXCOrd:=IMsg.MouseX MouseYCord:=Imsg.MouseY; (* know I forgot a semicolon..oh well*) and have MouseXCord be the location of the mouse pointer's X cordinate in pixels, (same for MouseYCord) without further manipulation, or what kind of manipulation is needed?