Compartir a través de


OFNOTIFY (Compact 2013)

3/28/2014

This structure contains information about the WM_NOTIFY 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.

Syntax

typedef struct _OFNOTIFY { 
  NMHDR hdr; 
  LPOPENFILENAME lpOFN; 
  LPTSTR pszFile; 
} OFNOTIFY, FAR* LPOFNOTIFY; 

Members

  • hdr
    NMHDR structure. The code member of the NMHDR structure is the message code indicating the CDN_TYPECHANGE message is sent.
  • lpOFN
    Long pointer to the OPENFILENAME structure that was specified when the Open or SaveAs dialog box was created. For some of the messages, this structure contains additional information about the event that caused the notification.
  • pszFile
    Pointer to the null-terminated string that contains the file name for which a network sharing violation has occurred. This member is valid only with the CDN_SHAREVIOLATION message.

Requirements

Header

commdlg.h

See Also

Reference

Common Dialog Boxes Structures
CDN_TYPECHANGE
NMHDR
OPENFILENAME