Commit Graph

95 Commits

Author SHA1 Message Date
Mike McCormack 0bb73f53d5 Fill the filedialog95 controls before sending a CDN_INITDONE
notification.
2003-05-11 02:39:08 +00:00
Alexandre Julliard e3d681ba0a Get rid of the COMMDLG_hInstance variables. 2003-04-29 22:52:02 +00:00
Andreas Mohr 114b667f41 Some spelling and formatting fixes. 2003-04-02 01:23:43 +00:00
Maxime Bellengé 473a88661e Fix the lookin combobox overlapping the toolbar in open/save file
dialog.
2003-03-26 23:36:25 +00:00
Maxime Bellengé c342de17b8 Fix how the size of the dialog is computed and the child component
placed.
In case the help button and the readonly check box are hidden, perform
the resizing before calling the hook procedure.
2003-03-25 00:34:29 +00:00
Adam Gundy 3ff6a487d6 ArrangeCtrlPositions() did not cope correctly with a templated dialog
which has an extra 'preview' control to the right of the 'marker'
control.
FILEDLG95_Handle_GetFilePath() did not return the path - it wasn't
combining the path with the filename.
2003-03-07 20:29:31 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alberto Massari ca70e84f7f Moved implementation of strpbrkW from filedlg95.c to wine/unicode.h. 2003-01-02 19:25:44 +00:00
Patrik Stridvall 75dee506ae Replace 0x%p with %p. 2002-12-05 19:56:15 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Andrew John Hughes d83d2d26f6 Make commdlg compile with -DSTRICT. 2002-11-21 23:55:10 +00:00
Mike McCormack a021db7190 Send a CDN_FILEOK in FILEDLG95_OnOpenMultipleFiles.
Restructure the handling of Custom dialog notifications.
2002-11-13 21:21:41 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Alexandre Julliard cc3a74d949 Authors: Josef Meixner <Josef.Meixner@t-online.de>, Huw Davies <huw@codeweavers.com>
- Initializing the return-string shouldn't change the pointer.
- Added "FIXME" for case not handled.
- Directory and the filenames have to be separated by "\0".
- Added check to handle possible signed/unsigned overflow.
2002-09-17 18:33:55 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Mike McCormack 9e4c409b7c - Do not modify pointers in the OPENFILENAME structure passed to
GetFileDialog95A/W.
- Use Unicode as default for strings from the OPENFILENAME structures.
- Fill out the OPENFILENAME structure before sending the FILEOK
  notification.
- Send a CDN_FOLDERCHANGE notification on OPENFILENAME dialog init.
- Fix miscalculation of the size of Explorer style file dialog boxes
  with templates.
- Remove redundant MapHModuleLS and MapHModuleSL calls that also cause
  hInstance to be trashed when it holds a template pointer instead of a
  real hInstance (when OFN_ENABLETEMPLATEPOINTER is specified).
2002-08-16 23:26:22 +00:00
Juergen Schmied c38342a97b Fixed a memory leak and a wrong memory free call. 2002-07-16 01:18:35 +00:00
Gregg Mattinson bac71315d2 Removed non-static structure initializers. 2002-07-03 21:06:58 +00:00
Juergen Schmied 23b808791e - changed STRRET definition
- small changes for seperation of shell32 from ole32
- debughelper for printing interface names (shell internal)
- changed shell memory allocation to use IMalloc of ole32 when this
  library is already loaded
- fallback IMalloc internally in shell
- unified constructor syntax for several objects  created by DllGetClassObject
- rewrote instance creation for com objects
- made the desktop folder parsing paths like ::{CLSID}
- Implemented IPersistFolder3 partially
2002-07-02 02:05:17 +00:00
Jason Edmeades 07e2634753 Fixed crash in open file dialog on non-windows 98 emulation when
lpszInitialDir is null.
2002-06-25 02:55:53 +00:00
Sander van Leeuwen 4911d0bf3b - Save and restore current directory in GetFileDialog95W if
OFN_NOCHANGEDIR flag set.
- GetFileDialog95W: only convert ofn->lpTemplateName if it's a string
  resource id (fixes OpenOffice 1.0 file open dialog crash).
- Ignore OFN_FILEMUSTEXIST flag for save file dialog (fixes save
  dialog in ElstarFormular).
- Rewrote casts that some compilers don't accept.
2002-06-10 02:31:11 +00:00
Jason Edmeades 235d82ee44 nitialDir handling and InitialFile handling now agrees with MSDN
description, and testing on win2000 appears to agree.
ilename field not cleared when directory selected/clicked on.
OFN_NOVALIDATE field no longer causes traps, and appears to behave as
per w2k.
2002-06-04 21:23:12 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Steven Edwards fb2a70463e Fixed snprintf warnings. 2002-05-16 18:31:27 +00:00
Patrik Stridvall fc2be7edcc Fixed some issues found by winapi_check. 2002-04-29 18:48:56 +00:00
Mehmet Yasar da2b2d6714 Now, we are really erasing WS_CAPTION style. 2002-04-19 00:02:21 +00:00
Mehmet Yasar 70e8fce405 - Clear WS_CAPTION style.
- Send now CDN_FILEOK before FILEOKSTRING.
- Fix bug related to DWL_MSGRESUL (we were reading from wrong hwnd).
2002-04-14 19:33:18 +00:00
Mehmet Yasar 2dbf9ea34c Fix default extension behavior with GetOpenFileName. 2002-03-26 19:47:40 +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
Charles Loep 2b74e91df5 Fixed file extension problem in the file dialog. 2002-01-29 16:58:39 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Gerard Patel 2351eabd56 Initialize dialog data correctly in CreateTemplateDialog. 2001-12-04 19:39:33 +00:00
Gerard Patel 0a5ab16aee Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem. 2001-08-18 16:07:06 +00:00
Andreas Mohr 0ab0704822 Only add "." separator in case a default file name extension does
exist.
2001-08-03 18:11:49 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Gerard Patel f6eded1124 Set the custom dialog box to the bottom of the Z-order. 2001-04-13 22:23:05 +00:00
Gerard Patel a9c889055b Handle empty strings and invalid values in lpstrInitialDir for 32 bits
open file dialogs.
2001-03-10 19:13:59 +00:00
Chris Morgan 1b77327515 Put a '\n' at the end of the FIXME to prevent very odd and difficult
to debug crashes due to overflowing of the debug info's output buffer.
2001-01-28 23:09:11 +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 556d8b5ecb Replaced some GetProcAddress() imports by the standard dll import
mechanism.
2001-01-17 22:05:24 +00:00
Gerard Patel 08e7086189 Change the current directory as the user browses the directory tree. 2000-12-18 03:12:06 +00:00
Alexandre Julliard db0747d095 Removed some unnecessary includes.
Got rid of ldt.h.
2000-12-13 20:23:41 +00:00
Ian Pilcher d7aea962dc Changed FILEDLG95_OnOpen to "double terminate" the returned string if
OFN_ALLOWMULTISELECT is set.
2000-12-13 01:46:26 +00:00
Gerard Patel 6bbf46a964 Fileokstring notification should be sent to the custom child dialog,
not to the main dialog.
2000-12-07 23:54:19 +00:00
Uwe Bonnes 695421d09a FileOpenDlgProc95: notify application of changed selection after
filling template.
2000-12-02 23:43:10 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +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 2682bc24ca Fixed a few dependencies on 16-bit or internal functions. Fixed a few
warnings.
2000-11-27 22:03:23 +00:00