Programming |  Windows Programming |  Button_GetText

Button_GetText

Gets the text of a button.

Syntax

    int Button_GetText(
        HWND hwndCtl,
        LPTSTR lpch,
        int cchMax
    );

Parameters

Return Value

The length, in characters, of the copied string, not including the terminating NULL character.

Remarks

The macro expands to a call to GetWindowText.

Macro Information