Commit Graph

304 Commits

Author SHA1 Message Date
Dmitry Timoshkov f92a777007 Remove hack for keyboard messages in dialogs. 1999-12-05 23:51:15 +00:00
Dmitry Timoshkov 92f376f78b Show use of undocumented messages. 1999-12-05 02:45:10 +00:00
Dmitry Timoshkov f4a27b8d41 When combobox selection changes, update its edit box accordingly. 1999-11-28 19:45:58 +00:00
Dmitry Timoshkov e0f493e5b0 Notify parent of listbox if requested. 1999-11-28 19:44:33 +00:00
Rein Klazes 077ec0cffd Send WM_CTLCOLOREDIT not WM_CTLCOLORSTATIC messages to parent of a
disabled edit control if the application expects a windows version
before WIN95 and NT40.
1999-11-10 19:55:29 +00:00
Jim Aston aebda22e61 Fixed the height of the ComboBox drop list. 1999-11-07 21:04:57 +00:00
Karl Lessard 4a0a7df6a3 When a popupmenu is currently active on the screen, it shouldn't
remove mouse click messages that don't belong to it from the queue.
1999-11-07 05:17:10 +00:00
Marcus Meissner 2e48a2cc22 Do not clear the drawing area for etched static controls.
Replaced our own drawing stuff in etched static controls by DrawEdge.
1999-10-31 17:36:26 +00:00
Pierre Mageau 891d4d22a7 Fixed loop with WM_SYSCHAR. 1999-10-23 20:05:04 +00:00
Abey George 889a3be68f Draw the item text from the top of the item rect. 1999-10-23 17:12:24 +00:00
Gerard Patel 8c36254147 Make WM_GETTEXTLENGTH return length for dropdownlist combos. 1999-10-13 13:50:17 +00:00
Francois Boisvert 73d7337e83 Removed FillRect in the ownerdrawn button procedure. 1999-10-13 13:49:42 +00:00
Juergen Schmied 371c420549 Made TrackPopupMenu with TPM_RETURNCMD returning the id instead of
true.
1999-10-13 12:27:44 +00:00
Karl Lessard 13409b32cd Make ExecFocusedItem return -1 on failure. 1999-09-28 16:24:58 +00:00
Gerard Patel 6df0694f7c Force recalculation of menu when calling InsertMenuItem. 1999-09-28 13:05:54 +00:00
Stephane Lussier 5ca2ec4288 Return key should not be ignored in multiline edit even if
ES_WANTRETURN flag isn't set.
1999-09-27 11:45:07 +00:00
Rein Klazes 61b15de4ba Use an extra bit in the button status byte to flag whether the
DefButtonWndProc should process the WM_LBUTTONUP message.
1999-09-27 11:38:47 +00:00
Abey George b59d4bc503 Don't send WM_ENTERMENULOOP, WM_INITMENU & WM_INITMENUPOPUP messages
when TPM_NONOTIFY flag is set in TrackPopupMenu.
1999-09-22 15:10:42 +00:00
Francis Beaudet 2862362259 Fixed display bug in the static control. 1999-09-20 18:28:08 +00:00
Pascal Lessard 445c910e89 Message removed when menu tracking finish on a WM_LBUTTONDOWN. 1999-09-20 18:27:14 +00:00
Dennis Björklund 4352c7a9d0 Send correct WM_MENUSELECT when menu closes. 1999-09-19 18:28:35 +00:00
Noomen Hamza 502e4f5dc6 The MDIClient class must be registered with the IDC_ARROW cursor. 1999-09-19 14:11:41 +00:00
Francis Beaudet f132872741 Implemented the disabled state of the combobox. 1999-09-19 14:09:52 +00:00
Richard Cohen 56753621d3 Protect SetMenu from rogue menu handle.
GetMenu16 can just call GetMenu.
1999-09-19 14:08:13 +00:00
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