Difference between revisions of "API Mouse.GetButtons"
From Flowcode Help
Jump to navigationJump to search (XML import) |
(XML import) |
||
| Line 3: | Line 3: | ||
<div style="width:25%; float:right" class="toc"> | <div style="width:25%; float:right" class="toc"> | ||
| − | ===Class hierarchy===[[API Mouse|Mouse]] | + | ====Class hierarchy==== |
| + | [[API Mouse|Mouse]] | ||
:[[API Mouse|GetButtons]] | :[[API Mouse|GetButtons]] | ||
</div> | </div> | ||
| Line 17: | Line 18: | ||
==Detailed description== | ==Detailed description== | ||
| − | ''No additional information'' | + | ''<span style="color:red;">No additional information</span>'' |
| + | |||
==Examples== | ==Examples== | ||
| Line 23: | Line 25: | ||
* Declare a variable 'result' of type BYTE | * Declare a variable 'result' of type BYTE | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Mouse.GetButtons()</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Mouse.GetButtons()</pre> | ||
| + | |||
| + | ''<span style="color:red;">No additional information</span>'' | ||
Revision as of 22:09, 11 May 2013
<sidebar>API contents</sidebar> Gets the button state from the mouse: 4 for left, 1 for right
Contents
Parameters
This function has no parameters
Return value
Returns the button state from the mouse: 4 for left, 1 for right
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type BYTE
- Add to a calculation icon:
result = ::Mouse.GetButtons()
No additional information