WINDEX
Public Member Functions | Static Public Member Functions | List of all members
wex::modalMgr Class Reference

Public Member Functions

bool set (int id, HWND h)
 Set modal running. More...
 
bool canClose (int id)
 Can a window be closed. More...
 

Static Public Member Functions

static modalMgrget ()
 get reference to singleton modal manager
 

Member Function Documentation

◆ canClose()

bool wex::modalMgr::canClose ( int  id)
inline

Can a window be closed.

Parameters
[in]isof window requesting to be closed
Returns
true if window can be closed

Window can be closed if no modal running or if window to be closed is the the running modal

◆ set()

bool wex::modalMgr::set ( int  id,
HWND  h 
)
inline

Set modal running.

Parameters
[in]idof modal window starting to run
Returns
true if successful, false if other modal winow running

If other modal window running, it gets focus


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