LVectorDialog::VectorHelpCallback

#include "ltwrappr.h"

L_VOID LVectorDialog::VectorHelpCallback(uDlgID, hElement, nCtlID)

L_UINT32 uDlgID;

/* vector common dialog id */

HWND hElement;

/* window handle */

L_INT nCtlID;

/* id of the control */

The callback function that will be called to provide the appropriate help information, based on the vector dialog from which help was requested.

Parameter

Description

uDlgID

Id of the vector common dialog which made the help request. Possible values are:

 

Constant

Meaning

 

LVDLG_HELP_ALLGROUPS

Help command message coming from LVectorDialog::DoModalVectorEditAllGroups.

 

LVDLG_HELP_ALLLAYERS

Help command message coming from LVectorDialog::DoModalVectorEditAllLayers.

 

LVDLG_HELP_GROUP

Help command message coming from LVectorDialog::DoModalVectorEditGroup.

 

LVDLG_HELP_LAYER

Help command message coming from LVectorDialog::DoModalVectorEditLayer.

 

LVDLG_HELP_HITTEST

Help command message coming from LVectorDialog::DoModalVectorHitTest.

 

LVDLG_HELP_RENDER

Help command message coming from LVectorDialog::DoModalVectorRender.

 

LVDLG_HELP_ROTATE

Help command message coming from LVectorDialog::DoModalVectorRotate.

 

LVDLG_HELP_SCALE

Help command message coming from LVectorDialog::DoModalVectorScale.

 

LVDLG_HELP_TRANSLATE

Help command message coming from LVectorDialog::DoModalVectorTranslate.

 

LVDLG_HELP_CAMERA

Help command message coming from LVectorDialog::DoModalVectorCamera.

 

LVDLG_HELP_VIEWMODE

Help command message coming from LVectorDialog::DoModalVectorViewMode.

 

LVDLG_HELP_GENERAL

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_PEN

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_BRUSH

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_VERTEX

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_LINE

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_RECTANGLE

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_CIRCLE

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_ELLIPSE

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_POLYLINE

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_POLYGON

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_POLYDRAW

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_POLYBEZIER

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_ARC

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_ELLIPTICALARC

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_PIE

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_TEXT

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_RASTER

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

 

LVDLG_HELP_CLONE

Help command message coming from LVectorDialog::DoModalVectorEditObject or LVectorDialog::DoModalVectorNewObject.

hElement

Window handle of the dialog control which is requesting help information. if the handle is NULL, this means that the control which is requesting help information is the help button of the dialog.

nCtlID

ID of the dialog control which is requesting help information, IDs can be one of the following (defined in lvdlgres.h):

 

Transform dialog

 

LVDLG_IDD_TRANSFORM

 

LVDLG_IDC_TRANSFORM_BUTTON_XUP

 

LVDLG_IDC_TRANSFORM_EDIT_X

 

LVDLG_IDC_TRANSFORM_BUTTON_XDOWN

 

LVDLG_IDC_TRANSFORM_BUTTON_YUP

 

LVDLG_IDC_TRANSFORM_EDIT_Y

 

LVDLG_IDC_TRANSFORM_BUTTON_YDOWN

 

LVDLG_IDC_TRANSFORM_BUTTON_ZUP

 

LVDLG_IDC_TRANSFORM_EDIT_Z

 

LVDLG_IDC_TRANSFORM_BUTTON_ZDOWN

 

LVDLG_IDC_TRANSFORM_CHECK_ALL

 

LVDLG_IDC_TRANSFORM_BUTTON_RESET

 

LVDLG_IDC_TRANSFORM_STATIC_PREVIEW

 

LVDLG_IDC_TRANSFORM_CHECK_PREVIEW

 

LVDLG_IDC_TRANSFORM_UPDATE

 

LVDLG_IDC_TRANSFORM_BUTTON_HELP

 

 

 

Render dialog

 

LVDLG_IDD_RENDER

 

LVDLG_IDC_RENDER_FRAME_LIGHTS

 

LVDLG_IDC_RENDER_CHECK_USELIGHTS

 

LVDLG_IDC_RENDER_BUTTON_AMBIENT

 

LVDLG_IDC_RENDER_FRAME_POLYGONMODE

 

LVDLG_IDC_RENDER_RADIO_POINT

 

LVDLG_IDC_RENDER_RADIO_LINE

 

