DIALOGMsgProc
Applies to: Excel 2013 | Office 2013 | 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.