1706f2543Smrg/*
2706f2543Smrg * Copyright (c) 2005 Alexander Gottwald
3706f2543Smrg *
4706f2543Smrg * Permission is hereby granted, free of charge, to any person obtaining a
5706f2543Smrg * copy of this software and associated documentation files (the "Software"),
6706f2543Smrg * to deal in the Software without restriction, including without limitation
7706f2543Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8706f2543Smrg * and/or sell copies of the Software, and to permit persons to whom the
9706f2543Smrg * Software is furnished to do so, subject to the following conditions:
10706f2543Smrg *
11706f2543Smrg * The above copyright notice and this permission notice shall be included in
12706f2543Smrg * all copies or substantial portions of the Software.
13706f2543Smrg *
14706f2543Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15706f2543Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16706f2543Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17706f2543Smrg * THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18706f2543Smrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19706f2543Smrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20706f2543Smrg * DEALINGS IN THE SOFTWARE.
21706f2543Smrg *
22706f2543Smrg * Except as contained in this notice, the name(s) of the above copyright
23706f2543Smrg * holders shall not be used in advertising or otherwise to promote the sale,
24706f2543Smrg * use or other dealings in this Software without prior written authorization.
25706f2543Smrg */
26706f2543Smrg#include <windows.h>
27706f2543Smrg#include "resources.h"
28706f2543Smrg
29706f2543Smrg#ifndef STR_CAPTION_DISPLAY
30706f2543Smrg#include "strings.rc"
31706f2543Smrg#endif
32706f2543Smrg
33706f2543SmrgIDD_DISPLAY DIALOGEX 0, 0, 317, 143
34706f2543SmrgSTYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTERMOUSE
35706f2543SmrgCAPTION STR_CAPTION_DISPLAY
36706f2543SmrgFONT 8, "MS Shell Dlg", 400, 0, 0x1
37706f2543SmrgBEGIN
38706f2543Smrg    AUTORADIOBUTTON STR_MULTIWINDOW,IDC_MULTIWINDOW,7,25,70,24,BS_MULTILINE|BS_TOP
39706f2543Smrg    AUTORADIOBUTTON STR_FULLSCREEN,IDC_FULLSCREEN,157,25,70,24,BS_MULTILINE|BS_TOP
40706f2543Smrg    AUTORADIOBUTTON STR_WINDOWED,IDC_WINDOWED,7,75,70,24,BS_MULTILINE|BS_TOP
41706f2543Smrg    AUTORADIOBUTTON STR_NODECORATION,IDC_NODECORATION,157,75,70,24,BS_MULTILINE|BS_TOP
42706f2543Smrg
43706f2543Smrg    CONTROL         "IMG_MULTIWINDOW",IDC_MULTIWINDOW_IMG,"Static",SS_BITMAP | SS_NOTIFY,80,10,0,0
44706f2543Smrg    CONTROL         "IMG_FULLSCREEN",IDC_FULLSCREEN_IMG,"Static",SS_BITMAP | SS_NOTIFY,230,10,0,0
45706f2543Smrg    CONTROL         "IMG_WINDOWED",IDC_WINDOWED_IMG,"Static",SS_BITMAP | SS_NOTIFY,80,60,0,0
46706f2543Smrg    CONTROL         "IMG_NODECORATION",IDC_NODECORATION_IMG,"Static",SS_BITMAP | SS_NOTIFY,230,60,0,0
47706f2543Smrg
48706f2543Smrg    LTEXT           STR_DISPLAY_DESC,IDC_DISPLAY_DESC,7,120,64,12
49706f2543Smrg    EDITTEXT        IDC_DISPLAY,80,118,67,12,ES_NUMBER
50706f2543SmrgEND
51706f2543Smrg
52706f2543SmrgIDD_CLIENTS DIALOGEX 0, 0, 317, 143
53706f2543SmrgSTYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTERMOUSE
54706f2543SmrgCAPTION STR_CAPTION_CLIENTS
55706f2543SmrgFONT 8, "MS Shell Dlg", 400, 0, 0x1
56706f2543SmrgBEGIN
57706f2543Smrg    AUTORADIOBUTTON STR_CLIENT_NONE,IDC_CLIENT_NONE,7,14,300,10
58706f2543Smrg    AUTORADIOBUTTON STR_CLIENT,IDC_CLIENT,7,56,300,10
59706f2543Smrg    AUTORADIOBUTTON STR_XDMCP,IDC_XDMCP,7,98,300,10
60706f2543Smrg
61706f2543Smrg    LTEXT           STR_CLIENT_NONE_DESC,IDC_CLIENT_NONE_DESC,19,28,280,27
62706f2543Smrg    LTEXT           STR_CLIENT_DESC,IDC_CLIENT_DESC,19,70,280,27
63706f2543Smrg    LTEXT           STR_XDMCP_DESC,IDC_XDMCP_DESC,19,112,280,27
64706f2543SmrgEND
65706f2543Smrg
66706f2543SmrgIDD_PROGRAM DIALOGEX 0, 0, 317, 143
67706f2543SmrgSTYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTERMOUSE
68706f2543SmrgCAPTION STR_CAPTION_PROGRAM
69706f2543SmrgFONT 8, "MS Shell Dlg", 400, 0, 0x1
70706f2543SmrgBEGIN
71706f2543Smrg    LTEXT           STR_CLIENT_PROGRAM_DESC,IDC_CLIENT_PROGRAM_DESC,7,14,64,10
72706f2543Smrg    COMBOBOX        IDC_CLIENT_PROGRAM,70,12,64,54,CBS_DROPDOWN | WS_VSCROLL
73706f2543Smrg
74706f2543Smrg    AUTORADIOBUTTON STR_CLIENT_LOCAL,IDC_CLIENT_LOCAL,7,28,300,10
75706f2543Smrg    AUTORADIOBUTTON STR_CLIENT_REMOTE,IDC_CLIENT_REMOTE,7,42,300,10
76706f2543Smrg    
77706f2543Smrg    LTEXT           STR_CLIENT_PROTOCOL_DESC,IDC_CLIENT_PROTOCOL_DESC,19,56,70,10
78706f2543Smrg    COMBOBOX        IDC_CLIENT_PROTOCOL,100,54,64,54,CBS_DROPDOWNLIST | WS_VSCROLL
79706f2543Smrg    
80706f2543Smrg    LTEXT           STR_CLIENT_HOST_DESC,IDC_CLIENT_HOST_DESC,19,70,70,10
81706f2543Smrg    LTEXT           STR_CLIENT_USER_DESC,IDC_CLIENT_USER_DESC,19,84,70,10
82706f2543Smrg    EDITTEXT        IDC_CLIENT_HOST,100,68,64,12
83706f2543Smrg    EDITTEXT        IDC_CLIENT_USER,100,82,64,12
84706f2543SmrgEND
85706f2543Smrg
86706f2543SmrgIDD_XDMCP DIALOGEX 0, 0, 317, 143
87706f2543SmrgSTYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTERMOUSE
88706f2543SmrgCAPTION STR_CAPTION_XDMCP
89706f2543SmrgFONT 8, "MS Shell Dlg", 400, 0, 0x1
90706f2543SmrgBEGIN
91706f2543Smrg    AUTORADIOBUTTON STR_XDMCP_QUERY, IDC_XDMCP_QUERY,7,14,64,10
92706f2543Smrg    EDITTEXT        IDC_XDMCP_HOST,78,12,64,12
93706f2543Smrg    AUTOCHECKBOX    STR_XDMCP_INDIRECT,IDC_XDMCP_INDIRECT,19,28,280,10
94706f2543Smrg    AUTORADIOBUTTON STR_XDMCP_BROADCAST, IDC_XDMCP_BROADCAST,7,42,300,10
95706f2543Smrg    LTEXT           STR_XDMCP_QUERY_DESC,IDC_XDMCP_QUERY_DESC,7,56,300,42
96706f2543SmrgEND
97706f2543Smrg
98706f2543SmrgIDD_CLIPBOARD DIALOGEX 0, 0, 317, 143
99706f2543SmrgSTYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTERMOUSE
100706f2543SmrgCAPTION STR_CAPTION_CLIPBOARD
101706f2543SmrgFONT 8, "MS Shell Dlg", 400, 0, 0x1
102706f2543SmrgBEGIN
103706f2543Smrg    AUTOCHECKBOX    STR_CLIPBOARD,IDC_CLIPBOARD,7,14,300,10
104706f2543Smrg    LTEXT           STR_CLIPBOARD_DESC,IDC_CLIPBOARD_DESC,19,28,280,27
105706f2543Smrg
106706f2543Smrg    LTEXT           STR_EXTRA_PARAMS_DESC,IDC_EXTRA_PARAMS_DESC,7,56,280,10
107706f2543Smrg    EDITTEXT        IDC_EXTRA_PARAMS,7,70,128,12
108706f2543SmrgEND
109706f2543Smrg
110706f2543SmrgIDD_FINISH DIALOGEX 0, 0, 317, 143
111706f2543SmrgSTYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CENTERMOUSE
112706f2543SmrgCAPTION STR_CAPTION_FINISH
113706f2543SmrgFONT 8, "MS Shell Dlg", 400, 0, 0x1
114706f2543SmrgBEGIN
115706f2543Smrg    LTEXT           STR_FINISH_DESC,IDC_FINISH_DESC,7,14,300,28
116706f2543Smrg    LTEXT           STR_FINISH_SAVE_DESC,IDC_FINISH_SAVE_DESC,7,56,300,12
117706f2543Smrg    PUSHBUTTON      STR_FINISH_SAVE,IDC_FINISH_SAVE,7,68,75,14 
118706f2543SmrgEND
119