windows_programming_notes.nbk: Home | Index | Next Page: WM_NEXTMENU | Previous Page: WM_NCRBUTTONUP


 WM_NEXTDLGCTL

The WM_NEXTDLGCTL message is sent to a dialog box procedure to set the keyboard focus to a different control in the dialog box.

Syntax

    WM_NEXTDLGCTL
        WPARAM wParam
        LPARAM lParam;

Parameters

Return Value

An application should return zero if it processes this message.

Remarks

This message performs additional dialog box management operations beyond those performed by the SetFocus function WM_NEXTDLGCTL updates the default pushbutton border, sets the default control identifier, and automatically selects the text of an edit control (if the target window is an edit control).

Do not use the SendMessage function to send a WM_NEXTDLGCTL message if your application will concurrently process other messages that set the focus. Use the PostMessage function instead.

Notification Requirements


windows_programming_notes.nbk: Home | Index | Next Page: WM_NEXTMENU | Previous Page: WM_NCRBUTTONUP


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time