Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LBitmapWindow::PaintNotification
#include "ltwrappr.h"
virtual L_VOID LBitmapWindow::PaintNotification(nPass, uType)
L_INT nPass; |
/* current paint effect pass */ |
L_INT uType; |
/* type of effect */ |
This function is called on every pass, when painting the bitmap using paint effects.
Parameter |
Description |
|
nPass |
The current paint effect pass. Possible values are: |
|
|
Value |
Meaning |
|
0 |
No passes have painted. The first pass is next. |
|
1 |
One pass has painted. The second pass is next. |
|
0 |
The second pass has painted. The third pass is next. |
|
And so forth.... |
|
uType |
The type of effect. Possible values are: |
|
|
Value |
Meaning |
|
EFX_NOTIFY_TRANSITION |
Painting a transition. |
|
EFX_NOTIFY_IMAGE |
Painting an image. |
Returns
None
Comments
Override this function to be notified on every painting pass of a paint effect. This will enable you to change the effect type between passes.
Required DLLs and Libraries
LTDIS For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
Win32, x64.
See Also
Functions: |
Example
For an example, refer to LBitmapWindow::CreatePanWnd.