Commit Graph

280 Commits

Author SHA1 Message Date
Pascal Lessard 07c447f971 Added a case for menu handling in win31. 1999-09-19 12:03:25 +00:00
Dennis Björklund 9af3ebaa7b Fixed win9x look on checkboxes and radiobuttons. 1999-09-13 16:06:17 +00:00
Eric Pouech 0c62bf064d Added MenuItemFromPoint stub. 1999-09-13 15:11:35 +00:00
Nick Holloway b9ce4fd51b For Win 3.x applications, if they have either horizontal or vertical
scrollbars, enable both.
1999-09-11 16:29:00 +00:00
Pierre Mageau 25c62cc61f Set the mouse capture on the combo listbox. 1999-09-11 16:26:03 +00:00
Abey George 3cee09c0fc Draw the focus rectangle for buttons with BS_3STATE, BS_RADIOBUTTON,
BS_CHECKBOX, BS_AUTO* styles.
1999-09-11 16:22:10 +00:00
Pascal Lessard aed79e58c7 Implemented the behavior around the ES_WANTRETURN style in the edit
control.
1999-09-10 13:58:34 +00:00
Pierre Mageau a433582363 Modified CBDropDown to find the best height of the listbox. 1999-09-05 12:12:30 +00:00
Stephane Lussier cdb5650d1e Initialize the enabling state variable in the edit. 1999-09-04 14:27:50 +00:00
Pascal Lessard 3405f5c6cd The format rect is recalculated for each font change. MoveEnd &
MoveHome improved.
1999-09-04 10:59:07 +00:00
Pascal Lessard 2eb0a302a0 Menu hides when clicked for a second time. 1999-09-03 16:38:52 +00:00
Stephane Lussier 93805344ee Keep the enable state in the edit structure instead of calling
IsWindowEnabled().
1999-09-03 16:37:00 +00:00
Francis Beaudet 49936036e6 Slight 1 pixel adjustment on the position of the radio button bitmap. 1999-09-03 15:07:21 +00:00
Pascal Lessard 6fe38e560e The backspace is now handled in the WM_CHAR message. 1999-09-03 15:02:48 +00:00
Francis Beaudet f22ff403ac Fixed a little positioning bug with the checkbox. 1999-09-03 12:35:18 +00:00
Gerard Patel 8e5c72e195 Implemented wParam of WM_PAINT msg for edit control. 1999-09-03 12:23:52 +00:00
Stephane Lussier a833f63783 Avoid changing the activation state in EnableMenuItem. 1999-08-21 14:46:06 +00:00
Rein Klazes d35c834b77 Make sure that an empty string never matches a listbox entry in
LISTBOX_FindString().
1999-08-21 13:04:58 +00:00
Eric Pouech 562309adac Fixed crash when accessing sysmenu. 1999-08-21 12:59:44 +00:00
Francis Beaudet 7ed1af3df3 Ensure that the WM_ENTERIDLE message is not sent if the wake-up event
for the MSG_InternalGetMessage() call is a WM_TIMER.
1999-08-15 16:58:03 +00:00
Pascal Lessard dde4d61f5a EM_SETSEL scrolls if outside of the visible range.
"shift+home" selection improved in the edit control.
1999-08-15 16:30:11 +00:00
Francis Beaudet 28d2ccb07c Fixed the look of the combobox's drop down button when in Win95 look. 1999-08-14 15:51:49 +00:00
Francis Beaudet 742e135446 Handle the case when the button is really small. 1999-08-07 12:26:52 +00:00
Alexandre Julliard 15de615276 Got rid of dsprintf and related macros. 1999-08-04 12:22:42 +00:00
Patrik Stridvall 0e38aa7fda Various ANSI C compability fixes. 1999-07-31 17:34:43 +00:00
Pascal Lessard d814bb657a Implemented the system button behavior and associated it to the system
menu in win95. Also permit the SC_CLOSE item to be disabled.
1999-07-31 13:02:02 +00:00
Rein Klazes dbb4ad8284 Fix handling of WM_LBUTTONDCLICK message for buttons with certain
styles.
1999-07-31 11:10:52 +00:00
Pierre Mageau cfbafe3247 Fixed a problem when the style is BS_BITMAP or BS_ICON: the bitmap or
icon needed to be centered when the button is smaller than the bitmap.
1999-07-30 18:03:15 +00:00
Francis Beaudet 06e8886ee8 Implemented proper win95 support for the WS_BORDER style. 1999-07-30 17:59:35 +00:00
Francis Beaudet f6a225b84e Changed the WS_BORDER style to a WS_EX_CLIENTEDGE style for the
listbox control.
1999-07-30 17:58:24 +00:00
Francis Beaudet bc0b020428 Fixed the border for the listbox created by the simple combobox. 1999-07-30 17:57:45 +00:00
Abey George 6e013e5c24 Fixed incorrect edit control behaviour in mouse message handling. 1999-07-27 17:08:26 +00:00
Gerard Patel c9a6d50c20 Several focus and selection problems in listboxes. 1999-07-25 13:03:17 +00:00
Huw D M Davies df78d68589 Use GDI APIs to access bitmap info. 1999-07-25 11:15:54 +00:00
Dennis Björklund b49b411784 Small fix in UITOOLS95_DrawRectEdge().
Also a fix to draw scrollbar-buttons more like in win9x.
1999-07-18 18:28:34 +00:00
Francis Beaudet ba296e3898 Fixed fake WM_LBUTTONUP message. 1999-07-18 15:36:08 +00:00
Francis Beaudet 9b4748b6e5 Implemented the BS_ICON style. 1999-07-18 15:29:43 +00:00
Dennis Björklund 736eef4a20 Win9x look & feel on scrollbars. 1999-07-18 15:26:25 +00:00
Dennis Björklund 767b099fe8 Win9x look & feel on buttons and a fix for ownerdrawn buttons
(background set to COLOR_BTNFACE).
1999-07-15 16:07:19 +00:00
Luc Tourangeau 70cd8cb4ae Added BN_CLICKED notification in WM_SETFOCUS. 1999-07-10 11:57:29 +00:00
Abey George 318832ea8e Fixed the height of the dropped list when there are few items in the
list.
1999-07-10 11:34:01 +00:00
Ove Kaaven a8aa5e4f63 Fixed check for whether to call SetWindowPos when showing a window
scroll bar.
1999-07-04 12:48:38 +00:00
Alexandre Julliard 6a232b0c40 Reverted previous change. 1999-07-03 15:51:07 +00:00
Gerard Patel 40ed511c86 Cancel pending notifications when EM_SETMODIFY is called. 1999-07-03 15:47:50 +00:00
Gerard Patel ed941a101f Make GetScrollInfo return scroll pos when program requests thumb pos
outside drag operation.
1999-07-03 11:52:38 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Slava Monich 359a748d9b In case if scrollbar has the same background color as the window
it belongs to, it needs to be filled with 0x55aa bitmap brush.
1999-06-26 11:42:27 +00:00
Alexandre Julliard 9cbe067afa Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Draw a 3D border around edit controls when not in WIN31_LOOK.
1999-06-26 11:38:13 +00:00
Alexandre Julliard f9c20b6592 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Only draw a black border around normal buttons when in WIN31_LOOK.
1999-06-26 11:37:18 +00:00
Noomen Hamza 46c4d39853 Remove the WM_LBUTTONUP message from the queue after selecting a mouse
menu item.
1999-06-26 10:14:27 +00:00