You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had some weird issues using _MOUSE* stuff in QB64PE within InForm-PE and I suspected that it was because my mouse input loop was hijacking the events away from InForm-PE, and it turns out I was right.
@a740g explained that I should not create my own mouse input loop and instead use these wrappers inside of InFPE (which are as of yet undocumented):
You should not call the QB64 _MOUSE* call directly. That will mess up InFrom mouse handling. 😁
Instead use the following in readonly mode:
__UI_HasInput
__UI_MouseWheel
__UI_MouseButton1
__UI_MouseButton2
__UI_MouseLeft
__UI_MouseTop
By readonly mode, @a740g means that these are variables we can read from, example: __UI_HasInput
documentationImprovements or additions to documentation
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I had some weird issues using
_MOUSE*
stuff in QB64PE within InForm-PE and I suspected that it was because my mouse input loop was hijacking the events away from InForm-PE, and it turns out I was right.@a740g explained that I should not create my own mouse input loop and instead use these wrappers inside of InFPE (which are as of yet undocumented):
By readonly mode, @a740g means that these are variables we can read from, example:
__UI_HasInput
Check the code for the InForm-PE mouseloop here.
Code search shows stuff here.
Beta Was this translation helpful? Give feedback.
All reactions