This function is called whenever a mark is deleted.
Declaration:
![]() |
|
---|---|
typedef BOOL (ACCUAPI* LPFNIG_ART_DELETENOTIFYFUNC)( HIGEAR hIGear, LPVOID lpPrivate, ART_MARK_INDEX hMarkIndex ); |
Arguments:
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle to the image. |
lpPrivate | LPVOID | A far pointer to the private callback data. |
hMarkIndex | ART_MARK_INDEX | The index of the to-be-deleted mark. |
Return Value:
If the callback function returns FALSE, the mark is not deleted. It should return TRUE to allow the mark to be deleted.
Supported Raster Image Formats:
All pixel formats supported by ImageGear Professional.
Sample:
None
Example:
![]() |
|
---|---|
BOOL ACCUAPI MyDeleteMarkFunc( HIGEAR hIGear, LPVOID lpPrivate, ART_MARK_INDEX hMarkIndex) { /* before deleting the mark, copy it to the clipboard */ ART_edit_copy(hIGear, &hMarkIndex, 1); return TRUE; } |
Remarks:
If the callback function returns FALSE, the mark is not deleted. It should return TRUE to allow the mark to be deleted.
![]() |
In order to use this callback, it must first be registered with ART using the function ART_callback_register(). |