Commit Graph

207 Commits

Author SHA1 Message Date
Francois Gouget 6deccab6c9 comctl32: Property sheets must be able to redraw themselves even if no page is selected. 2011-09-06 12:23:55 +02:00
André Hentschel f931f479bc comctl32: Remove dead increments (clang). 2011-07-28 11:28:51 +02:00
Alexandre Julliard a37e5975dc comctl32/propsheet: Fix incorrect use of the ScreenToClient function. 2010-10-05 14:04:01 +02:00
Detlef Riekenberg 51db7f0a15 comctl32: Dump a parameter in a TRACE. 2010-10-05 12:10:17 +02:00
Dmitry Timoshkov 09539e4219 comctl32: Postpone setting the property sheet focus until the tab control is initialized. 2010-10-05 12:07:38 +02:00
Dmitry Timoshkov 1bf5e12e95 comctl32: Make sure that the focus is set to an existing property sheet button. 2010-07-22 16:07:54 +02:00
Michael Stefaniuc 02b4103868 comctl32: Avoid a potential NULL pointer dereference in a TRACE. 2010-05-25 13:27:33 +02:00
Mikhail Maroukhine 6443d87543 comctl32: Fix compiler warnings. 2010-03-29 12:10:00 +02:00
Michael Stefaniuc 223603cc1c comctl32: Use IS_INTRESOURCE instead of HIWORD to check a resource. 2010-01-26 12:13:51 +01:00
Michael Stefaniuc 9dd502a332 comctl32: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01:00
Ričardas Barkauskas a8f89a2ffa comctl32/propsheet: Test and fix for crash processing PSM_INDEXTOHWND with no longer valid handle. 2009-10-19 14:44:57 +02:00
Jan de Mooij 2f8e5da90f comctl32/propsheet: Update position of hidden buttons too. 2009-09-01 17:37:12 +02:00
Andrew Eikum ac34e22ef3 comctl32: Correctly assign focus and default button in property sheet wizards. 2009-08-14 11:27:55 +02:00
Andrew Eikum 4a14ed43fa comctl32: Don't pass unrelated control to UnChanged. 2009-08-14 11:27:39 +02:00
Michael Stefaniuc da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +01:00
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