GuiWindowSetCloseButtonEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Needs Checking|This function has been disabled in the code.}}
<!-- Describe in plain english what this function does. Don't go into details, just give an overview -->
<!-- Describe in plain english what this function does. Don't go into details, just give an overview -->
This function enables or disables the close button from the title bar of a GUI window.
This function enables or disables the close button from the title bar of a GUI window.

Revision as of 16:01, 20 January 2009


Dialog-information.png This article needs checking.

Reason(s): This function has been disabled in the code.

This function enables or disables the close button from the title bar of a GUI window.

Syntax

bool guiWindowSetCloseButtonEnabled ( [[element]] theElement, [[bool]] status )

Required Arguments

  • theElement: The window to be changed.
  • status: A boolean value indicating whether the close button is to be enabled or disabled.

Returns

Returns true if the function is successful, false otherwise.

Example

This example does...

--This line does...
blabhalbalhb --abababa
--This line does this...
mooo

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