Home | History | Annotate | Download | only in visupng

Lines Matching refs:ofn

27 static OPENFILENAME ofn;
55 ofn.lStructSize = sizeof (OPENFILENAME);
56 ofn.hwndOwner = hwnd;
57 ofn.hInstance = NULL;
58 ofn.lpstrFilter = szFilter;
59 ofn.lpstrCustomFilter = NULL;
60 ofn.nMaxCustFilter = 0;
61 ofn.nFilterIndex = 0;
62 ofn.lpstrFile = NULL; /* Set in Open and Close functions */
63 ofn.nMaxFile = MAX_PATH;
64 ofn.lpstrFileTitle = NULL; /* Set in Open and Close functions */
65 ofn.nMaxFileTitle = MAX_PATH;
66 ofn.lpstrInitialDir = NULL;
67 ofn.lpstrTitle = NULL;
68 ofn.Flags = 0; /* Set in Open and Close functions */
69 ofn.nFileOffset = 0;
70 ofn.nFileExtension = 0;
71 ofn.lpstrDefExt = TEXT ("png");
72 ofn.lCustData = 0;
73 ofn.lpfnHook = NULL;
74 ofn.lpTemplateName = NULL;
79 ofn.hwndOwner = hwnd;
80 ofn.lpstrFile = pstrFileName;
81 ofn.lpstrFileTitle = pstrTitleName;
82 ofn.Flags = OFN_HIDEREADONLY;
84 return GetOpenFileName (&ofn);
89 ofn.hwndOwner = hwnd;
90 ofn.lpstrFile = pstrFileName;
91 ofn.lpstrFileTitle = pstrTitleName;
92 ofn.Flags = OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT;
94 return GetSaveFileName (&ofn);