CComControl::OnGetDlgCode

LRESULT OnGetDlgCode( UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled );

Return Value

The result of message processing. 0 if successful.

Parameters

nMsg

[in] The window message identifier. Not used in the default ATL implementation.

wParam

[in] A 32-bit message parameter. Not used in the default ATL implementation.

lParam

[in] A 32-bit message parameter. Not used in the default ATL implementation.

bHandled

[in, out] Flag that indicates whether the window message was successfully handled. The default is TRUE.

Remarks

Called in response to a WM_GETDLGCODE window message. The message is sent to the dialog box associated with the control. Override this method to let the control process the input of arrow keys and TAB keys. The default ATL implementation simply returns 0.

CComControl OverviewClass Members

See Also   WM_GETDLGCODE