Commit Graph

23 Commits

Author SHA1 Message Date
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Kaufmann 1de825f746 static control: SS_CENTERIMAGE fixes.
- Stretch bitmaps and icons to the whole control size if
  SS_CENTERIMAGE is absent
- Draw the background of centered bitmaps and icons with the
  background brush (like Windows XP for applications with a manifest)
2006-01-25 13:14:44 +01:00
Michael Kaufmann 73a23606a9 static control: Immediately repaint the control. 2006-01-17 16:09:32 +01:00
Michael Kaufmann 6ca3e6365a static control: Separate WM_NCCREATE and WM_SETTEXT.
- Separate WM_NCCREATE and WM_SETTEXT.
- WM_SETTEXT and WM_SETFONT are ignored for static controls that don't
  display text.
- WM_SETTEXT must not be used to change the icon/bitmap/metafile.
- Immediately repaint the control on all occasions.
2006-01-17 16:08:59 +01:00
Michael Kaufmann 97be4fa91d static control: Don't load OEM bitmaps. 2006-01-17 16:07:10 +01:00
Michael Kaufmann 2ddbc7b6e0 static control: STN_ENABLE and STN_DISABLE notifications. 2006-01-17 16:06:41 +01:00
Michael Kaufmann 2b8cda7162 static control: Better STM_GETIMAGE.
STM_GETIMAGE returns NULL if the given image type doesn't match the
control's style.
2006-01-17 16:05:25 +01:00
Michael Kaufmann 46d007cedb static control: Support SS_REALSIZEIMAGE.
- Support SS_REALSIZEIMAGE (this flag means "it's not necessary to
  load icons in the default icon size").
- SS_ICON: Ability to display cursors.
2006-01-17 16:04:40 +01:00
Michael Kaufmann 66b5020e02 static control: Support SS_REALSIZECONTROL.
- Support SS_REALSIZECONTROL (this flag means "don't resize the
  control to the size of the bitmap/icon").
- Always call GlobalUnlock16 after GlobalLock16.
2006-01-17 16:03:44 +01:00
Michael Kaufmann 910f4bb50e static control: Background of enhanced metafiles.
- Always paint the background of static controls displaying enhanced
  metafiles.
- Also paint the background if there's no metafile to display.
2006-01-17 16:01:40 +01:00
Michael Kaufmann 7effdb0b23 static control: Support text style flags.
- Support DT_END_ELLIPSIS, DT_PATH_ELLIPSIS and DT_WORD_ELLIPSIS.
- Paint simple text without prefixes (SS_SIMPLE | SS_NOPREFIX) with
  the ExtTextOut function like the native control does.
- Gray text color: Only for non-simple static controls.
2006-01-17 16:00:47 +01:00
Michael Kaufmann 7ff2a68459 user: Improve the ownerdraw support of the static control. 2006-01-10 12:07:57 +01:00
Michael Kaufmann e7322e5109 Static control: Support enhanced metafiles. 2006-01-06 21:07:07 +01:00
Kieran Clancy 925a38d9ad Fix vertical text alignment in static controls. 2005-11-18 15:04:25 +00:00
Michael Kaufmann e9310da57b Handle WM_PRINTCLIENT.
Don't use SelectClipRgn in WM_PRINTCLIENT.
2005-11-08 12:52:35 +00:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Robert Shearman 5bded56016 Fix colours used for SS_*RECT, SS_*FRAME. 2005-01-04 11:51:14 +00:00
Dimitrie O. Paun 08025d7db9 SS_CENTERIMAGE has been implemented. 2005-01-03 14:36:25 +00:00
Jon Griffiths 32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Robert Shearman 6b85523c59 Implement SS_CENTERIMAGE for static control. 2004-12-17 18:53:32 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Dimitrie O. Paun 0c202b7483 Audit the static control code.
Change [GS]etWindowLong{,Ptr}A to [GS]etWindowLong{,Ptr}W.
2004-10-05 04:11:29 +00:00
Alexandre Julliard 2ceb42dd43 Moved all files from the controls/ directory to dlls/user. 2004-08-31 01:10:08 +00:00