Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d0c950c8
Commit
d0c950c8
authored
Oct 11, 2004
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Oct 11, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Audit the listbox control.
Fix some indentation problems.
parent
e5fdc454
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
listbox.c
dlls/user/listbox.c
+19
-9
No files found.
dlls/user/listbox.c
View file @
d0c950c8
...
...
@@ -16,6 +16,24 @@
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* NOTES
*
* This code was audited for completeness against the documented features
* of Comctl32.dll version 6.0 on Oct. 9, 2004, by Dimitrie O. Paun.
*
* Unless otherwise noted, we believe this code to be complete, as per
* the specification mentioned above.
* If you discover missing features, or bugs, please note them below.
*
* TODO:
* - GetListBoxInfo()
* - LB_GETLISTBOXINFO
* - LBS_COMBOBOX
* - LBS_NODATA
* - LBS_STANDARD
* - LB_SETLOCALE: some FIXMEs remain
* - LBS_USETABSTOPS: some FIXMEs remain
*/
#include <string.h>
...
...
@@ -40,14 +58,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
listbox
);
WINE_DECLARE_DEBUG_CHANNEL
(
combo
);
/* Unimplemented yet:
* - LBS_USETABSTOPS
* - Locale handling
*
* Probably needs improvement:
* - LBS_NOSEL
*/
/* Items array granularity */
#define LB_ARRAY_GRANULARITY 16
...
...
@@ -565,7 +575,7 @@ static void LISTBOX_PaintItem( HWND hwnd, LB_DESCR *descr, HDC hdc,
if
(
action
==
ODA_FOCUS
)
DrawFocusRect
(
hdc
,
rect
);
else
FIXME
(
"called with an out of bounds index %d(%d) in owner draw, Not good.
\n
"
,
index
,
descr
->
nb_items
);
ERR
(
"called with an out of bounds index %d(%d) in owner draw, Not good.
\n
"
,
index
,
descr
->
nb_items
);
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment