Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
ca135647
Commit
ca135647
authored
Aug 30, 2002
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Aug 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement CBES_EX_NOSIZELIMIT style.
parent
175234c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
comboex.c
dlls/comctl32/comboex.c
+16
-7
No files found.
dlls/comctl32/comboex.c
View file @
ca135647
...
...
@@ -19,9 +19,6 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* FIXME:
* 1. Implement following extended styles:
* CBES_EX_NOSIZELIMIT
*/
#include <string.h>
...
...
@@ -399,9 +396,24 @@ static void COMBOEX_ReSize (COMBOEX_INFO *infoPtr)
TRACE
(
"upgraded height due to image: height=%d
\n
"
,
cy
);
}
SendMessageW
(
infoPtr
->
hwndSelf
,
CB_SETITEMHEIGHT
,
(
WPARAM
)
-
1
,
(
LPARAM
)
cy
);
if
(
infoPtr
->
hwndCombo
)
if
(
infoPtr
->
hwndCombo
)
{
SendMessageW
(
infoPtr
->
hwndCombo
,
CB_SETITEMHEIGHT
,
(
WPARAM
)
0
,
(
LPARAM
)
cy
);
if
(
!
(
infoPtr
->
flags
&
CBES_EX_NOSIZELIMIT
))
{
RECT
comboRect
;
if
(
GetWindowRect
(
infoPtr
->
hwndCombo
,
&
comboRect
))
{
RECT
ourRect
;
if
(
GetWindowRect
(
infoPtr
->
hwndSelf
,
&
ourRect
))
{
if
(
comboRect
.
bottom
>
ourRect
.
bottom
)
{
POINT
pt
=
{
ourRect
.
left
,
ourRect
.
top
};
if
(
ScreenToClient
(
infoPtr
->
hwndSelf
,
&
pt
))
MoveWindow
(
infoPtr
->
hwndSelf
,
pt
.
x
,
pt
.
y
,
ourRect
.
right
-
ourRect
.
left
,
comboRect
.
bottom
-
comboRect
.
top
,
FALSE
);
}
}
}
}
}
}
...
...
@@ -642,9 +654,6 @@ COMBOEX_SetExtendedStyle (COMBOEX_INFO *infoPtr, DWORD mask, DWORD style)
dwTemp
=
infoPtr
->
dwExtStyle
;
if
(
style
&
CBES_EX_NOSIZELIMIT
)
FIXME
(
"Extended style CBES_EX_NOSIZELIMIT implemented
\n
"
);
if
(
mask
)
infoPtr
->
dwExtStyle
=
(
infoPtr
->
dwExtStyle
&
~
mask
)
|
style
;
else
...
...
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