SftTree/DLL 6.5

ResizeColumn

Softel vdm, Inc.

Returns the column number of the column being resized.

C

int WINAPI SftTree_GetResizeColumn(HWND hwndCtl);
int WINAPI SftTreeSplit_GetResizeColumn(HWND hwndCtl);

C++

int CSftTree::GetResizeColumn() const;
int CSftTreeSplit::GetResizeColumn() const;

Parameters

hwndCtl

The window handle of the tree control.

Returns

GetResizeColumn returns the zero-based column number of the column being affected by the current notification.  If a split tree control is used, the return value can be -1 indicating that the splitter bar was used to resize the left and right panes or the splitter bar was double-clicked.

Comments

The GetResizeColumn function returns the column number of the column being resized.

GetResizeColumn can be used while processing a SFTTREEN_COLUMNSIZE or SFTTREEN_LBUTTONDBLCLK_COLUMNRES notification to determine whether the splitter bar or a column was affected by the current event. 

See Also  C/C++ API  |  CategoriesNotifications

 


Feedback / comments / error reports for this topic
© 2009 - Softel vdm, Inc. - www.softelvdm.com