Ima_Resize

 

This function is called each time one of the image windows are resized.

 

 

Syntax

 

extern "C" __declspec(dllexportint  Ima_Resize(

          HWND wnd,

          SliceO_Window *window

          int width,

          int height

)

 

 

Parameters

 

wnd

A handle to the interface's window

 

window

A pointer to the "Window" structure of the image window receiving the action.

 

width

The horizontal size of the window (in pixels).

 

height

The vertical  size of the window (in pixels).

 

 

Return value

 

The function returns "0" if an error occurred, "1" otherwise.

 

 

Remarks

 

 

Requirements

 

Header:

          sliceO_include.hpp

 

Library:

          sliceO_Structures.lib

 

 

Example

 

...

 

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

//

//          Function:          Ima_Resize

//

//          Param:          wnd (HWND)          Pointer to Window's created window

//          Return:          (int)                    0 if error

//

//          This is called if the image portion of sliceO is resized.

//

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

extern "C" __declspec(dllexport) int          Ima_Resize( HWND wnd, SliceO_Window *window, int width, int height )

{

          return( 1 ) ;

}

 

...

 

See also

 

Ctrl_Blabla