Commit Graph

192 Commits

Author SHA1 Message Date
Vitaliy Margolen c80fdb881a comctl32: Use style to distinguish between embedded and standalone propsheets.
Some programs alter propsheet style in the callback during creation to make
"embedded" propsheets. PSH_MODELESS controls modal/modeless operation only.
2009-02-09 13:21:34 +01:00
Vitaliy Margolen edbea606f9 comctl32: Fix propsheet size calculation. 2009-02-02 15:21:45 +01:00
Michael Stefaniuc 62e17fa8c4 comctl32: Do not cast zero. 2008-11-04 11:26:22 +01:00
Michael Stefaniuc b12fbe1630 comctl32: HANDLE/HGLOBAL are basically just void pointers. No casts to other pointers are needed. 2008-10-29 11:52:22 +01:00
Michael Stefaniuc 6060ca9438 comctl32: LockResource() returns a LPVOID so don't cast its return value. 2008-10-24 14:24:59 +02:00
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Vincent Povirk 2893294f4b comctl32: Disable owner of modal property sheets before creating the dialog. 2008-07-09 12:40:08 +02:00
Andrew Talbot 369d414d59 comctl32: Remove unused variables. 2008-04-14 12:42:36 +02:00
Rob Shearman 45f13cefc4 comctl32: Fix local variable shadowing in load_string by moving len to the block in which it is actually used. 2008-02-25 12:02:15 +01:00
Rob Shearman fd291ed3d8 comctl32: Fix the character count passed into LoadStringW from propsheet functions. 2008-02-16 13:52:21 +01:00
Lei Zhang 3980401231 comctl32: Use wine_dbgstr_rect() in traces. 2008-02-07 11:59:53 +01:00
Austin English c2a7914d1c comctl32: Spelling fixes. 2008-01-24 11:43:02 +01:00
Andrew Talbot 863ffb719b comctl32: Remove unneeded casts. 2008-01-02 12:38:41 +01:00
Detlef Riekenberg efb13b28df Assorted spelling fixes. 2007-12-08 19:55:39 +01:00
Gregor Brunmar 490e0029ea comctl32: Disable propsheet apply button at start up. 2007-12-07 19:01:40 +01:00
Andrew Talbot 1bf787d521 comctl32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Aric Stewart 7d947c16cb propsheet: Do not change idea of size when new pages are added. 2007-09-14 14:23:29 +02:00
Lei Zhang e3b80a0d88 comctl32: Determine if PSH_PROPSHEETPAGE is set once. 2007-06-26 12:12:36 +02:00
Lei Zhang f4dd14abc6 comctl32: Reduce duplicate code between PROPSHEET_CollectSheetInfoA/W. 2007-06-26 12:12:25 +02:00
Lei Zhang 0cbee494b3 comctl32: Reduce duplicate code between PropertySheetA/W. 2007-06-26 12:12:12 +02:00
Lei Zhang ebb460c3c0 comctl32: Make modal property sheets modal. 2007-06-15 13:24:13 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Aric Stewart 5688ffb7ab comctl32: Propsheet exception fix.
Do not attempt to draw a page during WM_PAINT if there is no active page.
2007-04-04 16:16:53 +02:00
Aric Stewart 2a8463b558 comctl32: Unset active page while setting a new active page for a propsheet.
Before calling the PSN_SETACTIVE in PROPSHEET_SetCurSel set the
active_page to -1. This prevents crashes and corruption of the
property sheet if the application makes any modifications during the
PSN_SETACTIVE.
2007-04-02 12:09:19 +02:00
Andrew Talbot abf4d3b8cd comctl32: Constify some variables. 2007-04-02 11:37:03 +02:00
Michael Stefaniuc 22ecd7aa67 comctl32: Remove redundant NULL checks before Free() (found by Smatch). 2007-03-08 11:58:04 +01:00
Felix Nawothnig 8784d47cba comctl32: Remove redundant NULL checks before Free() calls. 2007-02-14 12:22:39 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Detlef Riekenberg e089659af1 comctl32: Do not crash when the startpage is invalid. 2006-12-01 13:12:00 +01:00
Andrew Talbot 63246a5396 comctl32: Cast-qual warnings fix. 2006-11-29 12:36:47 +01:00
Huw Davies a6e2fe5ae3 comctl32: Set the result to IDOK on 'Finish'. 2006-11-21 12:13:58 +01:00
Huw Davies c18af414e5 comctl32: Implement PSM_GETRESULT. 2006-11-02 21:00:55 +01:00
Huw Davies 6d0b86a92b comctl32: Fix return value of PropertySheet() for modal propsheets. 2006-11-02 21:00:51 +01:00
Michael Ploujnikov 1c16d83379 comctl32: Win64 printf format warning fixes. 2006-10-14 20:17:06 +02:00
James Hawkins cd073a66a5 comctl32: Make internal functions static. 2006-10-12 11:35:05 +02:00
Andrew Talbot cc90540c9b comctl32: Cast-qual warnings fix. 2006-09-07 10:16:34 +02:00
Huw Davies 650c9c42de comctl32: Limit the width of the watermark to 164 pixels. 2006-08-01 18:41:59 +02:00
Huw Davies 608ddd4742 comctl32: Limit the size of the header bitmap to 49x49. 2006-08-01 18:41:48 +02:00
Huw Davies d1be762464 comctl32: Invalidate the header area so that updated titles will be drawn. 2006-08-01 18:41:40 +02:00
Huw Davies 12c0da6815 comctl32: Wordwrap the sub title. 2006-08-01 18:41:35 +02:00
Huw Davies 64ddc97b09 comctl32: The titles are already converted to unicode so always use DrawTextW to write them. 2006-08-01 18:41:01 +02:00
Mikołaj Zalewski 7ce1bb89b9 comctl32: Use wsprintf instead of strcat building the properties
dialog title to allow different word orders.
2006-07-12 19:28:17 +02:00
Alexandre Julliard 03e2b335c4 comctl32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09:16 +02:00
Dmitry Timoshkov 217dae68c5 comctl32: Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler.
Return FALSE in the WM_CLOSE PROPSHEET_DialogProc handler in order to
allow DefDlgProc to post us WM_COMMAND/IDCANCEL and unblock modal
message loop.
2006-06-09 13:26:31 +02:00
Dmitry Timoshkov b4d5dd5efa comctl32: Remove WM_SYSCOMMAND handler from PROPSHEET_DialogProc. 2006-06-07 11:48:21 +02:00
Alexandre Julliard 1d40bf0141 comctl32: propsheet: Fixed buffer sizes for LoadStringW. 2006-05-30 20:01:19 +02:00
Robert Shearman f5660c23ae comctl32: Fix the loading of strings for the property sheet page by
caching the ID of the string to load before overwriting it with an
Alloc call.
2006-05-23 20:52:56 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman a247e6975f comctl32: Make sure to always have the default pushbutton for wizards as an enabled button. 2006-05-22 11:28:52 +02:00
Robert Shearman 2682ff43d0 comctl32: A PSM_SETWIZBUTTONS message specifying PSWIZB_FINISH or
PSWIZB_DISABLEDFINISH, followed by another one without those flags
should show the next button again and hide the finish button.
2006-05-22 11:28:45 +02:00