OFNOTIFY  71WX3G 

[New - Windows NT]

The OFNOTIFY structure contains information about the WM_NOTIFY1MZT7BR message sent to a hook procedure from an Explorer-style Open or Save As dialog box. The address of the OFNOTIFY structure is passed as the lParam parameter of the WM_NOTIFY message.

typedef struct _OFNOTIFY {   // on

    NMHDR          hdr;

    LPOPENFILENAME lpOFN;

    LPTSTR         pszFile;

} OFNOTIFY, FAR *LPOFNOTIFY;

 

Members

hdr

Specifies an NMHDR99J.0 structure. The code member of the NMHDR structure can be one of the following notification codes that identify the message being sent: CDN_FILEOKYH4I0E, CDN_FOLDERCHANGEZ5VMRE, CDN_HELP9CK.HE, CDN_INITDONEY51ILY, CDN_SELCHANGE_VD89K, CDN_SHAREVIOLATIONJNZA8F, CDN_TYPECHANGEF_U.AX.

lpOFN

Pointer to the OPENFILENAME structure that was specified when the Open or Save As dialog box was created. For some of the notification messages, this structure contains additional information about the event that caused the notification.

pszFile

Pointer to the filename for which a network sharing violation has occurred. This member is valid only with the CDN_SHAREVIOLATION notification message.

 

See Also

CDN_FILEOK, CDN_FOLDERCHANGE, CDN_HELP, CDN_INITDONE, CDN_SELCHANGE, CDN_SHAREVIOLATION, CDN_TYPECHANGE, NMHDR, OPENFILENAME