ShowMaximizeButton

Syntax:

ShowMaximizeButton( WindowID , value )

Parameters:

WindowID

=

handle of the window ( WindowID() )

value

=

ON/OFF switch (#TRUE/#FALSE)


Description:

Hide/Display the 'maximize' button in the window titlebar.


Example:

  OpenWindow(0,100,100,300,300,#PB_Window_SystemMenu,"Test")
  ShowMaximizeButton( WindowID(), #TRUE )

Remarks:

The minimize/maximize buttons belong to each other. If 1 of the buttons

is shown and you want to hide the other button, the button gets disabled

only. You can show the minimize/maximize buttons only when the close button

(system menu) is also shown.

ToolWindows can not have minimize/maximize buttons.



Supported OS:   Windows