Jump to content

API Mouse.GetFocus: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import of API auto-gen
Admin (talk | contribs)
XML import
Line 2: Line 2:
Gets the handle of the component under the mouse
Gets the handle of the component under the mouse


<div style="width:25%; float:right" class="toc">
===Class hierarchy===
:Mouse
::GetFocus
</div>
__TOC__


===Parameters===
==Parameters==
''This function has no parameters''
''This function has no parameters''


===Return value===
==Return value==
[[Variable types|HANDLE]]
[[Variable types|HANDLE]]


Returns the handle of the component under the mouse
Returns the handle of the component under the mouse


===Detailed description===
==Detailed description==
''No additional information''
''No additional information''


===Examples===
==Examples==
====Calling in a calculation====
===Calling in a calculation===
* Declare a variable 'result' of type HANDLE
* Declare a variable 'result' of type HANDLE
* Add to a calculation icon: <pre class="brush:[C]">result = ::Mouse.GetFocus()</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Mouse.GetFocus()</pre>

Revision as of 16:36, 11 May 2013

<sidebar>API contents</sidebar> Gets the handle of the component under the mouse

Class hierarchy

Mouse
GetFocus

Parameters

This function has no parameters

Return value

HANDLE

Returns the handle of the component under the mouse

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Mouse.GetFocus()