Ctrl_Hide

 

The "Ctrl_Hide()" function is called when sliceOmatic need to hide your interface window.

 

Syntax

 

extern "C" __declspec(dllexportvoid  Ctrl_Hide(

          void

)

 

 

Parameters

 

This function does not have a parameter.

 

 

Return value

 

This function does not return a value.

 

 

Remarks

 

The following template provide the necessary code for:

·The function will update the "Flag_Ctrl_Visible" variable, to '0".

·The function will also insure that the interface window is disabled.

 

extern "C" __declspec(dllexport) void          Ctrl_Hide( void )

{

          // --- the Ctrl Window is no longer "visible" ---

          Flag_Ctrl_Visible = 0 ;

 

          // --- make this window invisible ---

          EnableWindow( box_box.wnd, NULL ) ;

}

 

 

Requirements

 

Header:

          sliceO_include.hpp

 

Library:

          sliceO_Structures.lib

 

 

Example

 

...

 

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

//

//          Function:          Ctrl_Hide

//

//          Parameters:          (void)

//          Returns:          (void)

//

//          The window still exist it is just hidden from view

//

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

extern "C" __declspec(dllexport) void          Ctrl_Hide( void )

{

          // --- the Ctrl Window is no longer "visible" ---

          Flag_Ctrl_Visible = 0 ;

 

          // --- make this window invisible ---

          EnableWindow( box_box.wnd, NULL ) ;

}

 

...

 

See also

 

Ctrl_Show