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
Filip Navara
8a8a66c328
Fill the area next to watermark bitmap with window color and subclass
...
exterior wizard pages to suppress drawing background.
2004-09-13 19:17:00 +00:00
Filip Navara
4387895d86
Correct displaying of wizard subtitle.
2004-09-13 18:02:32 +00:00
Filip Navara
3b0aaea137
Do not distinguish exterior wizard pages by their position, but
...
instead expect that every page in wizard that doesn't have header is
exterior.
2004-09-08 21:47:03 +00:00
Filip Navara
32b23b3419
- Revert incorrect change to tab control resizing from revision 1.109.
...
- Move the property sheet resizing code from PROPSHEET_CreatePage to
PROPSHEET_SetCurSel. It needs to be executed on every page change
because the application can modify it during the notifications.
2004-09-07 20:28:14 +00:00
Filip Navara
002d91199a
- Draw the Wizard97 header bitmaps before drawing the header strings.
...
- Center the header bitmap of the new Wizard97 correctly.
- Display the correct wizard title for any wizard type and do not
change it for reqular property sheets.
2004-09-07 19:31:50 +00:00
Filip Navara
335983ed91
Fix loading wizard title and subtitle from resources.
2004-08-30 18:39:32 +00:00
Mike McCormack
8b424416bb
Calculate the correct size of dialog templates in the propsheet
...
control.
2004-08-26 18:11:43 +00:00
Robert Shearman
cdb263e588
Replace GetWindowLong by GetWindowLongPtr.
2004-08-25 17:33:01 +00:00
Mike McCormack
90c25514fe
Adjust the tab contents to fix the propsheet between PSM_KILLACTIVE
...
and PSM_SETACTIVE.
2004-08-23 17:51:19 +00:00
Robert Shearman
ab7bad7647
Always redraw dialog on changing between pages.
2004-08-17 22:09:02 +00:00
Zach Gorman
9b68d0f993
OK button should be default in non-wizard property sheets.
2004-08-16 23:17:44 +00:00
Zach Gorman
be3d4071bf
Propsheet pages need WS_EX_CONTROLPARENT style.
2004-08-16 19:50:44 +00:00
Filip Navara
9a0f5ede42
Use correct dialog title for Wizard 97 and correctly display header
...
bitmap for old-style Wizard 97.
2004-08-09 22:54:14 +00:00
Eric Kohl
bea0555890
Move watermark and header bitmap loading code from
...
PROPSHEET_CreatePage into its own function PROPSHEET_LoadWizardBitmaps
and call this function from property sheet's dialog procedure.
2004-08-09 19:48:04 +00:00
Marcus Meissner
e5a5e7271d
Implemented PSM_INDEXTOHWND.
2004-08-02 18:24:58 +00:00
Filip Navara
c846f88fa2
- Properly calculate caption length when converting multi-byte string
...
to wide character one.
- Wizard contents shouldn't be moved by the size of watermark bitmap.
- Fix PSH_WIZARD97_[NEW/OLD] checks.
- Blit the watermark even if PSH_USEHBMWATERMARK flag isn't set and
blit only the part that fits into the dialog.
2004-07-21 21:17:59 +00:00