Commit Graph

129 Commits

Author SHA1 Message Date
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Lionel Ulmer 5e36ae56b2 Check the value of the pfnCallback in addition to the callback bit. 2003-01-03 03:06:42 +00:00
Rolf Kalbermatter 6c79930413 Add config.h/port.h to allow compilation/linking in MSVC.
Fix some unsigned/signed warnings.
2002-12-16 22:43:58 +00:00
Francois Gouget 3db0008552 Define PSH_WIZARD97 (problem reported by jaymz@free.fr). 2002-12-06 23:19:54 +00:00
Andreas Mohr 1e6258fca5 Added the missing cx member to the MyDLGITEMTEMPLATEEX struct. 2002-11-25 02:45:19 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Michael Stefaniuc 353529b2c8 - fix the "int format, HANDLE arg" type of warnings for comctl32
- compile the comctl32 dll with -DSTRICT
2002-10-23 22:19:10 +00:00
Michael Stefaniuc f3d1893f80 Add needed casts for a "no warnings" compile of comctl32. 2002-10-23 20:19:22 +00:00
Uwe Bonnes e14cfc497a Add function to get size of in-memory resource and used this function
to copy resource to writable memory.
2002-10-13 17:54:48 +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 025c0b716b Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00
Andriy Palamarchuk a6affaa014 Implemented processing of PSM_SETCURSELID message. 2002-08-26 21:47:06 +00:00
Patrik Stridvall 4325554aef Fixed some issues found by winapi_check. 2002-08-09 01:07:29 +00:00
Guy L. Albertelli 176f5cf62c Add TCM_SETCURSEL when setting page current. 2002-06-28 17:31:57 +00:00
Guy L. Albertelli 6c7769e488 Support images on the tabs of pages that are added (not just the
first).
2002-06-14 23:26:37 +00:00
Guy L. Albertelli f9731a4ee7 - Correct page rectangle calculation.
- Improve traces.
2002-06-13 19:10:28 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Maciek Kaliszewski 2ad82e119e Fixed memory allocation bug in PROPSHEET_CollectPageInfo. 2002-05-28 22:41:19 +00:00
Sander van Leeuwen d919c27a97 - Center property sheet page during creation (padding)
(some applications rely on this behaviour when resizing the page)
- Mask away WS_THICKFRAME page style
- Page navigation by resource id (by unknown author)
2002-05-14 18:38:07 +00:00
Guy L. Albertelli 7f9baba139 Fixed issues with Unicode conversion. Certain strings were not
converted, but then processed as converted.
2002-05-14 03:48:48 +00:00
Dimitrie O. Paun 00df897119 Fix two compilation warnings. 2002-04-02 19:16:08 +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
Alexandre Julliard d328085efa Authors: Guy Albertelli <guy@codeweavers.com>, Mike McCormack <mike_mccormack@start.com.au>
Property sheet Unicodification.
Support additional wizard flags.
2002-01-29 17:14:53 +00:00
Lawson Whitney a77f8d374c If there is no psInfo, it doesn't need to be cleaned up. 2001-12-19 18:46:49 +00:00
Andreas Mohr c457fbdde6 Fixed tab control index handling. 2001-08-06 17:51:09 +00:00
Marcus Meissner 40734af751 Be a bit more graceful on NULL property sheet titles. 2001-07-26 20:07:53 +00:00
Alexandre Julliard 5f728cae70 Removed HEAP_strdupA. 2001-07-24 21:45:22 +00:00
Patrik Stridvall 6076729649 Documentation ordinal fixes. 2001-06-19 03:34:07 +00:00
Marcus Meissner decd475621 Implemented page skipping on PSN_SETACTIVE -1 return. 2001-06-06 21:03:21 +00:00
Andreas Mohr 9f05b8229f Check PROPSHEETPAGEA.pfnCallback for NULL pointer if PSP_USECALLBACK
is given.
2001-02-12 18:08:31 +00:00
François Gouget 16baace694 Only copy the dwSize bytes really occupied by lpPropSheetPage. 2001-01-10 22:42:58 +00:00
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Alexandre Julliard 49556bcbf5 Cleaned up some more dependencies on Wine internal functions. 2000-11-29 18:38:24 +00:00
Dimitrie O. Paun 529da54394 Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ; 2000-11-27 23:54:25 +00:00
Dmitry Timoshkov 99653905ec Make a copy of the dialog resource before correcting styles. 2000-11-09 20:25:27 +00:00
Peter Hunnisett 565b00857e - Added some missing WINELIB_NAME_AW definitions, types and messages
- Small prototype fixes
2000-09-19 02:43:00 +00:00
Andreas Mohr d511177390 "Fixed" horribly misaligned pages in property sheets of apparently
newer InstallShields.
2000-08-26 20:28:02 +00:00
Gerard Patel f314e5e76b Disable the owner of a modal dialog box just before creating the
dialog window.
2000-08-21 03:31:39 +00:00
Slava Monich 5b0ace1c24 On Windows property sheet has DWL_USER dword pointing to a structure
that starts with HWND and PROPSHEETHEADER fields.
2000-07-08 12:48:13 +00:00
Noomen Hamza 6ce34254d0 The active page should be unchanged when removing an active first page
from a property sheets.
2000-06-07 02:01:28 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Jim Aston fd018cc9da This reverts Matts patch. The messaging needs double checking. 2000-02-26 18:28:38 +00:00
Serge Ivanov c0b824d7de In Windows, if PropertySheet can't create some page it just skips it. This
patch adds similar behaviour to Wine. It also adds some NULL checks.

