IsMTAWindowActive: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 13: Line 13:


==Example==  
==Example==  
This example does...
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
--This line does...
-- TODO
blabhalbalhb --abababa
--This line does this...
mooo
</syntaxhighlight>
</syntaxhighlight>



Revision as of 11:50, 18 February 2010

This function returns whether the any system windows that take focus are active. This includes the chatbox input, console window, main menu and transferbox. To get the status of the debug view, see isDebugViewActive.

Syntax

bool isMTAWindowActive ()

Returns

Returns true if the focus is on the MTA window, false if isn't.

Example

-- TODO

See Also

General functions

Browsers

Buttons

Checkboxes

Comboboxes

Edit Boxes

Gridlists

Memos

Progressbars

Radio Buttons

Scrollbars

Scrollpanes

Static Images

Tab Panels

Tabs

Text Labels

Windows