Detailed Description
- See also:
- Class ICurveCtl.
class ResourceMakerCallback
- Description:
- This class is available in release 3.0 and later only.
This callback object may be used to handle custom bitmaps and
tooltips for the display buttons of a curve control. There are also
methods which get called to handle the situations when a curve is
reset or a new curve is created.
All methods of this class are virtual.
#include <icurvctl.h>
List of all
members.
Member Function Documentation
virtual BOOL SetCustomImageList |
( |
HIMAGELIST & |
hCTools, |
|
|
ICurveCtl * |
pCCtl |
|
) |
|
[inline, virtual] |
- Parameters:
- HIMAGELIST &hCTools
A reference to the image list to set. An HIMAGELIST is a Win32 data
type that is a handle to an image list.
ICurveCtl
*pCCtl
This pointer can be used to determine which ICurveCtl calls the callback, in case
the plugin uses many CurveControls and want to set different
bitmaps for different CurveControls.
- Returns:
- If the image list was assigned the callback should return TRUE.
If it returns FALSE, the default bitmaps will be used.
- Default Implementation:
- {return FALSE;}
virtual BOOL GetToolTip |
( |
int |
iButton, |
|
|
MSTR & |
ToolTip, |
|
|
ICurveCtl * |
pCCtl |
|
) |
|
[inline, virtual] |
- Parameters:
- int iButton
The zero based index of the button whose tool tip text to
retrieve.
MSTR &ToolTip
The string for the tool tip text.
ICurveCtl
*pCCtl
This pointer can be used to determine which ICurveCtl calls the callback, in case
the plugin uses many CurveControls and want to set different
Tooltips for different CurveControls.
- Returns:
- TRUE if the method is implemented to use custom tooltips;
otherwise FALSE.
- Default Implementation:
- {return FALSE;}
virtual void ResetCallback |
( |
int |
curvenum, |
|
|
ICurveCtl * |
pCCtl |
|
) |
|
[inline, virtual] |
- Parameters:
- int curvenum
The zero based index of the curve.
ICurveCtl
*pCCtl
Points to the interface for the custom curve control.
- Default Implementation:
- {}
virtual void NewCurveCreatedCallback |
( |
int |
curvenum, |
|
|
ICurveCtl * |
pCCtl |
|
) |
|
[inline, virtual] |
- Parameters:
- int curvenum
The zero based index of the curve.
ICurveCtl
*pCCtl
Points to the interface for the custom curve control.
- Default Implementation:
- {}
virtual void* GetInterface |
( |
ULONG |
id |
) |
[inline, virtual] |
ResourceMakerCallback
ResourceMakerCallback ResourceMakerCallback ResourceMakerCallback
ResourceMakerCallback ResourceMakerCallback ResourceMakerCallback
ResourceMakerCallback ResourceMakerCallback
ResourceMakerCallback
ResourceMakerCallback
ResourceMakerCallback ResourceMakerCallback ResourceMakerCallback
ResourceMakerCallback ResourceMakerCallback ResourceMakerCallback
ResourceMakerCallback ResourceMakerCallback
ResourceMakerCallback