Commit Graph

167 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 154e54e8e6 comctl32: Make some internal functions and variables static, remove
some unneeded prototypes.
2006-05-08 13:38:35 +02:00
Dmitry Timoshkov 308813112e comctl32: Add support for PSP_USEHEADERTITLE, PSP_USEHEADERSUBTITLE
and PSP_HIDEHEADER in CreatePropertySheetPageA/W, handle resource ids.
2006-05-08 13:38:19 +02:00
Dmitry Timoshkov 34cf29efbb comctl32: psInfo->proppage[index].pszText is always initialized to a
proper value regardless of PSP_USETITLE, use it unconditionally.
2006-05-08 13:38:00 +02:00
Huw Davies 517b85f989 comctl32: Set the sheet caption before invoking the sheet callback and before creating the pages. 2006-04-06 22:22:00 +02:00
Thomas Weidenmueller 3faa66ee2a comctl32: Fix error handling in PSM_ADDPAGE in case of memory
allocation failure.
2005-12-31 13:12:19 +01:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Frank Richter 9e57091ffa Fix warnings in 64bit. 2005-08-30 10:07:17 +00:00
Thomas Weidenmueller c9b7442689 It should be allowed to pass NULL handles in the phpage array of the
PROPSHEETHEADER structure to PropertySheet(), just ignore them.
2005-08-27 09:59:09 +00:00
Frank Richter 5c3f6bcd44 Enabled "tab" dialog texture for property sheet pages. 2005-07-18 10:31:06 +00:00
Thomas Weidenmueller 2e7f3ad702 Support PSM_IDTOINDEX. 2005-07-15 11:42:18 +00:00
Thomas Weidenmueller 6ea26b50a9 - Support PSH_WIZARDHASFINISH in wizards.
- Correct tab order of the wizard buttons.
2005-07-15 09:59:04 +00:00
Felix Nawothnig bd8790bee4 Don't invalidate the whole propsheet when the page is switched. 2005-07-06 19:03:33 +00:00
Frank Richter c81d46d77f Let property sheets update the cached system colors upon receiving
WM_SYSCOLORCHANGE.
2005-07-05 10:57:37 +00:00
Huw Davies 2e301ceb1c For modal propsheets we should run our own message loop rather than
use a modal dialogbox just like Windows does.  This helps apps that
subclass the propsheet's wndproc.
2005-06-15 19:12:57 +00:00
Mike McCormack 882bc4d18d Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-09 09:50:56 +00:00
Dimitrie O. Paun 8df71a6cfa Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}(). 2005-03-25 20:49:00 +00:00
Dimitrie O. Paun b1d65cb15d Handle wParam in WM_PAINT properly: if non-null, it is the hdc we are
supposed to use to draw into.
2005-03-25 10:26:10 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Dimitrie O. Paun 2fbd839e90 Complete unicodification of the propsheet common control. 2005-03-23 10:23:23 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Aric Stewart 764ff272d6 Check to make sure PropSheetInfo* is not null before dereferencing it
for some windows messages.
2004-10-04 20:39:55 +00:00
Filip Navara 67c8cb28f9 - Implement PSM_INDEXTOID, PSM_INDEXTOPAGE and PSM_PAGETOINDEX messages.
- Partially implement the PSH_WIZARDCONTEXTHELP and PSH_NOCONTEXTHELP
  styles.
2004-09-20 19:13:36 +00:00
Filip Navara 99423d4e48 Status update. 2004-09-14 01:06:44 +00:00
Filip Navara 043e27523d Fix resizing of wizards. 2004-09-13 23:19:51 +00:00