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
803ca3cb
Commit
803ca3cb
authored
Jun 18, 2004
by
Mike Hearn
Committed by
Alexandre Julliard
Jun 18, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a dedicated debug channel for message boxes which outputs the
contents of the message.
parent
b6175f49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
msgbox.c
windows/msgbox.c
+3
-0
No files found.
windows/msgbox.c
View file @
803ca3cb
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include "wine/debug.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
dialog
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dialog
);
WINE_DECLARE_DEBUG_CHANNEL
(
msgbox
);
#define MSGBOX_IDICON 1088
#define MSGBOX_IDICON 1088
#define MSGBOX_IDTEXT 100
#define MSGBOX_IDTEXT 100
...
@@ -82,6 +83,8 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
...
@@ -82,6 +83,8 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
if
(
!
LoadStringW
(
lpmb
->
hInstance
,
LOWORD
(
lpmb
->
lpszText
),
buf
,
256
))
if
(
!
LoadStringW
(
lpmb
->
hInstance
,
LOWORD
(
lpmb
->
lpszText
),
buf
,
256
))
*
buf
=
0
;
/* FIXME ?? */
*
buf
=
0
;
/* FIXME ?? */
}
}
TRACE_
(
msgbox
)(
"%s
\n
"
,
debugstr_w
(
lpszText
));
SetWindowTextW
(
GetDlgItem
(
hwnd
,
MSGBOX_IDTEXT
),
lpszText
);
SetWindowTextW
(
GetDlgItem
(
hwnd
,
MSGBOX_IDTEXT
),
lpszText
);
/* Hide not selected buttons */
/* Hide not selected buttons */
...
...
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