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
Returns the dimensions of the column header area.
C
BOOL WINAPI SftTree_GetDisplayHeaderRect(HWND hwndCtl, int realCol, LPRECT lpRect, int* lpSpan); BOOL WINAPI SftTreeSplit_GetDisplayHeaderRect(HWND hwndCtl, int realCol, LPRECT lpRect, int* lpSpan);
C++
BOOL CSftTree:GetDisplayHeaderRect(int dispCol, LPRECT lpRect, int* lpSpan) const; BOOL CSftTreeSplit:GetDisplayHeaderRect(int dispCol, LPRECT lpRect, int* lpSpan) const;
hwndCtl
The window handle of the tree control.
realCol
The zero-based column number whose location is to be retrieved.
lpRect
A pointer to a RECT structure where the location of the requested column header is returned.
lpSpan
A pointer to a variable where the number of columns is returned that the column header occupies. If cell merging is allowed and the column header merges into an adjacent column header, a column header can span more than one column. This parameter may be NULL.
GetDisplayHeaderRect returns TRUE if successful, otherwise FALSE is returned.
The GetDisplayHeaderRect function returns the dimensions of the column header area.
The coordinates returned in lpRect are coordinates relative to the tree control's client area (in pixels).
The dimensions of the entire header area can be retrieved using GetHeaderRect.
See Also C/C++ API | Categories | Notifications