Lined up Buttons.
Removed my broken attempt at understaind comboboxes.
Cleaned up WM_INITDIALOG.
Modified: trunk/reactos/lib/cpl/liccpa/liccpa.c
Modified: trunk/reactos/lib/cpl/liccpa/liccpa.rc
Modified: trunk/reactos/lib/cpl/liccpa/resource.h
_____
Modified: trunk/reactos/lib/cpl/liccpa/liccpa.c
--- trunk/reactos/lib/cpl/liccpa/liccpa.c 2005-03-17 23:52:28 UTC
(rev 14169)
+++ trunk/reactos/lib/cpl/liccpa/liccpa.c 2005-03-18 00:56:34 UTC
(rev 14170)
@@ -29,14 +29,10 @@
)
{
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 @@
}
break;
}
-
-
-
-
-
-
-
-
-
-
case WM_CLOSE:
{
EndDialog(hwndDlg, IDC_CANCEL);
_____
Modified: trunk/reactos/lib/cpl/liccpa/liccpa.rc
--- trunk/reactos/lib/cpl/liccpa/liccpa.rc 2005-03-17 23:52:28 UTC
(rev 14169)
+++ trunk/reactos/lib/cpl/liccpa/liccpa.rc 2005-03-18 00:56:34 UTC
(rev 14170)
@@ -22,10 +22,10 @@
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
_____
Modified: trunk/reactos/lib/cpl/liccpa/resource.h
--- trunk/reactos/lib/cpl/liccpa/resource.h 2005-03-17 23:52:28 UTC
(rev 14169)
+++ trunk/reactos/lib/cpl/liccpa/resource.h 2005-03-18 00:56:34 UTC
(rev 14170)
@@ -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