Commit Graph

37 Commits

Author SHA1 Message Date
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