Share via


DIALOGMsgProc

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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