soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SStateHelper Class Reference

Helper class for managing window states. More...

#include <SWnd.h>

Static Public Member Functions

static void MarkState (DWORD &dwState, WndState state)
 Marks a state as active.
 
static void ClearState (DWORD &dwState, WndState state)
 Clears a state.
 
static bool TestState (DWORD dwState, WndState state)
 Tests if a state is active.
 

Detailed Description

Helper class for managing window states.

Definition at line 98 of file SWnd.h.

Member Function Documentation

◆ ClearState()

static void SStateHelper::ClearState ( DWORD & dwState,
WndState state )
inlinestatic

Clears a state.

Parameters
dwStateCurrent state flags.
stateState to clear.

Definition at line 115 of file SWnd.h.

◆ MarkState()

static void SStateHelper::MarkState ( DWORD & dwState,
WndState state )
inlinestatic

Marks a state as active.

Parameters
dwStateCurrent state flags.
stateState to mark.

Definition at line 105 of file SWnd.h.

◆ TestState()

static bool SStateHelper::TestState ( DWORD dwState,
WndState state )
inlinestatic

Tests if a state is active.

Parameters
dwStateCurrent state flags.
stateState to test.
Returns
TRUE if the state is active, FALSE otherwise.

Definition at line 126 of file SWnd.h.


The documentation for this class was generated from the following file: