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
93c68a7e
Commit
93c68a7e
authored
May 01, 1999
by
Thuy Nguyen
Committed by
Alexandre Julliard
May 01, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for adding and removing pages dynamically from a
property sheet.
parent
9aded513
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
3 deletions
+37
-3
propsheet.c
dlls/comctl32/propsheet.c
+0
-0
propsheet.h
dlls/comctl32/propsheet.h
+16
-0
rsrc.rc
dlls/comctl32/rsrc.rc
+5
-3
tab.c
dlls/comctl32/tab.c
+16
-0
No files found.
dlls/comctl32/propsheet.c
View file @
93c68a7e
This diff is collapsed.
Click to expand it.
dlls/comctl32/propsheet.h
0 → 100644
View file @
93c68a7e
/******************************************************************************
*
* Property Sheets
*
* Copyright 1999 Thuy Nguyen
*
*/
extern
HMODULE
COMCTL32_hModule
;
#define IDD_PROPSHEET 1006
#define IDD_WIZARD 1020
#define IDC_TABCONTROL 12320
#define IDC_APPLY_BUTTON 12321
dlls/comctl32/rsrc.rc
View file @
93c68a7e
#include "winuser.h"
#include "propsheet.h"
PROPSHEET DIALOG DISCARDABLE 0, 0, 292, 159
IDD_PROPSHEET DIALOG DISCARDABLE 0, 0, 292, 159
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Properties for "
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK", IDOK,72,138,50,14
PUSHBUTTON "Cancel", IDCANCEL,127,138,50,14
PUSHBUTTON "&Apply",
12321
,181,138,50,14
PUSHBUTTON "&Apply",
IDC_APPLY_BUTTON
,181,138,50,14
PUSHBUTTON "Help", IDHELP,235,138,50,14
CONTROL "Tab",
12320
,"SysTabControl32",WS_CLIPSIBLINGS,7,7,278,125
CONTROL "Tab",
IDC_TABCONTROL
,"SysTabControl32",WS_CLIPSIBLINGS,7,7,278,125
END
dlls/comctl32/tab.c
View file @
93c68a7e
...
...
@@ -1422,6 +1422,22 @@ TAB_DeleteItem (HWND hwnd, WPARAM wParam, LPARAM lParam)
(
infoPtr
->
uNumItem
-
iItem
)
*
sizeof
(
TAB_ITEM
));
COMCTL32_Free
(
oldItems
);
/*
* Readjust the selected index.
*/
if
((
iItem
==
infoPtr
->
iSelected
)
&&
(
iItem
>
0
))
infoPtr
->
iSelected
--
;
if
(
iItem
<
infoPtr
->
iSelected
)
infoPtr
->
iSelected
--
;
/*
* Reposition and repaint tabs.
*/
TAB_SetItemBounds
(
hwnd
);
TAB_InvalidateTabArea
(
hwnd
,
infoPtr
);
bResult
=
TRUE
;
}
...
...
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