ShowEffectDlg method (ILEADRasterDlgEfx)

Visual Basic example

Visual C++ example

 

Syntax

short ShowEffectDlg (long hWnd);

Overview

Refer to Using Imaging Common Dialogs

Remarks

Displays the Get Effect dialog box, and gets the options for the Effect property.

The layout and action of the dialog depends on the flags set in the UIFlags property. Possible options are:

Value

Meaning

EFFECT_SHOW_CONTEXTHELP

[0x00000001] dialog should contain a context sensitive help icon.

EFFECT_SHOW_PREVIEW

[0x00000002] show a preview of the image in the dialog. The Common Dialog Bitmap property must be assigned a valid bitmap before calling this method.

EFFECT_AUTOPREVIEW

[0x00000004] auto preview when options change

EFFECT_DELAY

[0x00000008] effect delay is an option.

EFFECT_GRAIN

[0x00000010] effect grain is an option.

EFFECT_PASSES

[0x00000020] effect passes is an option

EFFECT_TRANSPARENT

[0x00000040] transparency is an option

EFFECT_WAND

[0x00000080] wand is an option

EFFECT_NO_TREEVIEW

[0x00000100] DO NOT use TreeView

EFFECT_CLASS_NONE

[0x00000200] no effect is an option

EFFECT_CLASS_WIPE

[0x00000400] linear wipe is an option

EFFECT_CLASS_WIPERECT

[0x00000800] rectangular wipe is an option

EFFECT_CLASS_WIPECIRCLE

[0x00001000] circular wipe is an option

EFFECT_CLASS_PUSH

[0x00002000] push is an option

EFFECT_CLASS_SLIDE

[0x00004000] slide is an option

EFFECT_CLASS_ROLL

[0x00008000] roll is an option

EFFECT_CLASS_ROTATE

[0x00010000] rotate is an option

EFFECT_CLASS_ZOOM

[0x00020000] zoom is an option

EFFECT_CLASS_DRIP

[0x00040000] drip is an option

EFFECT_CLASS_BLIND

[0x00080000] blind is an option

EFFECT_CLASS_RANDOM

[0x00100000] random is an option

EFFECT_CLASS_CHECK

[0x00200000] check is an option

EFFECT_CLASS_BLOCKS

[0x00400000] blocks is an option

EFFECT_CLASS_CIRCLE

[0x00800000] circle is an option

EFFECT_CLASS_ELLIPSE

[0x01000000] ellipse is an option

These values may be combined by ORing them. If you include EFX_SHOW_PREVIEW in the UIFlags property, the Common Dialog Bitmap property must be assigned a valid bitmap before calling this method.

To include a Help button in the dialog, set the ShowHelpButton property to VARIANT_TRUE.

The Get Effect dialog can be seen below:

image\GetEffect.gif

See Also

Elements

PaintEffect property, EffectDelay property, ShowHelpButton property, UIFlags property