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
1679f2c2
Commit
1679f2c2
authored
Nov 14, 1999
by
Juergen Schmied
Committed by
Alexandre Julliard
Nov 14, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- corrected control positions
- use the icons from comctl32 for the buttons
parent
6ca85a5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
9 deletions
+14
-9
cdlg_En.rc
dlls/commdlg/cdlg_En.rc
+8
-8
filedlg95.c
dlls/commdlg/filedlg95.c
+6
-1
No files found.
dlls/commdlg/cdlg_En.rc
View file @
1679f2c2
...
...
@@ -276,19 +276,19 @@ STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Open"
FONT 8, "helv"
{
LTEXT "Look &in",IDC_LOOKINSTATIC,7,6,
27
,8, SS_NOTIFY
COMBOBOX IDC_LOOKIN,
36,3,138,3
00,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
LTEXT "Look &in",IDC_LOOKINSTATIC,7,6,
41
,8, SS_NOTIFY
COMBOBOX IDC_LOOKIN,
50,3,138,1
00,CBS_DROPDOWNLIST | CBS_OWNERDRAWFIXED | CBS_HASSTRINGS | WS_VSCROLL | WS_TABSTOP
LTEXT "" , IDC_TOOLBARSTATIC, 1
72, 2, 10
2, 17, NOT WS_GROUP | NOT WS_VISIBLE
LTEXT "" , IDC_TOOLBARSTATIC, 1
88, 2, 8
2, 17, NOT WS_GROUP | NOT WS_VISIBLE
LISTBOX IDC_SHELLSTATIC,4,20,272,85, LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_MULTICOLUMN | WS_HSCROLL | NOT WS_VISIBLE
LTEXT "File &name:",IDC_FILENAMESTATIC,5,112,4
8
,8, SS_NOTIFY
EDITTEXT IDC_FILENAME,54,11
1
,155,12,ES_AUTOHSCROLL
LTEXT "File &name:",IDC_FILENAMESTATIC,5,112,4
6
,8, SS_NOTIFY
EDITTEXT IDC_FILENAME,54,11
0
,155,12,ES_AUTOHSCROLL
LTEXT "Files of &type",IDC_FILETYPESTATIC,5,1
31,48
,8, SS_NOTIFY
COMBOBOX IDC_FILETYPE,54,12
9,155,100
,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
LTEXT "Files of &type",IDC_FILETYPESTATIC,5,1
28,42
,8, SS_NOTIFY
COMBOBOX IDC_FILETYPE,54,12
6,155,53
,CBS_DROPDOWN | WS_VSCROLL | WS_TABSTOP
CONTROL "Open as &read-only",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,14
8,74
,10
CONTROL "Open as &read-only",IDC_OPENREADONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,54,14
5,100
,10
DEFPUSHBUTTON "&Open", IDOK,222,110,50,14
PUSHBUTTON "Cancel", IDCANCEL,222,128,50,14
...
...
dlls/commdlg/filedlg95.c
View file @
1679f2c2
...
...
@@ -1005,6 +1005,7 @@ static LRESULT FILEDLG95_InitUI(HWND hwnd)
{
VIEW_LIST
,
FCIDM_TB_SMALLICON
,
TBSTATE_ENABLED
,
TBSTYLE_BUTTON
,
{
0
,
0
},
0
,
0
},
{
VIEW_DETAILS
,
FCIDM_TB_REPORTVIEW
,
TBSTATE_ENABLED
,
TBSTYLE_BUTTON
,
{
0
,
0
},
0
,
0
},
};
TBADDBITMAP
tba
=
{
HINST_COMMCTRL
,
IDB_VIEW_SMALL_COLOR
};
RECT
rectTB
;
FileOpenDlgInfos
*
fodInfos
=
(
FileOpenDlgInfos
*
)
GetPropA
(
hwnd
,
FileOpenDlgInfosStr
);
...
...
@@ -1030,7 +1031,11 @@ static LRESULT FILEDLG95_InitUI(HWND hwnd)
SWP_SHOWWINDOW
|
SWP_NOACTIVATE
|
SWP_NOZORDER
);
SendMessageA
(
fodInfos
->
DlgInfos
.
hwndTB
,
TB_BUTTONSTRUCTSIZE
,
(
WPARAM
)
sizeof
(
TBBUTTON
),
0
);
SendMessageA
(
fodInfos
->
DlgInfos
.
hwndTB
,
TB_LOADIMAGES
,
(
WPARAM
)
IDB_VIEW_SMALL_COLOR
,
HINST_COMMCTRL
);
/* fixme: use TB_LOADIMAGES when implemented */
/* SendMessageA(fodInfos->DlgInfos.hwndTB, TB_LOADIMAGES, (WPARAM) IDB_VIEW_SMALL_COLOR, HINST_COMMCTRL);*/
SendMessageA
(
fodInfos
->
DlgInfos
.
hwndTB
,
TB_ADDBITMAP
,
(
WPARAM
)
12
,
(
LPARAM
)
&
tba
);
SendMessageA
(
fodInfos
->
DlgInfos
.
hwndTB
,
TB_ADDBUTTONSA
,
(
WPARAM
)
6
,(
LPARAM
)
&
tbb
);
SendMessageA
(
fodInfos
->
DlgInfos
.
hwndTB
,
TB_AUTOSIZE
,
0
,
0
);
...
...
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