LVDLG_IDC_RENDER_RADIO_FILL

 

LVDLG_IDC_RENDER_RADIO_FILL_RASTER_ALWAYS

 

LVDLG_IDC_RENDER_CHECK_PREVIEW

 

LVDLG_IDC_RENDER_STATIC_PREVIEW

 

LVDLG_IDC_RENDER_BUTTON_HELP

 

 

 

View mode dialog

 

LVDLG_IDD_VIEWMODE

 

LVDLG_IDC_VIEWMODE_FRAME_VIEWMODE

 

LVDLG_IDC_VIEWMODE_RADIO_FIT

 

LVDLG_IDC_VIEWMODE_RADIO_SNAP

 

LVDLG_IDC_VIEWMODE_CHECK_PREVIEW

 

LVDLG_IDC_VIEWMODE_STATIC_PREVIEW

 

LVDLG_IDC_VIEWMODE_BUTTON_HELP

 

 

 

Hit test dialog

 

LVDLG_IDD_HITTEST

 

LVDLG_IDC_HITTEST_FRAME_DISTANCE

 

LVDLG_IDC_HITTEST_EDIT_DISTANCE

 

LVDLG_IDC_HITTEST_SPIN_DISTANCE

 

LVDLG_IDC_HITTEST_FRAME_OPTIONS

 

LVDLG_IDC_HITTEST_CHECK_CLOSEDFIGURES

 

LVDLG_IDC_HITTEST_CHECK_IGNORESELECTED

 

LVDLG_IDC_HITTEST_BUTTON_HELP

 

 

 

All layers dialog

 

LVDLG_IDD_ALLLAYERS

 

LVDLG_IDC_ALLLAYERS_LIST_LAYERS

 

LVDLG_IDC_ALLLAYERS_BUTTON_NEW

 

LVDLG_IDC_ALLLAYERS_BUTTON_EDIT

 

LVDLG_IDC_ALLLAYERS_BUTTON_DELETE

 

LVDLG_IDC_ALLLAYERS_YES

 

LVDLG_IDC_ALLLAYERS_NO

 

LVDLG_IDC_ALLLAYERS_NAME

 

LVDLG_IDC_ALLLAYERS_ACTIVE

 

LVDLG_IDC_ALLLAYERS_VISIBLE

 

LVDLG_IDC_ALLLAYERS_LOCKED

 

LVDLG_IDC_ALLLAYERS_BUTTON_HELP

 

 

 

Layer dialog

 

LVDLG_IDD_LAYER

 

LVDLG_IDC_LAYER_FRAME_NAME

 

LVDLG_IDC_LAYER_EDIT_NAME

 

LVDLG_IDC_LAYER_CHECK_ACTIVE

 

LVDLG_IDC_LAYER_CHECK_VISIBLE

 

LVDLG_IDC_LAYER_CHECK_LOCKED

 

LVDLG_IDC_LAYER_BUTTON_HELP

 

 

 

All groups dialog

 

LVDLG_IDD_ALLGROUPS

 

LVDLG_IDC_ALLGROUPS_BUTTON_NEW

 

LVDLG_IDC_ALLGROUPS_LIST_GROUPS

 

LVDLG_IDC_ALLGROUPS_BUTTON_EDIT

 

LVDLG_IDC_ALLGROUPS_BUTTON_DELETE

 

LVDLG_IDC_ALLGROUPS_BUTTON_HELP

 

 

 

Group dialog

 

LVDLG_IDD_GROUP

 

LVDLG_IDC_GROUP_FRAME_NAME

 

LVDLG_IDC_GROUP_EDIT_NAME

 

LVDLG_IDC_GROUP_BUTTON_HELP

 

 

 

General dialog

 

LVDLG_IDD_GENERAL

 

LVDLG_IDC_GENERAL_FRAME_SELECTION

 

LVDLG_IDC_GENERAL_CHECK_SELECTION

 

LVDLG_IDC_GENERAL_FRAME_RASTEROPERATION

 

LVDLG_IDC_GENERAL_COMBO_ROP

 

LVDLG_IDC_GENERAL_FRAME_CLIPPING

 

 

 

Pen dialog

 

LVDLG_IDD_PEN

 

LVDLG_IDC_PEN_FRAME_STYLE

 

LVDLG_IDC_PEN_COMBO_STYLE

 

