Commit Graph

122 Commits

Author SHA1 Message Date
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
Gerard Patel 69036e9985 Fixed bug when changing drives in 16 bit style dialog for a 32 bit app
+ miscellaneous fixes.
2000-10-22 23:46:21 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Gerard Patel 7a50e6bb26 Avoids changing 2 levels when clicking .. in the directory list. 2000-08-18 23:03:44 +00:00
Gerard Patel c987767760 Fix return value to 16 bits for 16 bit hook; remove leading space for
file specification.
2000-08-14 20:53:21 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Gerard Patel d8cb43c78e Changed the win31 style file dialog to 32 bits structures and
messages.
2000-08-01 23:33:37 +00:00
Huw D M Davies b40a9b7f1d Add PrintSetup dialog and support for hooks and templates.
Move 16 bit api definitions out of commdlg.h to cdlg.h
2000-05-26 22:26:06 +00:00
Juergen Schmied 4dc586108e Fixed handling of filedlg flags. 2000-02-25 20:36:42 +00:00
Gerard Patel ec7d7fa380 Avoid too much refreshing when changing the drive in the 16 bits file
dialog.
2000-02-20 19:15:01 +00:00
Juergen Schmied 2972b40048 - activated use of templates
- moved the creating of new folders to the shellview
2000-02-20 18:50:18 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Marcus Meissner 6e8fe72edf The new filedialog stuff does not handle template. So do not call if
there are any.
2000-01-08 22:23:12 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Uwe Bonnes 8f16613b2d Use Get|SetPropA to store lParam to retrieve the OPENFILENAME16 for a
hWnd.
1999-10-13 13:51:57 +00:00
Francois Boisvert 87b81de0bc Implemented the Win95 file open/save dialogs. 1999-07-27 16:20:36 +00:00
Ulrich Weigand 8dbffe70fb Removed MODULE_GetWndProcEntry16().
Use 32-bit window procedures in COMMDLG instead.
1999-07-24 10:27:58 +00:00
Eric Pouech 31f6bdfadf Fixed GetOpenFileName when called with both OFN_ALLOWMULTISELECT and
OFN_EXPLORER bits set.
1999-06-22 19:02:52 +00:00
Alexandre Julliard a099a555c3 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-06-12 15:45:58 +00:00
Paul Quinn aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Marcus Meissner ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Marcus Meissner d7c565f5de Replaced WIN_GetWindowInstance by GetWindowLongA(GWL_HINSTANCE),
removed unnecessary win.h includes, added syslevel.h to queue.c.
1999-05-14 18:39:37 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Pavel Roskin 8b221d140b Replaced 0xC000 by symbolic constants. 1999-04-01 10:13:04 +00:00
Klaas van Gend 3c6253bb3e - Reimplementation of the CommDlg ExtendedError mechanism using TLS.
- Some header inclusion cleanup.
1999-03-15 15:16:54 +00:00
Pavel Roskin cb327212c4 File open dialog now uses icons instead of bitmaps. 1999-03-13 18:10:43 +00:00
Bertho Stultiens 9bdf34b338 Moved error codes to cderr.h. 1999-03-13 17:07:56 +00:00
Norman Stevens e16512ba82 Don't copy lpstrFileTitle if given NULL pointer for this.
Delphi 2.0 passes NULL for lpstrFileTitle to GetOpen/SaveFileName.
1999-03-09 17:34:30 +00:00
Klaas van Gend c912749be5 Create a new subdirectory for the common dialog box DLL and move all
code from /misc/commdlg.c to this directory.  Also made a start in
documenting the API calls.
1999-02-28 20:05:11 +00:00