TB_GETRECT

This message retrieves the bounding rectangle for a specified toolbar button.

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

  1. TB_GETRECT wParam = (WPARAM)(INT) iID;
    lParam = (LPARAM)(LPRECT) lprc;

Parameters

iID

Button identifier.

lprc

Returns nonzero if successful, or zero otherwise. A RECT structure that receives the bounding rectangle information.

Return Values

Nonzero indicates success. Zero indicates otherwise.