LVDLG_IDC_PEN_FRAME_WIDTH

 

LVDLG_IDC_PEN_EDIT_WIDTH

 

LVDLG_IDC_PEN_SPIN_WIDTH

 

LVDLG_IDC_PEN_FRAME_COLOR

 

LVDLG_IDC_PEN_STATIC_COLOR

 

LVDLG_IDC_PEN_BUTTON_COLOR

 

 

 

Brush dialog

 

LVDLG_IDD_BRUSH

 

LVDLG_IDC_BRUSH_FRAME_STYLE

 

LVDLG_IDC_BRUSH_COMBO_STYLE

 

LVDLG_IDC_BRUSH_FRAME_HATCH

 

LVDLG_IDC_BRUSH_COMBO_HATCH

 

LVDLG_IDC_BRUSH_FRAME_COLOR

 

LVDLG_IDC_BRUSH_STATIC_COLOR

 

LVDLG_IDC_BRUSH_BUTTON_COLOR

 

LVDLG_IDC_BRUSH_CHECK_ODDEVEN

 

 

 

Vertex dialog

 

LVDLG_IDD_VERTEX

 

LVDLG_IDC_VERTEX_FRAME_LOCATION

 

LVDLG_IDC_VERTEX_EDIT_X

 

LVDLG_IDC_VERTEX_EDIT_Y

 

LVDLG_IDC_VERTEX_EDIT_Z

 

 

 

Line dialog

 

LVDLG_IDD_LINE

 

LVDLG_IDC_LINE_FRAME_STARTPOINT

 

LVDLG_IDC_LINE_EDIT_START_X

 

LVDLG_IDC_LINE_EDIT_START_Y

 

LVDLG_IDC_LINE_EDIT_START_Z

 

LVDLG_IDC_LINE_FRAME_ENDPOINT

 

LVDLG_IDC_LINE_EDIT_END_X

 

LVDLG_IDC_LINE_EDIT_END_Y

 

LVDLG_IDC_LINE_EDIT_END_Z

 

 

 

Rectangle dialog

 

LVDLG_IDD_RECTANGLE

 

LVDLG_IDC_RECTANGLE_FRAME_STARTPOINT

 

LVDLG_IDC_RECTANGLE_EDIT_START_X

 

LVDLG_IDC_RECTANGLE_EDIT_START_Y

 

LVDLG_IDC_RECTANGLE_EDIT_START_Z

 

LVDLG_IDC_RECTANGLE_FRAME_ENDPOINT

 

LVDLG_IDC_RECTANGLE_EDIT_END_X

 

LVDLG_IDC_RECTANGLE_EDIT_END_Y

 

LVDLG_IDC_RECTANGLE_EDIT_END_Z

 

 

 

Polyline dialog

 

LVDLG_IDD_POLYLINE

 

LVDLG_IDC_POLYLINE_FRAME_POINTS

 

LVDLG_IDC_POLYLINE_EDIT_X

 

LVDLG_IDC_POLYLINE_EDIT_Y

 

LVDLG_IDC_POLYLINE_EDIT_Z

 

LVDLG_IDC_POLYLINE_BUTTON_FIRST

 

LVDLG_IDC_POLYLINE_BUTTON_PREVIOUS

 

LVDLG_IDC_POLYLINE_BUTTON_NEXT

 

LVDLG_IDC_POLYLINE_BUTTON_LAST

 

LVDLG_IDC_POLYLINE_STATIC_POINT

 

LVDLG_IDC_POLYLINE_BUTTON_NEW

 

LVDLG_IDC_POLYLINE_BUTTON_DELETE

 

 

 

Polybezier dialog

 

LVDLG_IDD_POLYBEZIER

 

LVDLG_IDC_POLYBEZIER_FRAME_POINTS

 

LVDLG_IDC_POLYBEZIER_EDIT_X

 

LVDLG_IDC_POLYBEZIER_EDIT_Y

 

LVDLG_IDC_POLYBEZIER_EDIT_Z

 

LVDLG_IDC_POLYBEZIER_BUTTON_FIRST

 

LVDLG_IDC_POLYBEZIER_BUTTON_PREVIOUS

 

LVDLG_IDC_POLYBEZIER_BUTTON_NEXT

 

LVDLG_IDC_POLYBEZIER_BUTTON_LAST

 

LVDLG_IDC_POLYBEZIER_STATIC_POINT

 

LVDLG_IDC_POLYBEZIER_BUTTON_NEW

 

LVDLG_IDC_POLYBEZIER_BUTTON_DELETE

 

 

 

Polygon dialog

 

LVDLG_IDD_POLYGON

 

LVDLG_IDC_POLYGON_FRAME_POINTS

 

LVDLG_IDC_POLYGON_EDIT_X

 

LVDLG_IDC_POLYGON_EDIT_Y

 

LVDLG_IDC_POLYGON_EDIT_Z

 

LVDLG_IDC_POLYGON_BUTTON_FIRST

 

LVDLG_IDC_POLYGON_BUTTON_PREVIOUS

 

LVDLG_IDC_POLYGON_BUTTON_NEXT

 

LVDLG_IDC_POLYGON_BUTTON_LAST

 

LVDLG_IDC_POLYGON_BUTTON_NEW

 

LVDLG_IDC_POLYGON_BUTTON_DELETE

 

LVDLG_IDC_POLYGON_STATIC_POINT

 

LVDLG_IDC_POLYGON_FRAME_FILLMODE

 

LVDLG_IDC_POLYGON_RADIO_ALTERNATE

 

LVDLG_IDC_POLYGON_RADIO_WINDING

 

 

 

Ellipse dialog

 

LVDLG_IDD_ELLIPSE

 

LVDLG_IDC_ELLIPSE_FRAME_CENTER

 

LVDLG_IDC_ELLIPSE_EDIT_X

 

LVDLG_IDC_ELLIPSE_EDIT_Y

 

LVDLG_IDC_ELLIPSE_EDIT_Z

 

LVDLG_IDC_ELLIPSE_FRAME_RADIUS

 

LVDLG_IDC_ELLIPSE_EDIT_RADIUSX

 

LVDLG_IDC_ELLIPSE_EDIT_RADIUSY

 

 

 

Circle dialog

 

LVDLG_IDD_CIRCLE

 

LVDLG_IDC_CIRCLE_FRAME_CENTER

 

LVDLG_IDC_CIRCLE_EDIT_X

 

LVDLG_IDC_CIRCLE_EDIT_Y

 

LVDLG_IDC_CIRCLE_EDIT_Z

 

LVDLG_IDC_CIRCLE_FRAME_RADIUS

 

LVDLG_IDC_CIRCLE_EDIT_RADIUS

 

 

 

Arc dialog

 

LVDLG_IDD_ARC

 

LVDLG_IDC_ARC_FRAME_CENTER

 

LVDLG_IDC_ARC_EDIT_X

 

LVDLG_IDC_ARC_EDIT_Y

 

LVDLG_IDC_ARC_EDIT_Z

 

LVDLG_IDC_ARC_FRAME_RADIUS

 

LVDLG_IDC_ARC_EDIT_RADIUS

 

LVDLG_IDC_ARC_FRAME_ANGLES

 

LVDLG_IDC_ARC_EDIT_START

 

LVDLG_IDC_ARC_STATIC_START

 

LVDLG_IDC_ARC_EDIT_SWEEP

 

LVDLG_IDC_ARC_STATIC_SWEEP

 

 

 

Text dialog

 

LVDLG_IDD_TEXT

 

LVDLG_IDC_TEXT_FRAME_POINT

 

LVDLG_IDC_TEXT_EDIT_X

 

LVDLG_IDC_TEXT_EDIT_Y

 

LVDLG_IDC_TEXT_EDIT_Z

 

LVDLG_IDC_TEXT_FRAME_HORIZONTAL

 

LVDLG_IDC_TEXT_FRAME_VERTICAL

 

LVDLG_IDC_TEXT_COMBO_HORIZONTAL

 

LVDLG_IDC_TEXT_COMBO_VERTICAL

 

LVDLG_IDC_TEXT_CHECK_HITTESTRECTANGLE

 

LVDLG_IDC_TEXT_FRAME_TEXT

 

LVDLG_IDC_TEXT_EDIT_TEXT

 

LVDLG_IDC_TEXT_FRAME_FONT

 

LVDLG_IDC_TEXT_BUTTON_FONT

 

LVDLG_IDC_TEXT_EDIT_CHARHEIGHT

 

LVDLG_IDC_TEXT_EDIT_CHARWIDTH

 

LVDLG_IDC_TEXT_STATIC_CHARWIDTH

 

LVDLG_IDC_TEXT_STATIC_CHARHEIGHT

 

LVDLG_IDC_TEXT_CHECK_FORCELINECURVE

 

 

 

Pie dialog

 

LVDLG_IDD_PIE

 

LVDLG_IDC_PIE_FRAME_CENTER

 

LVDLG_IDC_PIE_EDIT_X

 

LVDLG_IDC_PIE_EDIT_Y

 

LVDLG_IDC_PIE_EDIT_Z

 

LVDLG_IDC_PIE_FRAME_RADIUS

 

LVDLG_IDC_PIE_EDIT_RADIUS

 

LVDLG_IDC_PIE_FRAME_ANGLES

 

LVDLG_IDC_PIE_STATIC_START

 

LVDLG_IDC_PIE_EDIT_START

 

LVDLG_IDC_PIE_STATIC_SWEEP

 

LVDLG_IDC_PIE_EDIT_SWEEP

 

 

 

Polydraw dialog

 

LVDLG_IDD_POLYDRAW

 

LVDLG_IDC_POLYDRAW_FRAME_POINTS

 

LVDLG_IDC_POLYDRAW_EDIT_X

 

LVDLG_IDC_POLYDRAW_EDIT_Y

 

LVDLG_IDC_POLYDRAW_EDIT_Z

 

LVDLG_IDC_POLYDRAW_BUTTON_FIRST

 

LVDLG_IDC_POLYDRAW_BUTTON_PREVIOUS

 

LVDLG_IDC_POLYDRAW_BUTTON_NEXT

 

LVDLG_IDC_POLYDRAW_BUTTON_LAST

 

LVDLG_IDC_POLYDRAW_STATIC_POINT

 

LVDLG_IDC_POLYDRAW_BUTTON_NEW

 

LVDLG_IDC_POLYDRAW_BUTTON_DELETE

 

LVDLG_IDC_POLYDRAW_FRAME_TYPE

 

LVDLG_IDC_POLYDRAW_CHECK_CLOSEFIGURE

 

LVDLG_IDC_POLYDRAW_COMBO_TYPE

 

 

 

Raster dialog

 

LVDLG_IDD_RASTER

 

LVDLG_IDC_RASTER_FRAME_POINT1

 

LVDLG_IDC_RASTER_EDIT_POINT1_X

 

LVDLG_IDC_RASTER_EDIT_POINT1_Y

 

LVDLG_IDC_RASTER_EDIT_POINT1_Z

 

LVDLG_IDC_RASTER_FRAME_POINT2

 

LVDLG_IDC_RASTER_EDIT_POINT2_X

 

LVDLG_IDC_RASTER_EDIT_POINT2_Y

 

LVDLG_IDC_RASTER_EDIT_POINT2_Z

 

LVDLG_IDC_RASTER_FRAME_BITMAP

 

LVDLG_IDC_RASTER_STATIC_PREVIEW

 

LVDLG_IDC_RASTER_BUTTON_BITMAP

 

 

 

Clone dialog

 

LVDLG_IDD_CLONE

 

LVDLG_IDC_CLONE_FRAME_POINT

 

LVDLG_IDC_CLONE_EDIT_X

 

LVDLG_IDC_CLONE_EDIT_Y

 

LVDLG_IDC_CLONE_EDIT_Z

 

LVDLG_IDC_CLONE_FRAME_SCALE

 

LVDLG_IDC_CLONE_EDIT_SCALEX

 

LVDLG_IDC_CLONE_EDIT_SCALEY

 

LVDLG_IDC_CLONE_EDIT_SCALEZ

 

LVDLG_IDC_CLONE_FRAME_ROTATION

 

LVDLG_IDC_CLONE_EDIT_ROTATIONX

 

LVDLG_IDC_CLONE_EDIT_ROTATIONY

 

LVDLG_IDC_CLONE_EDIT_ROTATIONZ

 

LVDLG_IDC_CLONE_FRAME_ATTRIBUTES

 

LVDLG_IDC_CLONE_CHECK_USEPEN

 

LVDLG_IDC_CLONE_CHECK_USEBRUSH

 

LVDLG_IDC_CLONE_CHECK_USEPOINTASORIGIN

 

LVDLG_IDC_CLONE_FRAME_GROUP

 

LVDLG_IDC_CLONE_LIST_GROUP

 

 

 

Elliptical arc dialog

 

LVDLG_IDD_ELLIPTICALARC

 

LVDLG_IDC_ELLIPTICALARC_FRAME_CENTER

 

LVDLG_IDC_ELLIPTICALARC_EDIT_X

 

LVDLG_IDC_ELLIPTICALARC_EDIT_Y

 

LVDLG_IDC_ELLIPTICALARC_EDIT_Z

 

LVDLG_IDC_ELLIPTICALARC_FRAME_ANGLES

 

LVDLG_IDC_ELLIPTICALARC_STATIC_START

 

LVDLG_IDC_ELLIPTICALARC_EDIT_START

 

LVDLG_IDC_ELLIPTICALARC_STATIC_SWEEP

 

LVDLG_IDC_ELLIPTICALARC_EDIT_SWEEP

 

LVDLG_IDC_ELLIPTICALARC_FRAME_RADIUS

 

LVDLG_IDC_ELLIPTICALARC_EDIT_RADIUSX

 

LVDLG_IDC_ELLIPTICALARC_EDIT_RADIUSY

Returns

None.

Comments

Override this function if you wish to provide help information for individual dialogs. The exact nature of the help provided is up to you, but must be outlined in this function.

This function will be called only if the callback functions are enabled, to enable callback functions for the LVectorDialog object Call LBase::EnableCallBack(TRUE). You must also enable the Help button by calling LVectorDialog::EnableHelp before displaying the dialog box.

Required DLLs and Libraries

LVKRN
LVDLG
LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LVectorDialog::IsHelpEnabled, LVectorDialog::EnableHelp

Topics:

Vector Images: Vector Dialogs

 

Help Support

Example

class MyVectorDialog : public LVectorDialog
{
   protected: 
      L_VOID VectorHelpCallback( L_UINT32 uDlgID, HWND hElement, L_INT nCtlID ); 
};


L_VOID MyVectorDialog::VectorHelpCallback( L_UINT32 uDlgID, HWND hElement, L_INT nCtlID ) 
{
   L_TCHAR  szBuffer[ 255 ] = TEXT("No information");
   L_TCHAR  szTitle[ 255 ]  = TEXT("");


   UNREFERENCED_PARAMETER( hElement );   

   switch( uDlgID ) 
   {
      case LVDLG_HELP_SCALE: /* Scale Dialog */ 
         lstrcpy( szTitle, TEXT("Scale")); 
         switch( nCtlID ) 
         {
            case LVDLG_IDC_TRANSFORM_BUTTON_XUP: 
               lstrcpy( szBuffer, TEXT("Button X Up")); 
               break; 
         }
         break; 

      case LVDLG_HELP_PEN: /* Scale Dialog */ 
         lstrcpy( szTitle, TEXT("pen")); 
         switch( nCtlID ) 
         {
            case LVDLG_IDC_PEN_FRAME_STYLE: 
            case LVDLG_IDC_PEN_COMBO_STYLE: 
               lstrcpy( szBuffer, TEXT("Pen Style")); 
               break; 

            case LVDLG_IDC_PEN_FRAME_WIDTH: 
            case LVDLG_IDC_PEN_EDIT_WIDTH: 
            case LVDLG_IDC_PEN_SPIN_WIDTH: 
               lstrcpy( szBuffer, TEXT("Pen Width")); 
               break; 

            case LVDLG_IDC_PEN_FRAME_COLOR: 
            case LVDLG_IDC_PEN_BUTTON_COLOR: 
               lstrcpy( szBuffer, TEXT("Tasty colors....")); 
               break; 
         }
         break; 
   };

   MessageBox( NULL, szBuffer, szTitle, MB_OK | MB_ICONINFORMATION ); 
}


L_VOID ShowMyDialog( ) 
{
   MyVectorDialog    VectorDialog; 
   LVectorBase       Vector;   
   
   Vector.Load(TEXT("test.dxf"));
   
   VectorDialog.SetVector( &Vector ); 
   
   VectorDialog.EnablePreview( ); 
   VectorDialog.EnableAutoProcess( ); 
   
   if( VectorDialog.IsHelpEnabled( ) == FALSE ) 
   {
      VectorDialog.EnableHelp( ); 
   }

   VectorDialog.DoModalVectorScale( ); 
}