Commit Graph

106 Commits

Author SHA1 Message Date
Juergen Schmied e2f4aefb38 - Rewrite of the shell related parts of the dialog to use the already
in shell32implemented functions (ShellFolder/Path*). Eliminated direct
  file access.
- Replaced LoadLibraryA with GetModuleHandleA since comdlg32 is imports
  some dlls per *.spec file
- Most OpenFile Flags (OFN_*) should work properly now
- The edit box should work right with all stuff entered in it like
  ..\temp\file.txt or just c: to change a drive
- Optimized DataObject handling
- Some bugs fixed, should work with native shell32 again.
- Stubs for PrintDlgEx
2000-06-02 19:36:53 +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
Gerard Patel 85f5832bad Remove the direct call into core (DIALOG_DoDialogBox). 2000-05-23 01:22:35 +00:00
Alexandre Julliard 077239414e Jean-Claude Batista
PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
2000-05-11 00:09:29 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Uwe Bonnes 5e65e2dd7a COMDLG32_DllEntryPoint,COMDLG32_SetCommDlgExtendedError: delay
allocation of Tls for CommDlgExtendedError until it is needed.
2000-05-01 14:22:24 +00:00
Patrik Stridvall 95bcd5178a Fixed some warnings. 2000-04-29 14:29:05 +00:00
Guy L. Albertelli 68e0d64d66 - Correct check for minimum buffer length.
- Correct cases where ShowWindow is done/not done.
2000-04-28 20:49:46 +00:00
Eric Pouech 44af98cb36 Fixed winspool(.drv) loading. 2000-04-25 19:57:27 +00:00
Gerard Patel cc6d2f90bc Don't use the template member unless the corresponding flag is set. 2000-04-25 19:53:04 +00:00
Gerard Patel 7324295be8 32 bits message processing for color dialog. 2000-04-24 17:35:11 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard a0d9ffdaa1 Removed a few inter-dll dependencies. 2000-04-23 20:40:23 +00:00
Alexandre Julliard 84eb8334da Added some missing import directives. 2000-04-19 16:54:02 +00:00
Alexandre Julliard ae7ae694b3 Removed winmm from import list. 2000-04-19 16:52:06 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Simen Zamecnik 5f3b1b0c83 Added Slovak language support. 2000-03-08 18:59:20 +00:00
Junichi Kuchinishi 51854be791 Added some Japanese resources. 2000-03-08 18:50:45 +00:00
Alexandre Julliard 82a2b186e7 Added support for creating extra symlinks for .so files that contain
multiple dlls.
2000-03-05 13:08:24 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Hidenori Takeshima 0f36ec47c9 ArrangeCtrlPositions: fix for user-defined template with no stc32. 2000-02-26 19:32:44 +00:00
Alexandre Julliard e1d78899ea Made winmm a separate shared library. 2000-02-26 13:45:34 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Juergen Schmied 52bd50fb85 For unicode: give the selected filename back. 2000-02-25 20:51:33 +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
Alexandre Julliard cf1bcc496b Corel merge:
Pierre Mageau
Don't update the combo box selection when closing the dialog only when
clicking on OK button.  Adjust file dialog size when help button isn't
present.

Don Kelly.
Fixes problems with open dialog box filters.

Ulrich Czekalla
Prevents the help button from displaying on OpenFile dialogs unless
the proper flag is set in the OPENFILENAME struct.

Yuxi Zhang
Fixed memory leak.

Jean-Claude Batista
Add tooltips to the file Dialog toolbar.

Sylvain Bouchard, Bill Jin
Three new functions
EnumSelectedPidls, GetNumSelected, FILEDLG95_OnOpenUsingView: corrections
Instead of passing in a copy of ofn, passing in the pointer of ofn.

David Golding
A "!" was missing in a check against lpstrInitialDir.

Rick Mutzke
Fixed crash: if dialog has no filetypes appearing in the dropdown list.

Matt Robertson, Ulrich Czekalla
Fixed problems occurring with selection of files inside openfiledlg.
2000-02-20 18:54:04 +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
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +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
Juergen Schmied 2577e9df2d Changed import to ordinal. 2000-02-07 17:17:41 +00:00
Alexandre Julliard b2f6f0e7d2 Removed resource.h. 2000-02-03 01:54:36 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +00:00
Francois Gouget f82a723a43 The COM virtual tables must use the
'ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE' macro to provide padding in C++.
2000-01-30 02:55:16 +00:00
Marcus Meissner 9837b598bc Replaced some weird C constructs (char[]="" ) with more compatible ones.
Added another NULL ptr check in _OnOpen.
2000-01-23 22:30:22 +00:00
Marcus Meissner bade58f2d2 Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them. 2000-01-23 22:00:06 +00:00
Alexandre Julliard 74e4a28a34 Built-in DLLs resources are now specified in spec file.
Removed unnecessary flags in built-in DLLs tables.
2000-01-09 04:20:31 +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
Francois Gouget f3ca842678 FILEDLG95_HandleCustomDialogMessages:
- for the three handled messages we must return the required buffer size
- for CDM_GETFILEPATH paths like "dir\file" were handled incorrectly
- fixed multiple potential buffer overflows.
FILEDLG95_OnOpen: fixed a use of strncpy without '\0'.
FILEDLG95_SHELL_NewFolder: the size of lpstrCaption was incorrect
leading to a buffer overflow.
1999-12-26 00:34:23 +00:00
Francois Gouget 7e39c75b42 If lpTitle==NULL and cbBuf==0 then we must return the required buffer
size.
1999-12-20 03:52:29 +00:00
Juergen Schmied 9270a10926 Small fixes. 1999-12-11 23:00:17 +00:00
Alexandre Julliard 2bab80dea4 Pierre Mageau
Murali Pattathe
Francois Boisvert
Francis Baudet
Henning Hoffmann
Many fixes.
1999-12-04 04:03:01 +00:00
Juergen Schmied 2d263ce7f2 - the fodInfos were used before initialized
- lpTemplateName can be a resource id
- if lpTemplateName is a string don't free the original one
1999-11-21 02:20:45 +00:00
Gustavo Junior Alves 0107f35a1b Added Portuguese language support. 1999-11-21 02:10:31 +00:00
Juergen Schmied 1679f2c250 - corrected control positions
- use the icons from comctl32 for the buttons
1999-11-14 21:29:24 +00:00
Juergen Schmied 111f0e35a4 - inserted markers for the bin2res tool
- reformated hexdump in shres.rc
1999-11-13 22:38:24 +00:00