Commit 44bd9f06 authored by Thuy Nguyen's avatar Thuy Nguyen Committed by Alexandre Julliard

First patch implementing property sheets.

parent f9c486ae
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "nativefont.h" #include "nativefont.h"
#include "pager.h" #include "pager.h"
#include "progress.h" #include "progress.h"
#include "propsheet.h"
#include "rebar.h" #include "rebar.h"
#include "status.h" #include "status.h"
#include "tab.h" #include "tab.h"
...@@ -78,7 +77,6 @@ COMCTL32_LibMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -78,7 +77,6 @@ COMCTL32_LibMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
HOTKEY_Register (); HOTKEY_Register ();
LISTVIEW_Register (); LISTVIEW_Register ();
PROGRESS_Register (); PROGRESS_Register ();
PROPSHEET_Register ();
STATUS_Register (); STATUS_Register ();
TAB_Register (); TAB_Register ();
TOOLBAR_Register (); TOOLBAR_Register ();
...@@ -106,7 +104,6 @@ COMCTL32_LibMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) ...@@ -106,7 +104,6 @@ COMCTL32_LibMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
NATIVEFONT_Unregister (); NATIVEFONT_Unregister ();
PAGER_Unregister (); PAGER_Unregister ();
PROGRESS_Unregister (); PROGRESS_Unregister ();
PROPSHEET_UnRegister ();
REBAR_Unregister (); REBAR_Unregister ();
STATUS_Unregister (); STATUS_Unregister ();
TAB_Unregister (); TAB_Unregister ();
......
...@@ -43,7 +43,8 @@ typedef enum ...@@ -43,7 +43,8 @@ typedef enum
SYSRES_DIALOG_CHOOSE_COLOR, SYSRES_DIALOG_CHOOSE_COLOR,
SYSRES_DIALOG_FIND_TEXT, SYSRES_DIALOG_FIND_TEXT,
SYSRES_DIALOG_REPLACE_TEXT, SYSRES_DIALOG_REPLACE_TEXT,
SYSRES_DIALOG_PRINT32 SYSRES_DIALOG_PRINT32,
SYSRES_DIALOG_PROPSHEET
} SYSTEM_RESOURCE; } SYSTEM_RESOURCE;
extern void LIBRES_RegisterResources(const wrc_resource32_t * const * Res); extern void LIBRES_RegisterResources(const wrc_resource32_t * const * Res);
......
...@@ -292,3 +292,15 @@ FONT 8, "Helv" ...@@ -292,3 +292,15 @@ FONT 8, "Helv"
LTEXT "&from:", stc11,55,124,16,8 LTEXT "&from:", stc11,55,124,16,8
} }
PROPSHEET DIALOG DISCARDABLE 0, 0, 292, 159
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Properties for "
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK", IDOK,72,138,50,14
PUSHBUTTON "Cancel", IDCANCEL,127,138,50,14
PUSHBUTTON "&Apply", 12321,181,138,50,14
PUSHBUTTON "Help", IDHELP,235,138,50,14
CONTROL "Tab", 12320,"SysTabControl32",WS_CLIPSIBLINGS,7,7,278,125
END
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment