SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
The SFTPRINTPREVIEW_HITTESTRESULT structure is used with the HitTest function and returns information about a specified location.
typedef struct tagSftPrintPreviewHitTestResult { int area; #define SFTPRINTPREVIEW_AREA_NONE 0 #define SFTPRINTPREVIEW_AREA_PAGE 1 int pageRow; /* (relative) page row number 0..6-1 */ int pageCol; /* (relative) page col number 0..12-1 */ int x, y; /* relative position */ double fltPosX, fltPosY; /* point of page in inches or -1.0, -1.0 */ } SFTPRINTPREVIEW_HITTESTRESULT; typedef const SFTPRINTPREVIEW_HITTESTRESULT * LPCSFTPRINTPREVIEW_HITTESTRESULT;
area
Defines the area at the specified location.
area | Description |
---|---|
SFTPRINTPREVIEW_AREA_NONE | The specified location is not within a page. The remaining members of this structure are undefined and are not valid. |
SFTPRINTPREVIEW_AREA_PAGE | The specified location is within a page. |
pageRow
Defines the relative row number (page position) of the specified location. pageRow and pageCol indicate relative page numbers, starting at the first page displayed (see SFTPRINTPREVIEW_CONTROL, firstPage member). The number of page rows and columns displayed is defined using the maxPageRows and maxPageCols members of the SFTPRINTPREVIEW_CONTROL structure.
pageCol
Defines the relative column number (page position) of the specified location. pageRow and pageCol indicate relative page numbers, starting at the first page displayed (see SFTPRINTPREVIEW_CONTROL, firstPage member). The number of page rows and columns displayed is defined using the maxPageRows and maxPageCols members of the SFTPRINTPREVIEW_CONTROL structure.
x
Defines the horizontal (x) position (in pixels), relative to the top, left corner of the displayed page.
y
Defines the vertical (y) position (in pixels), relative to the top, left corner of the displayed page.
fltPosX
Defines the horizontal position (in inches), relative to the top, left corner of the printed/previewed page (in printer dimensions).
fltPosY
Defines the vertical position (in inches), relative to the top, left corner of the printed/previewed page (in printer dimensions).
The SFTPRINTPREVIEW_HITTESTRESULT structure is used with the HitTest function and returns information about a specified location.
See Also C/C++ API | C++ Classes | Notifications