Help Center

CToolbar.GetTextRowsmethod

Retrieves the number of rows of buttons in a toolbar with the TBSTYLE_WRAPABLE style.

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetTextRows (BYVAL hToolbar AS HWND) AS DWORD

Parameters

NameDescription
hToolbarHandle to the toolbar control.

Description

Retrieves the maximum number of text rows that can be displayed on a toolbar button.

Remarks

Returns an INT value representing the maximum number of text rows that the control will display for a button.

Reference

  • Include file CToolbar.inc
  • Defined in AfxNova/CToolbar.inc:772
  • Documented in Windows/WIndows Controls/CToolbar Class.md
  • Topic: CToolbar Class