Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Münchhalfen
wine
Commits
70e0969e
Commit
70e0969e
authored
25 years ago
by
Eric Kohl
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
- added version messages
parent
663921f9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/comctl32/rebar.c
+30
-0
30 additions, 0 deletions
dlls/comctl32/rebar.c
include/rebar.h
+1
-0
1 addition, 0 deletions
include/rebar.h
with
31 additions
and
0 deletions
dlls/comctl32/rebar.c
+
30
−
0
View file @
70e0969e
...
...
@@ -910,6 +910,14 @@ REBAR_GetUnicodeFormat (HWND hwnd)
}
inline
static
LRESULT
REBAR_GetVersion
(
HWND
hwnd
)
{
REBAR_INFO
*
infoPtr
=
REBAR_GetInfoPtr
(
hwnd
);
return
infoPtr
->
iVersion
;
}
static
LRESULT
REBAR_HitTest
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
{
...
...
@@ -1522,6 +1530,21 @@ REBAR_SetUnicodeFormat (HWND hwnd, WPARAM wParam)
}
static
LRESULT
REBAR_SetVersion
(
HWND
hwnd
,
INT
iVersion
)
{
REBAR_INFO
*
infoPtr
=
REBAR_GetInfoPtr
(
hwnd
);
INT
iOldVersion
=
infoPtr
->
iVersion
;
if
(
iVersion
>
COMCTL32_VERSION
)
return
-
1
;
infoPtr
->
iVersion
=
iVersion
;
return
iOldVersion
;
}
static
LRESULT
REBAR_ShowBand
(
HWND
hwnd
,
WPARAM
wParam
,
LPARAM
lParam
)
{
...
...
@@ -1592,6 +1615,7 @@ REBAR_Create (HWND hwnd, WPARAM wParam, LPARAM lParam)
SetWindowLongA
(
hwnd
,
0
,
(
DWORD
)
infoPtr
);
/* initialize info structure */
infoPtr
->
iVersion
=
0
;
infoPtr
->
clrBk
=
CLR_NONE
;
infoPtr
->
clrText
=
RGB
(
0
,
0
,
0
);
...
...
@@ -1919,6 +1943,9 @@ REBAR_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
RB_GETUNICODEFORMAT
:
return
REBAR_GetUnicodeFormat
(
hwnd
);
case
CCM_GETVERSION
:
return
REBAR_GetVersion
(
hwnd
);
case
RB_HITTEST
:
return
REBAR_HitTest
(
hwnd
,
wParam
,
lParam
);
...
...
@@ -1967,6 +1994,9 @@ REBAR_WindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
case
RB_SETUNICODEFORMAT
:
return
REBAR_SetUnicodeFormat
(
hwnd
,
wParam
);
case
CCM_SETVERSION
:
return
REBAR_SetVersion
(
hwnd
,
(
INT
)
wParam
);
case
RB_SHOWBAND
:
return
REBAR_ShowBand
(
hwnd
,
wParam
,
lParam
);
...
...
This diff is collapsed.
Click to expand it.
include/rebar.h
+
1
−
0
View file @
70e0969e
...
...
@@ -60,6 +60,7 @@ typedef struct tagREBAR_INFO
HCURSOR
hcurHorz
;
/* handle to the EW cursor */
HCURSOR
hcurVert
;
/* handle to the NS cursor */
HCURSOR
hcurDrag
;
/* handle to the drag cursor */
INT
iVersion
;
/* version number */
REBAR_BAND
*
bands
;
/* pointer to the array of rebar bands */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment