Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ac514e1a
Commit
ac514e1a
authored
Oct 31, 1999
by
Thuy Nguyen
Committed by
Alexandre Julliard
Oct 31, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PSM_ADDPAGE returns TRUE or FALSE.
parent
1ddce716
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
propsheet.c
dlls/comctl32/propsheet.c
+15
-2
No files found.
dlls/comctl32/propsheet.c
View file @
ac514e1a
...
...
@@ -1517,7 +1517,7 @@ static BOOL PROPSHEET_AddPage(HWND hwndDlg,
psInfo
->
nPages
++
;
return
FALS
E
;
return
TRU
E
;
}
/******************************************************************************
...
...
@@ -2073,8 +2073,21 @@ PROPSHEET_DialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
}
case
PSM_ADDPAGE
:
PROPSHEET_AddPage
(
hwnd
,
(
HPROPSHEETPAGE
)
lParam
);
{
/*
* Note: MSVC++ 6.0 documentation says that PSM_ADDPAGE does not have
* a return value. This is not true. PSM_ADDPAGE returns TRUE
* on success or FALSE otherwise, as specified on MSDN Online.
* Also see the MFC code for
* CPropertySheet::AddPage(CPropertyPage* pPage).
*/
BOOL
msgResult
=
PROPSHEET_AddPage
(
hwnd
,
(
HPROPSHEETPAGE
)
lParam
);
SetWindowLongA
(
hwnd
,
DWL_MSGRESULT
,
msgResult
);
return
TRUE
;
}
case
PSM_REMOVEPAGE
:
PROPSHEET_RemovePage
(
hwnd
,
(
int
)
wParam
,
(
HPROPSHEETPAGE
)
lParam
);
...
...
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