CDN_FILEOK
The CDN_FILEOK notification message is sent by an Explorer-style
Open or Save As dialog box when the user specifies a file name and clicks the OK button.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
CDN_FOLDERCHANGE
The CDN_FOLDERCHANGE notification message is sent by an Explorer-style Open or Save As dialog box when a new folder is opened.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
CDN_HELP
The CDN_HELP notification message is sent by an Explorer-style Open or Save As dialog box when the user clicks the Help button.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
CDN_INCLUDEITEM
The CDN_INCLUDEITEM notification message is sent by an Open or Save As dialog box to determine whether the dialog box should display an item in a shell folder's item list. When the user opens a folder, the dialog box sends a CDN_INCLUDEITEM notification for each item in the folder. The dialog box sends this notification only if the OFN_ENABLEINCLUDENOTIFY flag was set when the dialog box was created.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
CDN_INITDONE
The CDN_INITDONE notification message is sent by an Explorer-style Open or Save As dialog box when the system has finished arranging the controls in the dialog box. The system moves the standard controls to make room for the controls of the child dialog box.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
CDN_SELCHANGE
The CDN_SELCHANGE notification message is sent by an Explorer-style Open or Save As dialog box when the selection changes in the list box that displays the contents of the currently opened folder or directory.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
CDN_SHAREVIOLATION
The CDN_SHAREVIOLATION notification message is sent by an Explorer-style Open or Save As dialog box when the user clicks the OK button and a network sharing violation occurs for the selected file.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
CDN_TYPECHANGE
The CDN_TYPECHANGE notification message is sent by an Explorer-style Open or Save As dialog box when the user selects a new file type from the file types combo box.
Your OFNHookProc hook procedure receives this message in the form of a WM_NOTIFY message.
COLOROKSTRING
A Color dialog box sends the COLOROKSTRING registered message to your hook procedure, CCHookProc, when the user selects a color and clicks the OK button. The hook procedure can accept the color and allow the dialog box to close, or reject the color and force the dialog box to remain open.
FILEOKSTRING
An Open or Save As dialog box sends the FILEOKSTRING registered message to your hook procedure, OFNHookProc, when the user specifies a file name and clicks the OK button. The hook procedure can accept the file name and allow the dialog box to close, or reject the file name and force the dialog box to remain open.
FINDMSGSTRING
A Find or Replace dialog box sends the FINDMSGSTRING registered message to the window procedure of its owner window when the user clicks the Find Next, Replace, or Replace All button, or closes the dialog box.
HELPMSGSTRING
A common dialog box sends the HELPMSGSTRING registered message to the window procedure of its owner window when the user clicks the Help button.
LBSELCHSTRING
An Open or Save As dialog box sends the LBSELCHSTRING registered message to your hook procedure when the selection changes in any of the list boxes or combo boxes of the dialog box.
SHAREVISTRING
An Open or Save As dialog box sends the SHAREVISTRING registered message to your hook procedure, OFNHookProc, if a sharing violation occurs for the selected file when the user clicks the OK button.
WM_PSD_ENVSTAMPRECT
The WM_PSD_ENVSTAMPRECT message notifies the hook procedure of a Page Setup dialog box, PagePaintHook, that the dialog box is about to draw the envelope-stamp rectangle of the sample page.
WM_PSD_FULLPAGERECT
The WM_PSD_FULLPAGERECT message informs a PagePaintHook hook procedure of the coordinates of the sample page rectangle in the Page Setup dialog box. The dialog box sends this message when it is about to draw the contents of the sample page.
WM_PSD_GREEKTEXTRECT
The WM_PSD_GREEKTEXTRECT message notifies the hook procedure of a Page Setup dialog box, PagePaintHook, that the dialog box is about to draw Greek text inside the margin rectangle of the sample page.
WM_PSD_MARGINRECT
The WM_PSD_MARGINRECT message notifies the hook procedure of a Page Setup dialog box, PagePaintHook, that the dialog box is about to draw the margin rectangle of the sample page.
WM_PSD_MINMARGINRECT
The WM_PSD_MINMARGINRECT message informs a PagePaintHook hook procedure of the coordinates of the margin rectangle in the sample page. A Page Setup dialog box sends this message when it is about to draw the contents of the sample page.
WM_PSD_PAGESETUPDLG
The WM_PSD_PAGESETUPDLG message notifies a PagePaintHook hook procedure that the Page Setup dialog box is about to draw the contents of the sample page. The hook procedure can use this message to carry out initialization tasks related to drawing the contents of the sample page.
WM_PSD_YAFULLPAGERECT
The WM_PSD_YAFULLPAGERECT message notifies the hook procedure of a Page Setup dialog box, PagePaintHook, that the dialog box is about to draw the return address portion of an envelope sample page.