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
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
Zsolt Vadász
wine
Commits
da2b2d67
Commit
da2b2d67
authored
22 years ago
by
Mehmet Yasar
Committed by
Alexandre Julliard
22 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Now, we are really erasing WS_CAPTION style.
parent
81f8264b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/commdlg/filedlg95.c
+4
-4
4 additions, 4 deletions
dlls/commdlg/filedlg95.c
with
4 additions
and
4 deletions
dlls/commdlg/filedlg95.c
+
4
−
4
View file @
da2b2d67
...
...
@@ -653,6 +653,10 @@ HRESULT WINAPI FileOpenDlgProcUserTemplate(HWND hwnd, UINT uMsg, WPARAM wParam,
{
case
WM_INITDIALOG
:
{
/* Hide caption since some program may leave it */
DWORD
Style
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
if
(
Style
&
WS_CAPTION
)
SetWindowLongA
(
hwnd
,
GWL_STYLE
,
Style
&
(
~
WS_CAPTION
));
fodInfos
=
(
FileOpenDlgInfos
*
)
lParam
;
lParam
=
(
LPARAM
)
fodInfos
->
ofnInfos
;
ArrangeCtrlPositions
(
hwnd
,
GetParent
(
hwnd
));
...
...
@@ -846,10 +850,6 @@ HRESULT WINAPI FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa
{
FileOpenDlgInfos
*
fodInfos
=
(
FileOpenDlgInfos
*
)
lParam
;
/* Hide caption since some program may leave it */
DWORD
Style
=
GetWindowLongA
(
hwnd
,
GWL_STYLE
);
if
(
Style
&
WS_CAPTION
)
SetWindowLongA
(
hwnd
,
GWL_STYLE
,
Style
&
(
~
WS_CAPTION
));
/* Adds the FileOpenDlgInfos in the property list of the dialog
so it will be easily accessible through a GetPropA(...) */
SetPropA
(
hwnd
,
FileOpenDlgInfosStr
,
(
HANDLE
)
fodInfos
);
...
...
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