Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEWN_CUSTOMGRIDNUMBERS

The PEWN_CUSTOMGRIDNUMBERS notification message is sent to the parent window when the graph constructs the axes.

 

Parameter

Description

wParam

Specifies the control identifier in its low-order word and the PEWN_CUSTOMGRIDNUMBERS notification code in its high-order word.

lParam

Contains the Windows/ProEssentials handle for the object

 

Enables run-time formatting of grid numbers.  Read the PEP_structCUSTOMGRIDNUMBERS property to read the nAxisType, nAxisIndex, and dNumber arguments to know how to format and set the szData argument.

 

Parameter

Description

nAxisType

0 = Left Y
1 = Right Y
2 = X
3 = Top X
4 = Extra X Axis
5 = Extra Top X Axis

nAxisIndex

Zero based index of axis

dNumber

Double grid value of location clicked.

szData

String to replace grid number

 

Comments

This event is only fired if CustomGridNumbersRY, CustomGridNumbersTX, CustomGridNumbersX, CustomGridNumbersY, CustomGridNumbersZ, CustomGridNumbersEX, and/or CustomGridNumbersETX are TRUE.

 

.NET developers use the PeCustomGridNumbers event.

OCX/VCL developers use the CustomGridNumber event.

 

See Also: ProEssentials Messages

 

Within the demo and example projects, see example 132.

 

For an example: See the included VC6 Example Project, "PEVIEW.CPP" file, OnCommand handler for an example of event processing. This project will load into VC6 or Visual Studio .NET.