In XaAES the problem did not happen anyway.

Code: Select all
junk=wind_get(our_aeshandle2,WF_WORKXYWH,x,y,w,h) ' get work area of the main window (internal)
vs_clip 1,x,y,w+x,h+y
v_gtext x+2,y+2+(j*char_hi),INFO_DATA$(j)
derkom wrote: Thu Jan 05, 2023 3:04 pm Will never forget this superb cosplay from Dragon Con a few years back...
Code: Select all
ev_bmask A bit-vector, which masks the buttons to wait for with a 1. The following apply:
Bit-0 = Left button
Bit-1 = Right button.
Bit-2 = Middle button, PC-GEM
Code: Select all
if e = MU_BUTTON AND button = 1 AND mess(3)=our_aeshandle then
Code: Select all
if e = MU_BUTTON AND button = 2 AND mess(3)=our_aeshandle then
Code: Select all
e=evnt_multi(mu_mesag+MU_BUTTON+MU_KEYBD,258,3,0,0,0,0,0,0,0,0,0,0,0,_
VARPTR(mess(0)),0,xa,ya,buttona,kstate,kr,br)
Code: Select all
'e, buttona, handle, our_aeshandle
'info closed, gem window open
' 2 1 0 3 'left button does not return AES handle now ?!
' 2 2 0 3 ' right button does not return AES handle now ?!
'info open, gem window open
' 16 0 3 3 - left click nope - Correct AES handle
' 2 2 3 3 - right click yes - - Correct AES handle
Code: Select all
'MULTITOS -
e, buttona, handle, , our_aeshandle, our_aeshandle2
' 2 1 4 3 4 ' left info window click AES 4 - correct BUTTON
' 1 0 3 3 4 ' left GB6 main AES 3 - correct - KEYBOARD EVENT AGAIN ?!
Code: Select all
e=evnt_multi(mu_mesag+MU_BUTTON+MU_KEYBD,258,3,0,0,0,0,0,0,0,0,0,0,0,_
VARPTR(mess(0)),0,xa,ya,buttona,0,0,0)