Ima_Help

 

The "Ima_Help()" function is called whenever the help key is activated while the cursor is over an image window.

 

 

Syntax

 

extern "C" __declspec(dllexportint  Ima_Help(

          HWND wnd,

          int key,

          short x, short y

)

 

 

Parameters

 

wnd

A handle to the interface's window

 

key

is the key code of the activated key

 

x, y

Horizontal (x) and vertical (y) position of the cursor within the current window. (0,0 at bottom left)

 

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_Help

//

//          Parameters:          wnd (HWND)          Pointer to Window's generating the signal

//                              key (int)          code of the activated key

//                              x, y (int)          current cursor position

//          Returns:          (int)                    1 if key is used

//

//          This is called each time the cursor is inside your menu and the "Help"

//          key has been pressed.

//

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

extern "C" __declspec(dllexport) int          Ima_Help( HWND wnd, int key, short x, short y )

{

          return( 0 ) ;

}

 

...

 

See also