Commit Graph

201 Commits

Author SHA1 Message Date
Robert Shearman 0d9f93ab06 Implemented PSM_HWNDTOINDEX. 2004-07-12 23:48:11 +00:00
Robert Shearman cd2065f170 Add stubs for some new property sheet messages. 2004-07-12 23:30:54 +00:00
Maxime Bellengé d19e264640 Implemented PSH_WIZARD97_OLD and PSH_WIZARD97_NEW property sheet
styles.
2004-05-10 21:26:04 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Juan Lang 9a3647a303 Prevent negative coords for line, turn off redraw when initializing,
document one difference in native/builtin behavior.
2004-03-13 19:24:04 +00:00
Robert Shearman 57cc6f58ba Update common control function documentation. 2004-02-27 04:40:08 +00:00
Matt Chapman c286ca06a0 Fix a reentrancy issue in the property sheet implementation by not
caching a pointer that can change.
2004-02-25 01:24:22 +00:00
Ulrich Czekalla 710bd6fb6a We should forward WM_COMMAND notification to the active page for any
additional non-standard controls in the property sheet frame.
2004-01-27 20:11:05 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Huw Davies e63e39f2c5 PropSheetPageProc callback should always have hwnd = 0. 2003-11-04 04:23:00 +00:00
Huw Davies f94159cdb2 Don't get confused if PSN_SETACTIVE returns a positive number that
isn't a resource id.
2003-11-03 22:15:39 +00:00
Pavel Roskin 5b7f03cf9f Ignore window caption from PROPSHEETHEADER in wizards. Update window
caption when changing pages.
2003-10-02 04:26:53 +00:00
Dimitrie O. Paun 7de279a73a Rename COMCTL32_{Alloc,ReAlloc,Free} to {Alloc,ReAlloc,Free}. 2003-09-22 21:32:33 +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
Mike McCormack ec0d425278 Set defaults for the Next/Prev button. 2003-07-21 20:01:59 +00:00
Mike McCormack fc86392af8 Preserve A/W when creating propsheet dialogs. 2003-07-09 02:49:52 +00:00
Francois Gouget 9591836ffb 'sizeof type' is best avoided as it won't always compile (e.g. 'int
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Adam Gundy 1af319d9e2 PROPSHEET_CreateDialog() is documented to return -1 on failure, and
the dialog handle on success.
2003-03-07 20:29:58 +00:00
Eric Pouech a89063e3dc Added handling for PSNRET_INVALID in PSN_APPLY notification. 2003-02-24 20:40:45 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Dan Kegel 0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +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
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