Commit in reactos/lib/cpl/cplsample on MAIN
cplsample.c+2-21.1 -> 1.2
cplsample.rc+3-31.1 -> 1.2
resource.h+101.1 -> 1.2
+15-5
3 modified files
little fixes

reactos/lib/cpl/cplsample
cplsample.c 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- cplsample.c	5 Feb 2004 19:17:11 -0000	1.1
+++ cplsample.c	8 Mar 2004 14:20:14 -0000	1.2
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: cplsample.c,v 1.1 2004/02/05 19:17:11 weiden Exp $
+/* $Id: cplsample.c,v 1.2 2004/03/08 14:20:14 weiden Exp $
  *
  * PROJECT:         ReactOS Sample Control Panel
  * FILE:            lib/cpl/cplsample/cplsample.c
@@ -148,7 +148,7 @@
   
   ZeroMemory(&psh, sizeof(PROPSHEETHEADER));
   psh.dwSize = sizeof(PROPSHEETHEADER);
-  psh.dwFlags =  PSH_PROPSHEETPAGE | PSH_USECALLBACK;
+  psh.dwFlags =  PSH_PROPSHEETPAGE | PSH_USECALLBACK | PSH_PROPTITLE;
   psh.hwndParent = NULL;
   psh.hInstance = hApplet;
   psh.u1.hIcon = LoadIcon(hApplet, MAKEINTRESOURCE(IDC_CPLICON_1));

reactos/lib/cpl/cplsample
cplsample.rc 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- cplsample.rc	5 Feb 2004 19:17:11 -0000	1.1
+++ cplsample.rc	8 Mar 2004 14:20:14 -0000	1.2
@@ -39,7 +39,7 @@
 
 IDC_CPLICON_1 ICON "resources/cpl_icon1.ico"
 
-IDD_PROPPAGE1 DIALOGEX 0, 0, 235, 156
+IDD_PROPPAGE1 DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
 STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
 CAPTION "Property Page 1"
 FONT 8, "MS Shell Dlg", 0, 0, 0x0
@@ -47,7 +47,7 @@
   LTEXT "Property Page 1",-1,73,74,90,8
 END
 
-IDD_PROPPAGE2 DIALOGEX 0, 0, 235, 156
+IDD_PROPPAGE2 DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
 STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
 CAPTION "Property Page 2"
 FONT 8, "MS Shell Dlg", 0, 0, 0x0
@@ -55,7 +55,7 @@
   LTEXT "Property Page 2",-1,73,74,90,8
 END
 
-IDD_PROPPAGE3 DIALOGEX 0, 0, 235, 156
+IDD_PROPPAGE3 DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT
 STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
 CAPTION "Property Page 3"
 FONT 8, "MS Shell Dlg", 0, 0, 0x0

reactos/lib/cpl/cplsample
resource.h 1.1 -> 1.2
diff -u -r1.1 -r1.2
--- resource.h	5 Feb 2004 19:17:11 -0000	1.1
+++ resource.h	8 Mar 2004 14:20:14 -0000	1.2
@@ -1,6 +1,16 @@
 #ifndef __CPL_RESOURCE_H
 #define __CPL_RESOURCE_H
 
+/* metrics */
+#define PROPSHEETWIDTH  246
+#define PROPSHEETHEIGHT 228
+#define PROPSHEETPADDING        6
+#define SYSTEM_COLUMN   (18 * PROPSHEETPADDING)
+#define LABELLINE(x)    (((PROPSHEETPADDING + 2) * x) + (x + 2))
+#define ICONSIZE        16
+
+/* ids */
+
 #define IDC_CPLICON_1	1
 
 #define IDD_PROPPAGE1	100
CVSspam 0.2.8