<yuxi@corel.com>
Fix property sheet initialization bugs.

Matthew Robertson
The template was calling GetActiveIndex which was not being set in the
propsheet code, and the call was moved before we call SetActive -
because that's where we query for the Active Index.

Noomen Hamza
Resize property sheet to the largest dialog size.

Don Kelly
In the WM_INITDIALOG handler for the prop sheet, there is a call to
PROPSHEET_IsTooSmall() which, if it returns TRUE, calls
PROPSHEET_AdjustSize().  Contrary to its comment, .._AdjustSize() actually
aligns the sizes of the "largest" prop. sheet dialog template and the tab
control.  The IsTooSmall() call doesn't properly catch this mismatch.
Modified the function to return TRUE if the sizes mismatch and renamed it to
PROPSHEET_SizeMismatch() to reflect its proper use.
2000-02-25 20:49:49 +00:00
Alexandre Julliard 08afc1a5ed Serge Ivanov
Pierre Mageau
Thy Nguyen
Don Kelly
Noomen Hamza
Lots of bug fixes and new features in property sheets.
1999-11-28 21:01:47 +00:00
Adrian Thurston 7d487c914f Added validations for page index before using it. 1999-11-13 20:49:12 +00:00
Eric Pouech e72a9b65c7 Fixed SetTitleA when string resources were to be loaded. 1999-11-07 05:28:32 +00:00
Thuy Nguyen ac514e1ad0 PSM_ADDPAGE returns TRUE or FALSE. 1999-10-31 18:29:47 +00:00
Thuy Nguyen a7de24baa0 Fill in the hwndFrom field of the NMHDR structure when sending
notifications.
1999-10-31 17:33:50 +00:00
Thuy Nguyen 709b083824 Wizard mode property sheets have a tab control. 1999-10-31 02:24:29 +00:00
Pierre Mageau 86c507d606 Do not send two PSN_KILLACTIVE messages. 1999-10-31 01:40:28 +00:00
Ulrich Czekalla 6966c65b87 PropertySheet didn't destroy page dialog's window while removing page. 1999-10-23 23:59:47 +00:00
Adrian Thurston a0240cad52 Proper resource support for dialog title. 1999-10-23 18:59:01 +00:00
Ulrich Czekalla d8eb8c54b1 - adds calling application defined callback function once PropertSheet
Dialogbox has been initialized just after creating the tab control
- handle the case when pszCaption specifies a resource instead of a string
1999-10-23 16:57:28 +00:00
Pierre Mageau 89ab9f08ab When an error occurred in a property sheet because of invalid data,
clicking on another tab, would activate the new tab but keep the
original property sheet.
1999-10-13 15:54:08 +00:00
Marcus Meissner 3cdb3f2984 Check for NULL ptr in Propsheet_RemovePage (Xing DVD Player). 1999-10-13 12:31:52 +00:00
Thuy Nguyen bf35d809d4 Added support for wizard property sheets. 1999-09-19 12:14:38 +00:00
Thuy Nguyen 143fc51455 Give applications a copy of the property sheet dialog template as they
might modify it.
1999-09-04 11:09:20 +00:00
Thuy Nguyen 43faed996a Implemented the PSH_USEICONID/PSH_USEHICON and the PSP_USETITLE
flags.
1999-08-18 18:25:46 +00:00
Thuy Nguyen 85411af6ae Added support for icons in property sheet tabs. 1999-08-14 15:51:10 +00:00
Thuy Nguyen 4083d9ab2f Fixed notifications. 1999-07-24 10:16:53 +00:00
Gerard Patel b3f4bc87ac Reset disabled style for the dialog boxes set on property pages. 1999-07-20 14:56:08 +00:00
Marcus Meissner 623c0d6f94 some small include fixes, some checks for NULL ptrs,
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +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
Eric Kohl 654ee2c132 Toolbar customization dialog (take one). 1999-05-22 10:52:31 +00:00
Marcus Meissner 4a3b0e3080 Fixed warning. 1999-05-08 18:28:13 +00:00
Marcus Meissner 3f284324a2 Pass PROPSHEETPAGE to propertypage dialog as lParam. 1999-05-08 15:38:57 +00:00
Thuy Nguyen 93c68a7ed6 Added support for adding and removing pages dynamically from a
property sheet.
1999-05-01 10:27:05 +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
Thuy Nguyen 44bd9f06e4 First patch implementing property sheets. 1999-04-22 09:24:47 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Marcus Meissner 3480e4a596 Removed no longer necessary win.h include, added now necessary other
includes (win.h used only by UPDOWN now).
1999-03-16 10:53:11 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Alexandre Julliard 066644485f Authors: Adrian Thurston <adriant@corel.ca>, Zygo Blaxell <zblaxell@corel.ca>
Move property sheets from commctrl.h into into prsht.h.
1999-02-11 16:22:12 +00:00
James Juran c2a1063940 Commented out unused variables to prevent needless compiler warnings. 1999-01-28 16:33:44 +00:00
Marcus Meissner 03479f8adb Fixed a lot of warnings for possible problems. 1999-01-28 10:06:38 +00:00
Eric Kohl d68d50142f Fixed several bugs and typos. 1999-01-24 19:14:58 +00:00
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00