mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
little fixes
svn path=/trunk/; revision=8589
This commit is contained in:
parent
0c76856d9c
commit
246677c52f
3 changed files with 15 additions and 5 deletions
|
@ -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 @@ Applet1(VOID)
|
|||
|
||||
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));
|
||||
|
|
|
@ -39,7 +39,7 @@ END
|
|||
|
||||
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 @@ BEGIN
|
|||
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 @@ BEGIN
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue