mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
option "display version on desktop background"
svn path=/branches/lean-explorer/; revision=8908
This commit is contained in:
@@ -26,6 +26,9 @@
|
||||
//
|
||||
|
||||
|
||||
#define PM_DISPLAY_VERSION (WM_APP+0x24)
|
||||
|
||||
|
||||
/// subclassed Background window behind the visible desktop window
|
||||
struct BackgroundWindow : public SubclassedWindow
|
||||
{
|
||||
@@ -35,6 +38,10 @@ struct BackgroundWindow : public SubclassedWindow
|
||||
|
||||
protected:
|
||||
LRESULT WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam);
|
||||
|
||||
void DrawDesktopBkgnd(HDC hdc);
|
||||
|
||||
int _display_version;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
#define ID_VIEW_STATUSBAR 503
|
||||
#define ID_VIEW_TOOL_BAR 508
|
||||
#define IDC_ROS_EXPLORER 1000
|
||||
#define ID_DESKTOP_VERSION 1003
|
||||
#define IDC_WWW 1012
|
||||
#define IDC_TOPIC 1017
|
||||
#define IDC_MAILS_FOUND 1018
|
||||
@@ -107,9 +108,9 @@
|
||||
#define ID_STOP 40009
|
||||
#define ID_MINIMIZE_ALL 40010
|
||||
#define ID_EXPLORE 40011
|
||||
#define ID_SWITCH_DESKTOP_1 50000
|
||||
#define ID_TASKMGR 40012
|
||||
#define ID_BROWSE_UP 40013
|
||||
#define ID_BROWSE_UP 40013
|
||||
#define ID_SWITCH_DESKTOP_1 50000
|
||||
#define ID_WINDOW_NEW 0xE130
|
||||
#define ID_EDIT_PROPERTIES 57656
|
||||
#define ID_FILE_EXIT 0xE141
|
||||
@@ -123,7 +124,7 @@
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 165
|
||||
#define _APS_NEXT_COMMAND_VALUE 40014
|
||||
#define _APS_NEXT_CONTROL_VALUE 1003
|
||||
#define _APS_NEXT_CONTROL_VALUE 1004
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -435,21 +435,23 @@ BEGIN
|
||||
PUSHBUTTON "&Help",254,158,43,47,14
|
||||
END
|
||||
|
||||
IDD_DESKBAR_DESKTOP DIALOG DISCARDABLE 0, 0, 212, 172
|
||||
IDD_DESKBAR_DESKTOP DIALOG DISCARDABLE 0, 0, 212, 194
|
||||
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Desktop Properties"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
CONTROL "Display &Version Number",ID_DESKTOP_VERSION,"Button",
|
||||
BS_AUTOCHECKBOX | WS_TABSTOP,7,177,91,10
|
||||
END
|
||||
|
||||
IDD_DESKBAR_TASKBAR DIALOG DISCARDABLE 0, 0, 210, 154
|
||||
IDD_DESKBAR_TASKBAR DIALOG DISCARDABLE 0, 0, 210, 194
|
||||
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Taskbar Properties"
|
||||
FONT 8, "MS Sans Serif"
|
||||
BEGIN
|
||||
END
|
||||
|
||||
IDD_DESKBAR_STARTMENU DIALOG DISCARDABLE 0, 0, 210, 154
|
||||
IDD_DESKBAR_STARTMENU DIALOG DISCARDABLE 0, 0, 210, 194
|
||||
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
||||
CAPTION "Startmenu Properties"
|
||||
FONT 8, "MS Sans Serif"
|
||||
@@ -470,7 +472,7 @@ BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 205
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 165
|
||||
BOTTOMMARGIN, 187
|
||||
END
|
||||
|
||||
IDD_DESKBAR_TASKBAR, DIALOG
|
||||
@@ -478,7 +480,7 @@ BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 203
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 147
|
||||
BOTTOMMARGIN, 187
|
||||
END
|
||||
|
||||
IDD_DESKBAR_STARTMENU, DIALOG
|
||||
@@ -486,7 +488,7 @@ BEGIN
|
||||
LEFTMARGIN, 7
|
||||
RIGHTMARGIN, 203
|
||||
TOPMARGIN, 7
|
||||
BOTTOMMARGIN, 147
|
||||
BOTTOMMARGIN, 187
|
||||
END
|
||||
END
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
Reference in New Issue
Block a user