IfmManage::RestoreAppZOrder

This method restores the z-order of an application.

Syntax

HRESULT RestoreAppZOrder( LONG ZOrder );

Parameters

ZOrder
Set to 0 to force the application to the background. Set to a nonzero value to restore the z-order of the application to a previous value obtained from a call to IfmManage::MoveAppToForeground.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

After calling IfmManage::MoveAppToForeground, your application should restore the z-order of the application by calling IfmManage::RestoreAppZOrder with the z-order that the application received from the call to IfmManage::MoveAppToForeground.

See Also

IfmManage::MoveAppToForeground