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
347049bc
Commit
347049bc
authored
Nov 02, 2010
by
André Hentschel
Committed by
Alexandre Julliard
Nov 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wordpad: Replace obsolete styles.
parent
61d23722
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wordpad.c
programs/wordpad/wordpad.c
+4
-4
No files found.
programs/wordpad/wordpad.c
View file @
347049bc
...
...
@@ -162,7 +162,7 @@ static void AddButton(HWND hwndToolBar, int nImage, int nCommand)
button
.
iBitmap
=
nImage
;
button
.
idCommand
=
nCommand
;
button
.
fsState
=
TBSTATE_ENABLED
;
button
.
fsStyle
=
TBSTYLE
_BUTTON
;
button
.
fsStyle
=
BTNS
_BUTTON
;
button
.
dwData
=
0
;
button
.
iString
=
-
1
;
SendMessageW
(
hwndToolBar
,
TB_ADDBUTTONSW
,
1
,
(
LPARAM
)
&
button
);
...
...
@@ -176,7 +176,7 @@ static void AddSeparator(HWND hwndToolBar)
button
.
iBitmap
=
-
1
;
button
.
idCommand
=
0
;
button
.
fsState
=
0
;
button
.
fsStyle
=
TBSTYLE
_SEP
;
button
.
fsStyle
=
BTNS
_SEP
;
button
.
dwData
=
0
;
button
.
iString
=
-
1
;
SendMessageW
(
hwndToolBar
,
TB_ADDBUTTONSW
,
1
,
(
LPARAM
)
&
button
);
...
...
@@ -1818,7 +1818,7 @@ static LRESULT OnCreate( HWND hWnd )
if
(
!
SendMessageW
(
hReBarWnd
,
RB_SETBARINFO
,
0
,
(
LPARAM
)
&
rbi
))
return
-
1
;
hToolBarWnd
=
CreateToolbarEx
(
hReBarWnd
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
WS_CHILD
|
TBSTYLE_TOOLTIPS
|
TBSTYLE
_BUTTON
,
hToolBarWnd
=
CreateToolbarEx
(
hReBarWnd
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
WS_CHILD
|
TBSTYLE_TOOLTIPS
|
BTNS
_BUTTON
,
IDC_TOOLBAR
,
1
,
hInstance
,
IDB_TOOLBAR
,
NULL
,
0
,
...
...
@@ -1880,7 +1880,7 @@ static LRESULT OnCreate( HWND hWnd )
SendMessageW
(
hReBarWnd
,
RB_INSERTBAND
,
-
1
,
(
LPARAM
)
&
rbb
);
hFormatBarWnd
=
CreateToolbarEx
(
hReBarWnd
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
TBSTYLE_TOOLTIPS
|
TBSTYLE
_BUTTON
,
CCS_NOPARENTALIGN
|
CCS_NOMOVEY
|
WS_VISIBLE
|
TBSTYLE_TOOLTIPS
|
BTNS
_BUTTON
,
IDC_FORMATBAR
,
8
,
hInstance
,
IDB_FORMATBAR
,
NULL
,
0
,
16
,
16
,
16
,
16
,
sizeof
(
TBBUTTON
));
AddButton
(
hFormatBarWnd
,
0
,
ID_FORMAT_BOLD
);
...
...
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