Commit Graph

2738 Commits

Author SHA1 Message Date
Nikolay Sivov 745f48157d comctl32/tab: Use cached colors for Tab. 2009-05-19 15:41:48 +02:00
Nikolay Sivov 649e4640d1 comctl32/comboex: Use cached colors for ComboEx. 2009-05-19 15:41:43 +02:00
Nikolay Sivov 1f43da01c0 comctl32/toolbar: No need to use GetSysColor directly. 2009-05-19 15:41:37 +02:00
Nikolay Sivov 97ecd468c4 comctl32/toolbar: Use already cached control window style. 2009-05-19 15:41:30 +02:00
Nikolay Sivov b97600699a comctl32/toolbar: Remove superfluous forward declarations. 2009-05-19 15:41:24 +02:00
Nikolay Sivov 9a0f600574 comctl32/toolbar: Retrieve control data once at WinProc. 2009-05-19 15:41:09 +02:00
Nikolay Sivov 2b72ae6e01 comctl32/status: Use cached colors instead of GetSysColor for Status. 2009-05-19 15:40:37 +02:00
Nikolay Sivov 109a10c961 comctl32/rebar: Use cached colors instead of GetSysColor for Rebar. 2009-05-19 15:40:31 +02:00
Nikolay Sivov cf67786e40 comctl32/monthcal: Use cached colors instead of GetSysColor for MonthCal. 2009-05-19 15:40:20 +02:00
Nikolay Sivov 8806b1e83e comctl32/ipaddress: Use cached colors instead of GetSysColor for IPAddress control. 2009-05-19 15:40:13 +02:00
Nikolay Sivov 45b8e6a4f9 comctl32/tests: Don't use magic numbers for ListView exstyles. 2009-05-18 13:38:40 +02:00
Nikolay Sivov d93aab9c2a comctl32/treeview: Use cached colors instead of GetSysColor in TreeView. 2009-05-18 13:38:32 +02:00
Nikolay Sivov 27f3a6d605 comtl32/listview: Cache Header control window GWL_STYLE. 2009-05-18 13:38:24 +02:00
Nikolay Sivov f875314ffe comctl32/header: Use cached colors instead of querying them again. 2009-05-18 13:38:08 +02:00
Nikolay Sivov e6a3807e59 comctl32/header: Move parameter cast to WinProc where possible. 2009-05-18 13:37:57 +02:00
Nikolay Sivov 7a8f52b37c comctl32/header: Retrieve control data only once at WinProc call. 2009-05-18 13:37:20 +02:00
Francois Gouget ce5bb8b92c comctl32/tests: Make flush_sequence() static. 2009-05-15 10:30:44 +02:00
Nikolay Sivov a1cac2c314 comctl32/listview: Don't check for state changes we are not aware to store (with some tests). 2009-05-13 12:03:56 +02:00
Nikolay Sivov bad1dda9ad comctl32/listview: A couple of tests for changing item attributes. 2009-05-12 11:21:35 +02:00
Nikolay Sivov b4e7e257e0 comctl32/header: Make Header_* macros match PSDK. 2009-05-12 11:21:25 +02:00
Nikolay Sivov e847d7c038 comctl32/listview: Don't redraw focus rectangle on column scroll. 2009-05-11 14:51:53 +02:00
Nikolay Sivov 4a5e23a2f9 comctl32/listview: Select all items with LVM_SETITEMSTATE is blocked in LVS_SINGLESEL. 2009-05-11 14:51:43 +02:00
Nikolay Sivov 472b521606 comctl32/listview: Remove superfluous forward declarations. 2009-05-11 14:51:35 +02:00
Giuseppe Bilotta 585c3abb6b comctl32/toolbar: When a null lParam is passed to TB_GETBUTTONTEXTA, we should not return -1 but the string size. 2009-05-07 15:15:07 +02:00
Giuseppe Bilotta fcc9b57c7a comctl32/toolbar: Skip iString field for separators. 2009-05-07 15:14:42 +02:00
Nikolay Sivov 4bc8e87ab6 comctl32/listview: Add tests for LVS_NOSORTHEADER switchover. 2009-05-07 14:44:22 +02:00
Nikolay Sivov 5123ffc36b comctl32/listview: Remove irrelevant fixme comment. 2009-05-07 14:44:22 +02:00
Nikolay Sivov e7537418d9 comctl32/listview: Use handlers instead of sending messages to oneself. 2009-05-05 11:51:05 +02:00
Nikolay Sivov 50c3b530f7 comctl32/listview: Forward WM_ERASEBKGND to parent on CLR_NONE. 2009-05-04 13:23:31 +02:00
Nikolay Sivov 1fac98d3c1 comctl32/listview: Test WM_ERASEBKGND forwarding to parent on CL_NONE background. 2009-05-04 13:23:24 +02:00
Nikolay Sivov 59b08cc1e3 comctl32/listview: Additional test for LVS_EX_HEADERDRAGDROP. 2009-05-04 13:23:11 +02:00
Nikolay Sivov 2829c5fd1e comctl32/listview: Fix LVM_INSERTITEM handling on LVS_SORTxxx styles. 2009-05-04 13:23:03 +02:00
Francois Gouget 8a46d0eaf5 Assorted spelling fixes. 2009-05-04 12:53:29 +02:00
Nikolay Sivov 3d7eb3d414 comctl32/listview: Fix wrong function description. 2009-05-01 16:19:45 +02:00
Nikolay Sivov ebeabf11d3 comctl32/listview: Remove wrong TODO entry. 2009-05-01 14:34:00 +02:00
Nikolay Sivov 8a03ac58c5 comctl32/listview: Check columns array size before trying to obtain rectangle. 2009-04-30 17:19:56 +02:00
Nikolay Sivov 146209381b comctl32/listview: Don't draw wrapped focus rectangle. 2009-04-30 12:47:30 +02:00
Nikolay Sivov 4ba9e61661 comctl32/header: Reset internal drag state on mouse up. 2009-04-30 12:47:20 +02:00
Timo Kreuzer b4cc117b38 comctl32: Change UINT to UINT_PTR in CreateToolbarEx. 2009-04-30 12:46:52 +02:00
Nikolay Sivov 9f6bd09ec0 comctl32/listview: A couple of LVM_GETITEM tests with incomplete masks. 2009-04-29 14:23:52 +02:00
Nikolay Sivov cd8b91f1bb comctl32/listview: Handle LVIF_NORECOMPUTE in LVM_GETITEM[A,W]. 2009-04-29 14:23:42 +02:00
Nikolay Sivov 43dcbdeb70 comctl32/listview: Some tests for LVIF_NORECOMPUTE flag. 2009-04-29 14:23:33 +02:00
Nikolay Sivov bbd00da488 comctl32/listview: Handle CCM_[G,S]ETVERSION in listview. 2009-04-29 14:23:17 +02:00
Nikolay Sivov 82744c93e0 comctl32/listview: Fix resizing grid drawing at right from rightmost column. 2009-04-27 13:47:48 +02:00
Nikolay Sivov d1d7dfab64 comctl32/listview: Fix horizontal grid line drawing. 2009-04-27 13:47:41 +02:00
Nikolay Sivov 2796763ee3 comctl32/listview: Draw rightmost vertical grid line when needed. 2009-04-27 13:47:35 +02:00
Nikolay Sivov 3f0824bdf4 comctl32/listview: Remove duplicated iterator initializer. 2009-04-27 13:47:25 +02:00
Nikolay Sivov bf61677998 comctl32/listview: Reuse existing variable instead of duplicated expression. 2009-04-27 13:47:18 +02:00
Nikolay Sivov 8b26cce8f8 comctl32/listview: Fix LVM_GETCOLUMNORDERARRAY passing message to header. 2009-04-24 15:50:39 +02:00
Nikolay Sivov 3845ed795f comctl32/tests: Tests for LVM_GETCOLUMNORDERARRAY: it actually uses HDM_GETORDERARRAY. 2009-04-24 15:50:32 +02:00
Alexandre Julliard a4df29013c comctl32: Repaint comboex control upon WM_SETREDRAW, like other common controls do. 2009-04-23 20:15:22 +02:00
Nikolay Sivov d30df7de06 comctl32/tests: Existing items aren't resorted after LVS_SORTASCENDING added. 2009-04-23 18:14:26 +02:00
Nikolay Sivov 946936c274 comctl32/tests: Remove tests failing on most platforms. 2009-04-23 14:22:07 +02:00
Giuseppe Bilotta 6a01f71949 comctl32/toolbar: Fix trace info for TOOLBAR_InternalInsertButtonsT. 2009-04-22 17:00:51 +02:00
Nikolay Sivov 457c983ee3 comctl32/listview: Partial fix for LVM_GETSUBITEMRECT for item == -1. 2009-04-22 13:14:48 +02:00
Nikolay Sivov 09d6a6c8c9 comctl32/listview: Additional tests for LVM_GETSUBITEMRECT. 2009-04-22 13:14:30 +02:00
Igor Tarasov 3e235cc363 comctl32: TOOLBAR_SetImageList should recalculate toolbar only if it is necessary. 2009-04-22 12:56:19 +02:00
Peter Schauer 56720276e8 comctl32/listview: Fix warning from DPA_GetPtr. 2009-04-21 16:24:36 +02:00
Nikolay Sivov 9cc12d2879 comctl32/listview: Header should be created when LVS_EX_HEADERDRAGDROP set. 2009-04-21 15:31:00 +02:00
Nikolay Sivov ac8257cb1e comctl32/listview: Add a TRACE(..) to LISTVIEW_CreateHeader. 2009-04-21 15:30:55 +02:00
Nikolay Sivov 949e9043b9 comctl32/listview: LVM_SETITEM is unsupported on LVS_OWNERDATA. 2009-04-21 15:30:47 +02:00
Florian Köberle 5a6f956187 comctl32: Fix expanding of invisible sub trees. 2009-04-21 15:30:37 +02:00
Florian Köberle 123dc34aec comctl32/tests: Test expanding of a invisible sub tree. 2009-04-21 15:30:30 +02:00
Igor Tarasov 74baffb254 comctl32: Fix typo in TOOLBAR_SetButtonSize code. 2009-04-21 14:25:15 +02:00
Nikolay Sivov 3ce8e20896 comctl32/listview: Some tests for LVS_SINGLESEL switchover. 2009-04-20 15:25:03 +02:00
Nikolay Sivov 0588ba7fef comctl32/listview: Fix a regression caused by 9c1a0e468f. 2009-04-20 15:24:58 +02:00
Nikolay Sivov 42bef95cbc comctl32/listview: Switching to/from LVS_OWNERDATA isn't allowed after creation. 2009-04-20 15:24:48 +02:00
Nikolay Sivov 10a936150b comctl32/listview: Slightly enlarge rectangle when drawing checkbox. 2009-04-20 15:24:41 +02:00
Nikolay Sivov ffb214a66b comctl32/listview: Add a ListView_GetTextBkColor macro. 2009-04-20 15:24:35 +02:00
Igor Tarasov c037b333c8 comctl32: Fix regression caused by 2d751ee56a.
Fixing regression produced by "comctl32: Correct handling of toolbar
separators size". As it came out, some applications DO rely on iBitmap
value, but it can be received not with TB_GETBUTTONINFO, but with
TB_GETBITMAP.
2009-04-20 14:13:54 +02:00
Nikolay Sivov b2486d41c7 comctl32/listview: Implemented LVM_SORTITEMSEX. 2009-04-15 16:19:01 -05:00
Nikolay Sivov 961f175cc2 comctl32/listview: Fix some comment typos. 2009-04-15 16:18:36 -05:00
Nikolay Sivov e014484a43 comctl32/listview: Fix a regression caused by 59148d0bb5. 2009-04-14 14:49:43 -05:00
Nikolay Sivov 9c1a0e468f comctl32/listview: Fix selection handling in LVM_SORTITEMS (with some tests). 2009-04-14 14:49:22 -05:00
Nikolay Sivov b2917cf598 comctl32/updown: Allow ranges with max < min for Up/Down control. 2009-04-10 14:49:23 +02:00
Nikolay Sivov 13dfb9b3a6 comctl32/listview: State mask should be ignored on LVM_INSERTITEM. 2009-04-10 10:23:44 +02:00
Nikolay Sivov bc22a89306 comctl32/tab: Simplify hottracked button painting. 2009-04-09 11:18:52 +02:00
Nikolay Sivov 59148d0bb5 comctl32/listview: Implement delayed header creation for ListView control. 2009-04-08 11:39:25 +02:00
Nikolay Sivov 5ebc7ba72d comctl32/tab: Fix filled rectangle calculation for selected button on TCS_BUTTONS. 2009-04-07 11:21:13 +02:00
Nikolay Sivov 59ae274ac3 comctl32/tab: Fix hottracked button size. 2009-04-07 11:21:03 +02:00
Nikolay Sivov 483083e306 comctl32/tab: Draw hottracked tab button properly. 2009-04-06 11:16:32 +02:00
Marcus Meissner e28c28b461 comctl32: Avoid potential overflow in Search Param (Coverity 903). 2009-04-06 11:16:05 +02:00
Nikolay Sivov d7439c0b75 comctl32/updown: Don't pass VK_[UP|DOWN] to original Up/Don control buddy's winproc. 2009-04-03 13:01:07 +02:00
Nikolay Sivov 6b6d18d766 comctl32: Additional tests for ListView header creation. 2009-04-02 16:28:42 +02:00
Michael Stefaniuc 1513dd2073 comctl32/tests: Use LONG instead of long. 2009-04-02 16:28:30 +02:00
Nikolay Sivov 4902dd9801 comctl32: Enable selection overwriting in IP Address control. 2009-04-02 15:09:55 +02:00
Nikolay Sivov 276c7a3bc6 comctl32: listview: Some tests showed delayed header creation in ListView control. 2009-04-01 17:10:21 +02:00
Igor Tarasov 2d751ee56a comctl32: Correct handling of toolbar separators size. 2009-03-31 12:40:59 +02:00
Igor Tarasov 88b64d486d comctl32: CCS_VERT flips toolbar separators orientation. 2009-03-31 12:40:51 +02:00
Nikolay Sivov 4ebf2e4526 comctl32/tab: Fix highlighted tabs painting. 2009-03-30 15:08:20 +02:00
Nikolay Sivov 4b2ea6f4e2 comctl32/tab: Implemented TCS_MULTISELECT for mouse selection. 2009-03-30 15:08:11 +02:00
Nikolay Sivov e2b1604f4a comctl32/tab: Implemented TCM_DESELECTALL. 2009-03-30 15:07:56 +02:00
Nikolay Sivov 48e7428964 comctl32/tab: Remove direct access to items array. 2009-03-30 15:07:47 +02:00
Nikolay Sivov 0e5dac618f comctl32/tab: Selected item should have TCIS_BUTTONPRESSED state. 2009-03-26 11:56:09 +01:00
Nikolay Sivov db60f69cba comctl32/tab: Handle state mask in TCM_[G,S]ETITEM. 2009-03-26 11:56:05 +01:00
Nikolay Sivov 751732e694 comctl32/tab: Draw tab button properly on TCIS_BUTTONPRESSED state. 2009-03-26 11:55:56 +01:00
Paul Vriens 7e7e27f7ff comctl32/tests: Fix a crash on W2K and below. 2009-03-25 11:06:19 +01:00
Nikolay Sivov bdd1206ca5 comctl32/listview: Some tests for LVM_GETSUBITEMRECT. 2009-03-24 12:43:05 +01:00
Nikolay Sivov 85c03a5a31 comctl32/ipaddress: Store current IP address text as a window text for IP Address control. 2009-03-24 12:42:56 +01:00
Nikolay Sivov b7d7d58978 comctl32/trackbar: Fix reverting to default value for TBM_SETPAGESIZE with lParam = -1. 2009-03-24 12:42:19 +01:00
Nikolay Sivov 92b0ad98e1 comctl32/tab: Implement TCM_[G,S]ETEXTENDEDSTYLE and TCS_EX_FLATSEPARATORS style. 2009-03-24 12:40:15 +01:00
Nikolay Sivov b896b92061 comctl32/tab: Fix button background filling on TCS_BUTTONS. 2009-03-24 12:39:17 +01:00
Nikolay Sivov 4585148547 comctl32/tab: Implement TCM_REMOVEIMAGE. 2009-03-24 12:38:37 +01:00
Nikolay Sivov b7f0dd64da comctl32: LVN_ITEMCHANGED notification should be sent for each item when group selected for ~LVS_OWNERDATA. 2009-03-13 11:28:31 +01:00
Nikolay Sivov 24dc6600fc comctl32: Fix item selection with VK_SPACE when Ctrl is pressed. 2009-03-11 13:03:31 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Nikolay Sivov 74e9b904b9 comctl32: Replace nonprintable characters with spaces on SB_SETTEXT. 2009-03-06 16:36:57 +01:00
Alexandre Julliard 74271fc4cf comctl32/tests: Disable a test that crashes on NT4. 2009-03-06 12:38:34 +01:00
Alexandre Julliard ff28ec0ddd comctl32/tests: Fix the monthcal window creation message sequence. 2009-03-06 12:38:28 +01:00
Alexandre Julliard f493122879 comctl32/tests: Set the listview image list after WM_CREATE has been processed. 2009-03-05 23:19:08 +01:00
Nikolay Sivov f35960200a comctl32: Correctly report systemcolor use for Treeview background. 2009-03-03 13:24:08 +01:00
Aurimas Fischer c5d0ff8370 comctl32: Add Lithuanian translation. 2009-03-02 15:07:55 +01:00
Gerald Pfeifer 2a7d98a52c comctl32: Simplify three TAB_ functions. 2009-03-02 13:59:51 +01:00
Igor Tarasov 08bd265f52 comctl32: Make REBAR_StyleChanged respect wParam. 2009-02-27 14:14:31 +01:00
Francois Gouget e7800f2a52 comctl32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:51 +01:00
Igor Tarasov b3b7ecb390 comctl32: Make listview forward HDN_ITEMCLICK. 2009-02-19 16:17:18 +01:00
Igor Tarasov d86a5a611d comctl32: Do not send LVN_DELETEITEM on LVM_DELETEALLITEMS for virtual listviews. 2009-02-19 16:17:18 +01:00
Igor Tarasov e02d80b775 comctl32: Implement LVN_ODFINDITEM. 2009-02-19 16:17:18 +01:00
Igor Tarasov 73b490b57d comctl32: Make LISTVIEW_ProcessLetterKeys accept Unicode characters. 2009-02-19 16:17:18 +01:00
Gerald Pfeifer 9d9880bd34 comctl32: Simplify eight TOOLBAR_ function invocations. 2009-02-16 16:01:37 +01:00
Gerald Pfeifer 91df8fd59c comctl32: Simplify fifteen tooltips function invocations. 2009-02-16 16:01:37 +01:00
Rein Klazes da257e3301 comctl32: Fix for owner draw statusbar.
Ownerdraw status bar should update on receiveing a SB_SETTEXT message,
even if the 'text' parameter has not changed. Fix with conformance
test.
2009-02-16 16:01:23 +01:00
Detlef Riekenberg bea3bff2bb comctl32/tests: The status control use a different formula in XP and up for the height. 2009-02-13 13:00:34 +01:00
Michael Stefaniuc da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +01:00
Michael Stefaniuc 9b626c2291 comctl32: Remove an one-off macro. 2009-02-13 13:00:22 +01:00
Francois Gouget f250f4fa04 Assorted spelling fixes. 2009-02-11 15:56:02 +01:00
Vitaliy Margolen c80fdb881a comctl32: Use style to distinguish between embedded and standalone propsheets.
Some programs alter propsheet style in the callback during creation to make
"embedded" propsheets. PSH_MODELESS controls modal/modeless operation only.
2009-02-09 13:21:34 +01:00
Michael Stefaniuc fc46bb1479 comctl32/tests: Remove superfluous pointer casts. 2009-02-06 14:54:01 +01:00
Detlef Riekenberg f78f4d89b7 comctl32/tests: Make the test dpi and theme aware by using SM_CYSIZE. 2009-02-04 14:27:25 +01:00
Mikołaj Zalewski aa7a0b85b0 comctl32: toolbar: Only changing TBSTYLE_EX_MIXEDBUTTONS should cause a recalc. 2009-02-02 15:48:26 +01:00
Mikołaj Zalewski 574c0dcc32 comctl32: toolbar: Unlike in listview, TB_SETEXTENDEDSTYLE takes the actual style, not a mask. 2009-02-02 15:48:26 +01:00
Mikołaj Zalewski 5de172af78 comctl32: toolbar: TB_SETBUTTONINFO should do a relayout instead of a recalc. 2009-02-02 15:48:26 +01:00
Mikołaj Zalewski ada088e62d comctl32: toolbar: Use different function for dumping of TBUTTON_INFO and TBBUTTON. 2009-02-02 15:48:26 +01:00
Mikołaj Zalewski ca9f7d3140 comctl32: toolbar: Move common TB_ADDBUTTONS and TB_INSERTBUTTONS code into a helper function, makes TB_INSERTBUTTON with a text perform a recalc (with testcase). 2009-02-02 15:48:26 +01:00
Detlef Riekenberg dd85159155 comctl32: Make the status control height dpi and theme aware. 2009-02-02 15:44:39 +01:00
Vitaliy Margolen edbea606f9 comctl32: Fix propsheet size calculation. 2009-02-02 15:21:45 +01:00
Gerald Pfeifer bb6e8e56ce comctl32: Simplify four functions by removing unused parameters. 2009-02-02 15:21:43 +01:00
Mikołaj Zalewski d31828b500 comctl32: toolbar: Make sure all TBUTTON_INFO fields are initialized when a button is added in the middle. 2009-01-28 12:09:51 +01:00
Alasdair Sinclair 4475045fe1 comctl32: Fix missing void in empty parameter list. 2009-01-26 15:07:30 +01:00
Alasdair Sinclair 4f0e6885d0 comctl32/tests: Fix missing void in empty parameter list. 2009-01-26 15:07:26 +01:00
Reece Dunn 7fcc9629f8 comctl32: Don't generate a fixme message for the TBSTYLE_EX_DOUBLEBUFFER extended style. 2009-01-26 14:30:41 +01:00
Gerald Pfeifer bcfc2027fb comctl32: Simplify ten functions by removing unused parameters. 2009-01-23 12:57:02 +01:00
Francois Gouget 02ace3613c comctl32/tests: Add a trailing '\n' to an ok() call. 2009-01-22 12:04:01 +01:00
André Hentschel 2ef02afe95 comctl32: Fix callback in treeview. 2009-01-21 10:25:06 +01:00
Mario Kacmar 2cf66e9a63 comctl32: Added Slovak translation. 2009-01-20 12:32:31 +01:00
Mikołaj Zalewski 390e1dfa28 comctl32: treeview: Add a test showing that a pszText of NULL is equivalent to LPSTR_CALLBACK. 2009-01-20 12:30:42 +01:00
Gerald Pfeifer e985ca06cf comctl32: Simplify twelve functions by removing unused parameters. 2009-01-19 14:50:39 +01:00
Gerald Pfeifer 2a06a97336 comctl32: Remove unused parameter from SYSLINK_WrapLine. 2009-01-19 12:46:41 +01:00
André Hentschel eda4872c45 comctl32/tests: Fix wrong comment-headline in toolbar.c. 2009-01-14 12:20:11 +01:00
Alexandre Julliard 76a2fe5cf7 comctl32/tests: Fix lparam checks in the treeview test for Win64. 2009-01-10 21:05:32 +01:00