Help Center

CToolbar.GetRowsmethod

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

WindowsmethodCToolbar.incdocumented

Syntax

FUNCTION GetRows (BYVAL hToolbar AS HWND) AS DWORD

Parameters

NameDescription
hToolbarHandle to the toolbar control.

Description

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

Remarks

Returns the number of rows.

Reference

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