![]() If the OFN_EXPLORER flag is not set, the system uses the template to create an old-style dialog box that replaces the default dialog box. If the OFN_EXPLORER flag is set, the system uses the specified template to create a dialog box that is a child of the default Explorer-style dialog box. If neither flag is set, this member is ignored. If the OFN_ENABLETEMPLATE flag is set, hInstance identifies a module that contains a dialog box template named by the lpTemplateName member. If the OFN_ENABLETEMPLATEHANDLE flag is set in the Flags member, hInstance is the handle of a memory object containing a dialog box template. This member can be any valid window handle, or it can be NULL if the dialog box has no owner. Identifies the window that owns the dialog box. Specifies the length, in bytes, of the structure. After the user closes the dialog box, the system returns information about the user's selection in this structure. The OPENFILENAME structure contains information that the GetOpenFileName and GetSaveFileName functions use to initialize an Open or Save As common dialog box.
0 Comments
Leave a Reply. |