/[winpt]/trunk/Src/wptW32API.cpp
ViewVC logotype

Diff of /trunk/Src/wptW32API.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 24 by twoaday, Sat Oct 8 10:43:08 2005 UTC revision 25 by twoaday, Wed Oct 12 10:04:26 2005 UTC
# Line 71  set_menu_state (HMENU menu, int m_uid, i Line 71  set_menu_state (HMENU menu, int m_uid, i
71  } /* set_menu_state */  } /* set_menu_state */
72    
73    
74    
75  /* Use the common dialog to request a file from the user.  /* Use the common dialog to request a file from the user.
76     id can be either FILE_OPEN or FILE_SAVE.     id can be either FILE_OPEN or FILE_SAVE.
77     The return value is the file name or NULL if cancel was chosen. */     The return value is the file name or NULL if cancel was chosen. */
# Line 108  get_filename_dlg (HWND hwnd, int id, con Line 109  get_filename_dlg (HWND hwnd, int id, con
109      return NULL;      return NULL;
110  }  }
111    
112    const char*
113    get_filesave_dlg (HWND hwnd, const char *title,
114                      const char *filter, const char *name)
115    {
116        return get_filename_dlg (hwnd, FILE_SAVE, title, filter, name);
117    }
118    
119    const char *
120    get_fileopen_dlg (HWND hwnd, const char *title, const char *filter,
121                      const char *name)
122    {
123        return get_filename_dlg (hwnd, FILE_OPEN, title, filter, name);
124    }
125    
126    
127  /* Use the common dialog to allow the user to select a folder.  /* Use the common dialog to allow the user to select a folder.
128     The return value is either the folder path or NULL if cancel was chosen. */     The return value is either the folder path or NULL if cancel was chosen. */
129  const char*  const char*

Legend:
Removed from v.24  
changed lines
  Added in v.25

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26