Commit Graph

80 Commits

Author SHA1 Message Date
Wolfgang Schwotzer 4b2a99b4d4 Support lpstrCustomFilter and return nFilterIndex in file dialog. 2004-05-12 00:12:04 +00:00
Wolfgang Schwotzer bce73e4242 Update OFN_READONLY flag when closing file dialog. 2004-05-05 23:49:39 +00:00
Wolfgang Schwotzer 2f0a4ac46d Make file dialog support FNERR_BUFFERTOSMALL if buffer too small. 2004-05-03 20:09:09 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Huw Davies 01fbcfb2f1 Add back win16 style dialogs for win32 apps. 2004-04-12 22:03:55 +00:00
Rein Klazes a56d40f490 Fix a possible null pointer crash in FILEDLG95_LOOKIN_Init. 2004-03-20 19:22:17 +00:00
Huw Davies 89ef25e218 Use the BTNS_* toolbar button style defines rather than the outdated
TBSTYLE_*.
2004-02-09 21:01:10 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Huw Davies 8e9e8922f1 Directly use the hook proc for the custom template dialog rather than
calling it through another dlgproc.
Deliver the old style file_ok message with SendMessage, this allows
the dialog to be subclassed (as ATL/WTL does).
Only deliver this message if the app didn't reject the WM_NOTIFY
message.
2004-01-19 21:51:29 +00:00
Rein Klazes be4aff376b Handle the cases when initdir is either invalid, or specifies a file. 2004-01-12 22:12:58 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Phil Krylov 930b7da626 Implemented OFN_OVERWRITEPROMPT and OFN_EXTENSIONDIFFERENT flags.
Changed IDL_OVERWRITEFILE string resource ID to IDS_OVERWRITEFILE.
Use the extended UI for the "Look In" combo.
Select the text in the "File name" field after filling it.
2004-01-02 01:47:52 +00:00
Steven Edwards c3c0c56c78 - Split Win16/32 file dialogs.
- Remove support for Win16 style'd Win32 dialogs.
2003-10-16 00:16:40 +00:00
Alexandre Julliard cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Steven Edwards 1d05524919 More splitting of the Win16/32 internal filedlgproc window procedures
and dialog init.
Make a few internal function static and share a few others.
2003-06-24 19:24:29 +00:00
Steven Edwards 6056159a5e Split Win16/32 file dialogs. 2003-06-16 01:19:16 +00:00
Huw Davies e3924140ca Better handling of OFN_NOVALIDATE for win31 style file dialogs. 2003-05-13 22:06:34 +00:00
Alexandre Julliard e3d681ba0a Get rid of the COMMDLG_hInstance variables. 2003-04-29 22:52:02 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Andrew John Hughes d83d2d26f6 Make commdlg compile with -DSTRICT. 2002-11-21 23:55:10 +00:00
Matthew Davison eb53c02579 Fixed some handle conversions for -DSTRICT. 2002-11-01 01:50:06 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Carlos cfc4082b03 Avoid crashes when ofnW->lpstrFile is null. 2002-10-13 17:52:32 +00:00
Michael Stefaniuc bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Michael Stefaniuc 9d2b862883 Convert HRSRC to a void*. 2002-09-16 22:47:05 +00:00
Michael Stefaniuc e149b37f3a Finish the conversion of HWND to a void*. 2002-09-06 20:40:42 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Bill Medland aac0dd7a62 Fix the Win31 style file dialog box.
- If there is no filter don't put a blank one in; it doesn't
  work (leave it NULL).
- Correctly figure out which is the current drive in the combo box.
- Add FIXME for the variable "initial dir" handling.
2002-05-08 23:15:38 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall 6076729649 Documentation ordinal fixes. 2001-06-19 03:34:07 +00:00
Francois Gouget ee285b7ac8 Remove unnecessary single quoting of debugstr_xxx strings. 2001-05-11 20:03:40 +00:00
Francois Gouget e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Gerard Patel 726c63b945 Initialize the return error code to 0 for common dialog file
functions.
2001-03-03 00:18:14 +00:00
Jon Griffiths 7a6bad8f10 - Fix a typo in TBSAVEPARAMS A/W declaration.
- Use 16 bit Unicode constants for wc strings.
- Make some string constants available as Unicode.
2001-01-22 02:13:58 +00:00
Alexandre Julliard e052744e61 Fixed the size of the file dialog icons. 2001-01-21 21:11:28 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00
Andreas Mohr fb976acdd2 Return 8.3 file names.
Fixed sizeof(WCHAR) bugs.
2001-01-02 20:50:34 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard bf67259a41 Use the DRIVE_* API constants instead of the DRIVETYPE enum.
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
Alexandre Julliard a8d1a7c52b Finished separation of comclt32 and comdlg32. 2000-11-30 19:07:09 +00:00
Gerard Patel b5eefcd134 Fixed returned length of files. 2000-11-29 19:01:07 +00:00
Alexandre Julliard 49556bcbf5 Cleaned up some more dependencies on Wine internal functions. 2000-11-29 18:38:24 +00:00
Alexandre Julliard 24a62ab9b0 Got rid of the Wine internal lstrcpy* functions and of winestring.h. 2000-11-28 22:40:56 +00:00
Alexandre Julliard ac7efef3b5 Changed GetProcAddress16 and 16-bit resource functions to take normal
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00