Ctrl_Query

 

The "Ctrl_Query()" function is used to check the state of your module's interface window. 

 

 

Syntax

 

extern "C" __declspec(dllexportint  Ctrl_Query(

          void

)

 

 

Parameters

 

This function does not have a parameter.

 

 

Return value

 

The function returns  the value of the static variable "Flag_Ctrl_Wnd_On".

 

 

Remarks

 

The template function already provide the necessary code: It simply returns the value of the static variable "Flag_Ctrl_Wnd_On".

 

 

Requirements

 

Header:

          sliceO_include.hpp

 

Library:

          sliceO_Structures.lib

 

 

Example

 

...

 

// ----------------------------------------------------------------------------

//

//          Function:          Ctrl_Query

//

//          Parameters:          (void)

//          Returns:          (int)                    1 if active, 0 if closed

//

//          You reply 1 if the tool is currently active

//

// ----------------------------------------------------------------------------

extern "C" __declspec(dllexport) unsigned int          Ctrl_Query( void )

{

          return( Flag_Ctrl_Wnd_On ) ;

}

 

...

 

See also