RadioButto

RadioButtoHitTest

Identify the radio button or caption at a screen position

Syntax

Signature
int             RadioButtoHitTest( RadioButto *radioButto, int row, int col );

Arguments

radioButto the radio button.

row, col the screen row and column to test.

Return value

HTCLIENT on one of the three button cells, HTCAPTION on the caption, or HTNOWHERE elsewhere or if the object is NULL.

Description

The button takes priority when the two regions overlap. The caption region uses its displayed character count and omits the accelerator marker. An empty caption has no hit region.

See also