Lined up Buttons.

Removed my broken attempt at understaind comboboxes.
Cleaned up WM_INITDIALOG.

svn path=/trunk/; revision=14170
This commit is contained in:
Steven Edwards 2005-03-18 00:56:34 +00:00
parent e995509c26
commit b4e1db6c92
3 changed files with 5 additions and 19 deletions

View file

@ -29,14 +29,10 @@ DlgMainProc(
)
{
TCHAR szString[256];
HWND hPlacementCombo;
switch(uMsg)
{
case WM_INITDIALOG:
hPlacementCombo = GetDlgItem(hwndDlg, IDC_LICENSE);
LoadString(hApplet, IDS_REACTOS, szString, sizeof(szString) / sizeof(TCHAR));
SendMessage(hPlacementCombo, CB_INSERTSTRING, 0, (LPARAM)szString);
break;
case WM_COMMAND:
@ -69,16 +65,6 @@ DlgMainProc(
}
break;
}
case WM_CLOSE:
{
EndDialog(hwndDlg, IDC_CANCEL);

View file

@ -22,10 +22,10 @@ BEGIN
CONTROL "Per Device or Per User", 102, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 13, 79, 107, 12
CONTROL "Per Server. Number of concurrent connections:", 103, "BUTTON", BS_AUTORADIOBUTTON | WS_CHILD | WS_VISIBLE, 13, 38, 163, 9
CONTROL "Product:", 105, "STATIC", SS_LEFT | WS_CHILD | WS_VISIBLE, 13, 20, 31, 8
CONTROL "", 106, "COMBOBOX", CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP, 49, 20, 171, 12
CONTROL "OK", 107, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 261, 7, 47, 14
CONTROL "Cancel", 108, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 263, 27, 45, 14
CONTROL "Help", 109, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 263, 48, 47, 14
CONTROL "", 106, "COMBOBOX", CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP, 49, 20, 171, 12
CONTROL "OK", 107, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 263, 7, 46, 14
CONTROL "Cancel", 108, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 263, 27, 46, 14
CONTROL "Help", 109, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 263, 48, 46, 14
CONTROL "Replication...", 110, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 263, 68, 46, 14
CONTROL "Add Licenses", 111, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 30, 56, 65, 15
CONTROL "Remove Licenses", 112, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 112, 56, 61, 16

View file

@ -6,8 +6,8 @@
#define IDC_CPLICON_1 1
#define IDD_PROPPAGE1 100
#define IDS_CPLNAME_1 1001
#define IDS_REACTOS 1002
#define IDS_CPLDESCRIPTION_1 2001
#define IDS_REACTOS 2002
#define IDC_LICENSE 106
#define IDC_OK 107