Home | History | Annotate | Download | only in visupng

Lines Matching defs:ofn

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