Share via


DIALOGMsgProc

Applies to: Excel 2010 | Office 2010 | VBA | Visual Studio

This procedure is associated with the native Windows dialog box that fShowDialog displays. It provides the service routines called by Windows for the events (messages) that occur when the user operates one of the dialog box's buttons, entry fields, or controls.

BOOL CALLBACK DIALOGMsgProc(HWND hWndDlg, UINT message, WPARAM wParam, LPARAM lParam);

Parameters

hWndDlg (HWND)

Contains the HWND Windows handle of the dialog box.

message (UINT)

The message to respond to.

wParam (WPARAM)

lParam (LPARAM)

Arguments passed by Windows.

Property Value/Return Value

TRUE if message processed, FALSE if not.

Example

See \SAMPLES\GENERIC\GENERIC.C for the source code for this function.

See Also

Concepts

Functions in the Generic DLL