Older Newer
Tue, 31 Dec 2019 09:03:38 . . . . SyneRyder [fix formatting]


Changes by last author:

Added:
= setDialogShowState =

== Syntax ==

bool setDialogShowState(int state)

== Arguments ==

:state

::Defines how the dialog window should be shown.

== Return ==

Returns false/zero if the dialog window was previously hidden, true/non-zero otherwise.

== Description ==

Can be used to show, hide, minimize and maximize the filter dialog window. The values for the state parameter are equal to those used in the [ShowWindow function documented at MSDN].

== Comments ==

This function is a lightweight wrapper around the Windows Win32 ShowWindow function, documented here: https://msdn.microsoft.com/en-us/library/windows/desktop/ms633548(v=vs.85).aspx

== Example ==

<code>

// Hide the dialog window

setDialogShowState(0);

// SW_HIDE = 0

// Show the dialog window again

setDialogShowState(5);

// SW_SHOW = 5

</code>

== See Also ==

setDialogStyle, setDialogStyleEx