ModuleSetWindowState

 

Convert the window state of module.

 

void @ModuleSetWindowState(string modulename, int state);

 

Parameters

string modulename : The graphic module name

int state : The size of module (0 = normal, 1 = minimize, 2 = maximize)

 

Return Value

None

 

Examples

@ModuleSetWindowState("test.modx", 2);

Description : maximize the screen size of the graphic module named test.modx.

  

Version Information

Supported Version: 10.3.25

 

Related Helps

@MdiSetScrollPos()

@MdiSetViewRatio()

@MdiGetViewMode()

@MdiSetViewMode()

@ModuleGetViewMode()

@ModuleSetViewMode()

@ModuleGetViewModeActive()

@ModuleSetViewModeActive()

@ModuleSetViewRatio()

@ModuleSetViewRatioActive()

@ModuleSetScrollPos()

@ModuleSetScrollPosActive()

@ModuleSetWindowState()

@MModuleSetWindowStateActive()