qingdoa daoo
7c34bfab20
user32: Fix selection handling for listboxes with LBS_EXTENDEDSEL style.
2006-06-02 11:45:43 +02:00
Juris Smotrovs
b8d9f3955a
user32: Send WM_SIZE when window changes state between restored/min/maximized.
2006-06-02 11:42:11 +02:00
Michael Kaufmann
6a74137d70
user32: Popup menu position fixes.
...
- Open large popup menus on the other side only if there's enough space
- Open popup menus such that the y position of the first item in the
popup menu is the same as the y position of the focused menu item.
2006-06-02 11:22:04 +02:00
Dmitry Timoshkov
2827e7bbb6
user32: Replace PeekMessage loops in the PeekMessage test by explicit calls.
...
Replace all 'while (PeekMessage()) DispatchMessage();' loops in the
PeekMessage test by explicit calls to PeekMessage(), check queue
status and processed messages after each call to see what is going on
behind the scene.
2006-06-02 11:21:26 +02:00
Mike McCormack
2e1d2b30f8
user32: Stub implementations for Win64's Get/Set LongPtr functions.
2006-05-30 19:29:36 +02:00
Alexandre Julliard
ee48e1e3d5
user: Fixed WM_ACTIVATEAPP mapping with null task handle.
2006-05-28 18:26:32 +02:00
Alexandre Julliard
14fb1ddcc5
user: Only include winproc.h where necessary.
2006-05-26 14:54:54 +02:00
Alexandre Julliard
7b83af4b0e
user: Added fast 32->16 mapping for the remaining messages.
2006-05-26 14:28:22 +02:00
Alexandre Julliard
fdc60a122f
user: Added fast 32->16 mapping for the listbox and combobox messages.
2006-05-26 14:25:18 +02:00
Alexandre Julliard
19a1dc554b
user: Added fast 32->16 mapping for the edit control messages.
2006-05-26 14:17:28 +02:00
Alexandre Julliard
8056e2422d
user: Added fast 32->16 mapping for button and scrollbar messages.
2006-05-26 14:16:00 +02:00
Alexandre Julliard
8e92e5369f
user: Added fast 32->16 mapping for WM_GETTEXT, WM_SETTEXT and similar messages.
2006-05-26 14:14:14 +02:00
Alexandre Julliard
1d2f900444
user: Added fast 32->16 mapping for the WM_DDE* messages.
2006-05-26 14:09:26 +02:00
Alexandre Julliard
e30c69cc7d
user: Added fast 32->16 mapping for WM_MDIACTIVATE, WM_MDIGETACTIVE and WM_MDISETMENU.
2006-05-26 14:08:09 +02:00
Alexandre Julliard
dd67e8b674
user: Added fast 32->16 mapping for WM_COPYDATA, WM_GETDLGCODE and WM_NEXTMENU.
2006-05-26 14:03:49 +02:00
Alexandre Julliard
b00df53d71
user: Added fast 32->16 mapping for WM_GETMINMAXINFO, WM_NCCALCSIZE and WM_WINDOWPOSCHANGING/CHANGED.
2006-05-26 14:00:36 +02:00
Alexandre Julliard
fbd368fc97
user: Added fast 32->16 mapping for WM_COMPARE/DELETE/MEASURE/DRAWITEM.
2006-05-26 13:54:57 +02:00
Alexandre Julliard
611722a325
user: Added fast 32->16 mapping for WM_CREATE, WM_NCCREATE and WM_MDICREATE.
2006-05-26 13:53:15 +02:00
Alexandre Julliard
2ea3f3d293
user: Added fast 16->32 mapping for the remaining messages.
2006-05-26 13:44:57 +02:00
Alexandre Julliard
8b4281a7c8
user: Added fast 16->32 mapping for the WM_DDE* messages.
2006-05-26 13:42:00 +02:00
Alexandre Julliard
394775187f
user: Added fast 16->32 mapping for WM_MDIACTIVATE, WM_MDIGETACTIVE and WM_MDISETMENU.
2006-05-26 13:40:02 +02:00
Alexandre Julliard
67a633b3e7
user: Added fast 16->32 mapping for WM_COPYDATA, WM_GETDLGCODE and WM_NEXTMENU.
2006-05-26 13:36:57 +02:00
Alexandre Julliard
5940fb8c00
user: Added fast 16->32 mapping for WM_GETMINMAXINFO, WM_NCCALCSIZE and WM_WINDOWPOSCHANGING/CHANGED.
2006-05-26 13:31:55 +02:00
Alexandre Julliard
b4d68ff9aa
user: Added fast 16->32 mapping for WM_COMPARE/DELETE/MEASURE/DRAWITEM.
2006-05-26 13:24:47 +02:00
Alexandre Julliard
246f6d1105
user: Added fast 16->32 mapping for WM_CREATE, WM_NCCREATE and WM_MDICREATE.
2006-05-26 13:21:31 +02:00
Dmitry Timoshkov
0170bc3e84
user: Add a test to check the queue status if there is a pending
...
posted message and the quit flag is set.
2006-05-24 13:58:20 +02:00
Alexandre Julliard
e6b97ce2bd
user: Reuse the fast A->W function to implement the 16->32W case.
...
Get rid of the no longer needed 16->32W mapping functions.
2006-05-23 20:38:41 +02:00
Alexandre Julliard
26e47761c9
user: Reuse the fast W->A function to implement the 32W->16 case.
...
Get rid of the no longer needed 32W->16 mapping functions.
2006-05-23 20:33:14 +02:00
Alexandre Julliard
22a9d18bff
user: Use winproc callbacks for the remaining 16-bit messaging functions.
2006-05-23 20:15:17 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Dmitry Timoshkov
3b95aad505
user/tests: Don't generate a mouse click message in mouse_ll_global_thread_proc.
...
Windows doesn't like when a thread plays games with the focus, that
leads to all kinds of misbehaviours and failures to activate a
window. So, better don't generate a mouse click message in
mouse_ll_global_thread_proc.
2006-05-23 12:45:54 +02:00
Dmitry Timoshkov
c3ba7eecdb
user/tests: Add lparam to all HCBT_MINMAX hook messages.
2006-05-23 12:44:50 +02:00
Alexandre Julliard
44691723eb
user: Added A<->W mapping for WM_GETDLGCODE.
2006-05-22 12:29:02 +02:00
Alexandre Julliard
fcce047f61
user: Get rid of the WINPROC_Map/UnmapMsg32ATo32W functions.
2006-05-20 20:02:10 +02:00
Alexandre Julliard
3d92de45c4
user: Added fast A->W mapping for the remaining messages.
2006-05-20 19:59:19 +02:00
Alexandre Julliard
0eec70f410
user: Added fast A->W mapping for WM_GETTEXTLENGTH and related messages.
2006-05-20 19:58:38 +02:00
Alexandre Julliard
34610d1150
user: Added fast A->W mapping for WM_CHAR and related messages.
2006-05-20 18:57:36 +02:00
Alexandre Julliard
3f4a2a5bfc
user: Added fast A->W mapping for EM_GETLINE.
2006-05-20 18:57:11 +02:00
Alexandre Julliard
19b428755c
user: Added fast A->W mapping for LB_GETTEXT and CB_GETLBTEXT.
2006-05-20 18:55:34 +02:00
Alexandre Julliard
4dd1cce203
user: Added fast A->W mapping for WM_SETTEXT and related messages.
2006-05-20 18:54:25 +02:00
Alexandre Julliard
91b278b811
user: Added fast A->W mapping for WM_GETTEXT and WM_ASKCBFORNAME.
2006-05-20 18:53:16 +02:00
Alexandre Julliard
3e195d4382
user: Added fast A->W mapping for WM_MDICREATE.
2006-05-20 18:49:40 +02:00
Alexandre Julliard
899133d7f7
user: Added fast A->W mapping for WM_CREATE and WM_NCCREATE.
2006-05-20 18:48:04 +02:00
Alexandre Julliard
b73c5e895f
user: Get rid of the MSGPARAMS16 structure.
2006-05-20 16:36:56 +02:00
Alexandre Julliard
917d03bd04
user: Make a lot of winproc functions static.
2006-05-20 16:36:52 +02:00
Alexandre Julliard
ca570aade2
user: Call the A version of message functions from 16-bit code.
...
This avoids having to export too many different message translation
functions.
2006-05-20 16:35:44 +02:00
Alexandre Julliard
dc61a4bc65
user: Use winproc callbacks instead of message map/unmap for 16-bit hooks.
2006-05-20 16:34:14 +02:00
Alexandre Julliard
58a03a103d
user: Use winproc callbacks instead of message map/unmap in SendMessage16.
2006-05-20 16:32:45 +02:00
Alexandre Julliard
396ff0007c
user: Use a winproc callback instead of a message map/unmap in SendMessageTimeoutA.
2006-05-20 16:31:27 +02:00
Alexandre Julliard
521ea482aa
user: Store the destination thread id in the send_message_info structure.
2006-05-20 16:30:55 +02:00
Alexandre Julliard
4316025294
user: Convert the 16-bit winproc functions to use a callback pointer.
2006-05-18 19:44:30 +02:00
Alexandre Julliard
6456317153
user: Convert the other winproc 32-bit functions to use a callback pointer.
2006-05-18 19:09:32 +02:00
Alexandre Julliard
d1a5d5ae98
user: Make WINPROC_CallProc32WTo32A take a callback function pointer.
...
This way it doesn't need to know about dialog procedures. Also renamed
it to WINPROC_CallProcWtoA.
2006-05-18 18:05:01 +02:00
Alexandre Julliard
c16ca72210
user: Fixed a broken trace in the dialog test.
2006-05-18 16:32:49 +02:00
Alexandre Julliard
2ff505c2cf
user: Added helper functions for A<->W conversion of single characters.
2006-05-18 16:31:36 +02:00
Alexandre Julliard
3fe201c308
user: Simplify 16-bit mappings of the WM_GETDLGCODE message.
2006-05-18 16:30:56 +02:00
Alexandre Julliard
6efb68cb0e
user: Unify the mapping of listbox and combobox messages.
2006-05-18 12:43:40 +02:00
Alexandre Julliard
7033649c4f
user: Get rid of the WINPROC_MapMsg32WTo32A function.
2006-05-18 12:29:19 +02:00
Alexandre Julliard
f6ba476d91
user: Added fast W->A mapping for WM_IME_CHAR.
2006-05-18 12:28:07 +02:00
Alexandre Julliard
6c4082df74
user: Added fast W->A mapping for WM_CHAR and related messages.
2006-05-18 12:27:27 +02:00
Alexandre Julliard
dd442faa2e
user: Added fast W->A mapping for EM_GETLINE.
2006-05-18 12:20:14 +02:00
Alexandre Julliard
b34521c43d
user: Added fast W->A mapping for LB_GETTEXT and CB_GETLBTEXT.
2006-05-18 12:17:44 +02:00
Alexandre Julliard
96a430f530
user: Added fast W->A mapping for LB_ADDSTRING and related messages.
2006-05-18 11:46:07 +02:00
Alexandre Julliard
d415df99bc
user: Added fast W->A mapping for WM_MDICREATE.
2006-05-18 11:37:41 +02:00
Alexandre Julliard
bba0159910
user: Added fast W->A mapping for WM_SETTEXT and related messages.
2006-05-18 11:29:31 +02:00
Alexandre Julliard
f793b818a4
user: Added fast W->A mapping for WM_GETTEXT and WM_ASKCBFORNAME.
2006-05-18 11:22:55 +02:00
Alexandre Julliard
cb36cbd0aa
user: Added helper functions for buffer management in WINPROC_CallProc32WTo32A..
2006-05-18 11:03:30 +02:00
Alexandre Julliard
de125e656e
user: Merged WINPROC_CallProc32WTo32A_fast into WINPROC_CallProc32WTo32A.
2006-05-18 11:02:28 +02:00
Eric Pouech
b980bbec17
user32: Allow interprocess WM_NCPAINT messages when wParam is 0 or 1.
2006-05-18 10:47:23 +02:00
Alexandre Julliard
c1c5f14839
user: The result for dialog procedures is stored in DWLP_MSGRESULT.
...
So we have to access it using Get/SetWindowLong when unmapping the
message results (based on a patch by Troy Rollo).
2006-05-17 20:53:51 +02:00
Alexandre Julliard
cb3f3afca4
user: Remove unreachable code in DEFDLG_Proc.
2006-05-17 19:30:59 +02:00
Alexandre Julliard
0667292eb5
user: Support storing multiple winprocs in a single winproc handle.
...
Allows to remove special cases for window classes being Ascii and
Unicode at the same time.
2006-05-17 13:55:36 +02:00
Alexandre Julliard
2a809c195d
user: Allocate 16-bit thunks separately from the window proc structure.
...
Also make sure the thunk memory block has execute permissions.
2006-05-17 13:51:37 +02:00
Dmitry Timoshkov
f839a179a2
user32: Make all the recently added ShowWindow tests pass in Wine.
2006-05-17 10:42:17 +02:00
Dmitry Timoshkov
97c111d0d0
user32: Add more ShowWindow tests.
...
Move ShowWindow tests for children with an invisible parent into a
separate test, add more ShowWindow tests. The tests show that an
assumption in dlls/x11drv/winpos.c that SetWindowPos should not be
called on a child with an invisible parent is not always true.
2006-05-16 12:53:50 +02:00
Francois Gouget
e739ba9551
Assorted spelling fixes.
2006-05-15 15:05:05 +02:00
Alexandre Julliard
6ebbfd4959
user: Prefer SendMessageW over SendMessageA where possible.
2006-05-10 21:33:33 +02:00
Alexandre Julliard
a9c5fd2612
user: Moved Get/SetClassLong16 to wnd16.c.
2006-05-10 17:08:05 +02:00
Alexandre Julliard
56220c246b
user: Have WINPROC_GetProc16 allocate a new winproc if necessary.
2006-05-10 16:55:55 +02:00
Alexandre Julliard
99dc29d926
user: Store the pointer to the winproc in the thunk structure.
...
This allows simplifying the handling of 16-bit thunks.
2006-05-10 15:50:18 +02:00
Alexandre Julliard
c8ce866a8a
user: Make the WINDOWPROCTYPE enum private to winproc.c.
2006-05-10 13:34:45 +02:00
Alexandre Julliard
4cc498f880
user: Replace WINPROC_GetProcType by WINPROC_IsUnicode.
2006-05-10 13:27:21 +02:00
Alexandre Julliard
a9e5e94b0d
user: Replace WINDOWPROCTYPE by a unicode flag in WINPROC_GetProc/AllocProc.
2006-05-10 13:20:34 +02:00
Alexandre Julliard
ef74193949
user: Add a WIN_ISUNICODE flag instead of relying on the winproc type.
...
Also fix the initial value for the server is_unicode flag.
2006-05-10 12:55:36 +02:00
Alexandre Julliard
397bf3c2b1
user: Added specific winproc functions for calling dialog procedures.
2006-05-09 20:33:11 +02:00
Alexandre Julliard
c1f3adc4a4
user: Use handles for 32-bit window procedures instead of pointers into the bss segment.
2006-05-09 20:24:19 +02:00
Alexandre Julliard
cd0d7529de
user: Always set the correct class winproc depending on the A/W type.
2006-05-09 20:00:40 +02:00
Alexandre Julliard
9d4bf4914f
user: Remove some redundant NULL pointer checks.
2006-05-09 19:55:27 +02:00
Alexandre Julliard
0b7dcd2418
user: Make sure to always pass a 16-bit pointer to CallWindowProc16.
2006-05-09 19:55:20 +02:00
Alexandre Julliard
41b5e687fd
user: Separate the 16 and 32-bit versions of WINPROC_AllocProc.
2006-05-09 19:55:05 +02:00
Alexandre Julliard
4c40190620
user: Separate the 16 and 32-bit versions of WINPROC_GetProc.
2006-05-09 18:40:46 +02:00
Alexandre Julliard
5326e304d0
user: Fixed offset check for the DWLP_DLGPROC case in SetWindowLong.
2006-05-09 18:35:50 +02:00
Alexandre Julliard
a95c58b871
user: Separate Get/SetWindowLong16 implementation from the 32-bit one.
2006-05-09 18:34:38 +02:00
Thomas Kho
b833860579
user: Fix behavior when selecting disabled menu items.
2006-05-08 15:15:19 +02:00
Thomas Kho
76104e1ccc
user: Allow menu WndProc to recognize VK_[LR]MENU.
2006-05-08 15:12:33 +02:00
Thomas Kho
bde9ca2b63
user: Extend menu conformance test.
2006-05-08 15:10:41 +02:00
Hwang YunSong
f6f7eddcfe
user32: Updated Korean resource.
2006-05-08 14:50:03 +02:00
Marcus Meissner
cf0704bd88
user32: Added tests for CharUpper and CharLower.
2006-05-08 14:47:14 +02:00
Juris Smotrovs
256d0c0b48
user: Test cases demonstrating position changes for MDI children.
2006-05-07 10:01:06 +02:00
Vitaly Lipatov
959a84208a
user: tests: Change INPUT to TEST_INPUT, fix union usage.
2006-05-05 18:01:32 +02:00
Alexandre Julliard
bace1ef6f0
user: Don't return CLASS_OTHER_PROCESS when modifying a class.
...
Based on a patch by qingdoa daoo.
2006-04-20 19:50:01 +02:00
Michael Kaufmann
a1c98ea8bb
user: Add SS_NOPREFIX to the text style in message boxes.
2006-04-20 11:33:58 +02:00
Michael Kaufmann
01bf37d810
user: Find popup menus by ID.
...
- Find menus by ID: Proper fallback to popup menus.
- Use the menu ID, not the handle for the fallback.
- Save the fallback menu's position.
2006-04-19 12:56:27 +02:00
Thomas Kho
0e81484c45
x11drv: Properly handle VK_LMENU input.
2006-04-14 19:35:05 +02:00
Rein Klazes
7a560493fe
user: Fix dereferencing a potential NULL pointer.
2006-04-13 11:27:46 +02:00
Alexandre Julliard
64f17bb3ef
user: Use a smaller window for the menu test.
2006-04-10 20:21:19 +02:00
Rein Klazes
b72c36fef8
user: Add an missing element to the hbmmenus array.
2006-04-08 15:53:10 +02:00
Alexandre Julliard
53ad4cbb57
user: Fixed PrivateExtractIcons to pass the tests when using native dlls.
2006-04-04 18:58:48 +02:00
Mike McCormack
ba41900d49
user32: More informative message on failure to load x11drv.
2006-04-03 21:35:35 +02:00
Antonio Codazzi
ee01bd0efb
user32: Esperanto language update.
2006-04-03 11:47:57 +02:00
Alexandre Julliard
510a6f70a8
user/tests: Flush events before running the keyboard event test.
2006-03-31 12:51:54 +02:00
Alexandre Julliard
6280ab29e6
user: Only wait for sent messages in wait_message_reply.
2006-03-30 16:23:56 +02:00
Alexandre Julliard
4d3282a5fb
user: Don't send WM_PARENTNOTIFY to the desktop window.
2006-03-30 13:22:27 +02:00
Mike McCormack
8398f6e9e9
user32: Fix SPI_GETLISTBOXSMOOTHSCROLLING, and implement SPI_SETLISTBOXSMOOTHSCROLLING.
2006-03-29 13:37:00 +02:00
Mike McCormack
964509df9c
user32: Implement SPI_[GS]ETUIEFFECTS.
2006-03-29 13:36:48 +02:00
Mike McCormack
fc9d36e4b7
user32: Implement SPI_[GS]ETTOOLTIPANIMATION and SPI_[GS]ETTOOLTIPFADE.
2006-03-29 13:36:29 +02:00
Mike McCormack
9d04454268
user32: Implement SPI_[GS]ETMENUANIMATION and SPI_[GS]ETSELECTIONFADE.
2006-03-29 13:36:18 +02:00
Mike McCormack
9786252186
user32: Implement SystemParametersInfo(SPI_[SG]ETCURSORSHADOW).
2006-03-29 13:36:07 +02:00
Mike McCormack
3244096d2e
user32: Implement SystemParametersInfo(SPI_[GS]ETCOMBOBOXANIMATION).
2006-03-29 13:35:53 +02:00
Mike McCormack
cd37125f7a
user32: Implement SPI_[SG]ETCARETWIDTH.
2006-03-29 13:31:54 +02:00
Mike McCormack
4ce100aa64
user32: Send a fake mouse movement event after releasing capture.
2006-03-27 21:41:09 +02:00
Alexandre Julliard
90af5a0d17
server: Connect to the window station and desktop specified by startup info.
...
If window station and desktop aren't inherited from the parent, don't
connect to them from the server, but from the USER init code where we
can get the proper values from the startup info structure.
2006-03-27 12:57:17 +02:00
Alexandre Julliard
9873494ced
server: Class and global atoms should not be local to a window station.
2006-03-22 22:13:40 +01:00
Huw Davies
c4b44245fb
user32: Only adjust the margins if the edit control is above a certain size.
2006-03-22 21:37:10 +01:00
Mike McCormack
d5816d2202
Remove some unnecessary uses of windowsx.h
2006-03-18 18:04:51 +01:00
Alexandre Julliard
d8568e90be
user/tests: Try harder to flush X events before running tests.
2006-03-15 12:11:02 +01:00
Alexandre Julliard
a32b3e86ec
user: Support packing/unpacking the WM_DEVICECHANGE message.
2006-03-09 22:48:37 +01:00
Mike McCormack
abf3a570af
user: The height of a ListBox item can be no more than MAXBYTE.
2006-03-09 12:51:10 +01:00
Alexandre Julliard
1a4f6e579b
user: Launch explorer to manage the desktop window.
2006-03-07 11:42:35 +01:00
Alexandre Julliard
4be3d4c12b
server: Return real parent and owner in the create_window request.
...
Remove computing of parent and owner handles on the client side.
2006-03-06 15:00:37 +01:00
Alexandre Julliard
f874d20f54
user: Allow creating windows of the desktop class.
2006-03-06 12:44:38 +01:00
Alexandre Julliard
70d42f9d43
user: Allow some Wine internal messages to act on the desktop window.
2006-03-06 12:37:13 +01:00
Byeong-Sik Jeon
bd82e82993
user32: Fix the default height for CJK fonts.
2006-03-04 16:12:51 +01:00
Vitaly Lipatov
e96f03a1d7
user: Fix uninitialized rectangle in menu arrow painting.
2006-03-02 15:50:07 +01:00
Rein Klazes
cc5b5cea96
user32: Fix handling of '\b' right flush character in menus.
...
- do not add extra space; modify the tests to confirm this;
- right flush to the menu tab stop, not to the menu border;
- small fixes to the menu tab stop calculation.
2006-03-01 20:40:17 +01:00
Jason Edmeades
24dc3de4c9
user32: Ensure VK_UP displays the popup menu for the selected item if
...
the popup menu is not visible
2006-03-01 12:39:09 +01:00
Francois Gouget
4aa6418d51
Assorted spelling fixes.
2006-02-24 21:10:03 +01:00
Francois Gouget
29b5c987d5
user32: Handle WM_ENDSESSION in DefWinProc().
...
DefWinProc() should call PostQuitMessage() on WM_ENDSESSION if the
shutdown is proceeding.
2006-02-24 21:07:08 +01:00
Francois Gouget
feb153c649
user32: 0 vs. INFINITE timeout.
...
It is 0 that denotes an infinite timeout for the wine server now, not
-1 (INFINITE).
Document put_message_in_queue()'s check for INFINITE (done for
backwards compatibility with Windows 9x).
2006-02-24 21:06:50 +01:00
Francois Gouget
6edd77228d
user: Fix ExitWindows().
...
- Use 0 to get an infinite timeout with SendMessageTimeoutW().
- Use SendMessageTimeoutW() to send the WM_ENDSESSION messages too so
we don't get stuck if a process is hung.
- Only send WM_ENDSESSION to windows that received a
WM_QUERYENDSESSION message. Also better mimick the Windows behavior.
2006-02-24 21:06:23 +01:00
Francois Gouget
1f297893e5
user: Give meaningful names to the structures used to transfer
...
information to the test threads.
2006-02-24 11:22:28 +01:00
Rein Klazes
3a0b40fffb
menu: Take the MF_DEFAULT flag in to account in MENU_CalcItemSize.
2006-02-20 20:32:02 +01:00
Rein Klazes
1d0ec411d4
user: Add conformance tests for menu item drawing.
2006-02-20 12:00:39 +01:00
Rein Klazes
00ca259872
user: Menu drawing fixes.
...
- check mark is drawn left of a bitmap;
- if a MNS_CHECKORBMP-style menu has a checkmark, do no draw any bitmap;
- space for the popup arrow is also reserved for non popup items;
- implement the MNS_NOCHECK style.
2006-02-20 11:58:54 +01:00
Rein Klazes
885f217022
user: Menu string width calculation fixes.
...
- Use DrawText in stead of GetTextExtendPoint32, to properly measure
strings with ampersands like "&File";
- Fix mess with strings with an embedded tab;
- In case of a menu bar, two extra pixels are added if the item has
both a bitmap and string.
2006-02-20 11:58:03 +01:00
Rein Klazes
2757532fee
user: Menu drawing fixes.
...
Replace some #defined constants by values calculated from windows
metrics.
2006-02-20 11:57:07 +01:00
Rein Klazes
444a547135
user: Menu drawing fixes.
...
- Move sending WM_MEASUREITEM message for HBMMENU_CALLBACK bitmaps to
MENU_GetBitmapItemSize();
- Save the received bitmap size in the menu item structure as it will
need to be sent in the WM_DRAWITEM message;
- Move sending WM_DRAWITEM message for HBMMENU_CALLBACK bitmaps to
MENU_DrawBitmapItem();
- This also means that HBMMENU_CALLBACK bitmaps are now supported in
menu bars.
2006-02-20 11:56:21 +01:00
Rein Klazes
672a1e4e4e
user: Move drawing of pop menu arrows to a subroutine reduces nesting
...
level of some large if statements in the drawing code. Some updates to
the comments.
2006-02-20 11:54:28 +01:00
Michael Kaufmann
1f3afd4b47
user: Add the DS_NOIDLEMSG style to message boxes.
2006-02-20 11:12:26 +01:00
Phil Krylov
dafa5bf464
user: Implement scrolling in popup menus.
2006-02-17 18:34:31 +01:00