mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 03:51:41 +00:00
[DEVMGMT]
Some main window work. svn path=/trunk/; revision=53663
This commit is contained in:
parent
859dd5c42a
commit
9ec05fbc97
25 changed files with 387 additions and 114 deletions
|
@ -1,5 +1,4 @@
|
|||
#include "StdAfx.h"
|
||||
#include "Devices.h"
|
||||
#include "DeviceView.h"
|
||||
|
||||
|
||||
|
@ -11,3 +10,30 @@ CDeviceView::CDeviceView(void)
|
|||
CDeviceView::~CDeviceView(void)
|
||||
{
|
||||
}
|
||||
|
||||
BOOL
|
||||
CDeviceView::Initialize()
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL
|
||||
CDeviceView::Uninitialize()
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
VOID
|
||||
CDeviceView::Refresh()
|
||||
{
|
||||
}
|
||||
|
||||
VOID
|
||||
CDeviceView::DisplayPropertySheet()
|
||||
{
|
||||
}
|
||||
|
||||
VOID
|
||||
CDeviceView::SetFocus()
|
||||
{
|
||||
}
|
|
@ -1,8 +1,20 @@
|
|||
#pragma once
|
||||
#include "Devices.h"
|
||||
|
||||
class CDeviceView : public CDevices
|
||||
{
|
||||
HWND m_hPropertyDialog;
|
||||
HWND m_hShortcutMenu;
|
||||
|
||||
public:
|
||||
CDeviceView(void);
|
||||
~CDeviceView(void);
|
||||
|
||||
BOOL Initialize();
|
||||
BOOL Uninitialize();
|
||||
|
||||
VOID Refresh();
|
||||
VOID DisplayPropertySheet();
|
||||
VOID SetFocus();
|
||||
};
|
||||
|
||||
|
|
|
@ -2,19 +2,172 @@
|
|||
#include "devmgmt.h"
|
||||
#include "MainWindow.h"
|
||||
|
||||
/* menu hints */
|
||||
static const MENU_HINT MainMenuHintTable[] =
|
||||
{
|
||||
/* File Menu */
|
||||
{IDC_EXIT, IDS_HINT_EXIT},
|
||||
|
||||
/* Action Menu */
|
||||
{IDC_REFRESH, IDS_HINT_REFRESH},
|
||||
{IDC_PROP, IDS_HINT_PROP},
|
||||
|
||||
{IDC_ABOUT, IDS_HINT_ABOUT}
|
||||
};
|
||||
|
||||
/* system menu hints */
|
||||
static const MENU_HINT SystemMenuHintTable[] =
|
||||
{
|
||||
{SC_RESTORE, IDS_HINT_SYS_RESTORE},
|
||||
{SC_MOVE, IDS_HINT_SYS_MOVE},
|
||||
{SC_SIZE, IDS_HINT_SYS_SIZE},
|
||||
{SC_MINIMIZE, IDS_HINT_SYS_MINIMIZE},
|
||||
{SC_MAXIMIZE, IDS_HINT_SYS_MAXIMIZE},
|
||||
{SC_CLOSE, IDS_HINT_SYS_CLOSE},
|
||||
};
|
||||
|
||||
|
||||
|
||||
CMainWindow::CMainWindow(void) :
|
||||
m_hMainWnd(NULL),
|
||||
m_hStatusBar(NULL),
|
||||
m_hToolBar(NULL),
|
||||
m_CmdShow(0)
|
||||
{
|
||||
m_szMainWndClass = L"DevMgmtWndClass";
|
||||
}
|
||||
|
||||
|
||||
CMainWindow::~CMainWindow(void)
|
||||
{
|
||||
}
|
||||
|
||||
BOOL
|
||||
CMainWindow::CreateToolBar()
|
||||
{
|
||||
HIMAGELIST hImageList;
|
||||
HBITMAP hBitmap;
|
||||
UINT StartResource, EndResource;
|
||||
INT NumButtons;
|
||||
BOOL bRet = FALSE;
|
||||
|
||||
static TBBUTTON ToolbarButtons [] =
|
||||
{
|
||||
{TBICON_PROP, IDC_PROP, TBSTATE_INDETERMINATE, BTNS_BUTTON, {0}, 0, 0},
|
||||
{TBICON_REFRESH, IDC_REFRESH, TBSTATE_ENABLED, BTNS_BUTTON, {0}, 0, 0},
|
||||
|
||||
/* Add a seperator: First item for a seperator is its width in pixels */
|
||||
{15, 0, TBSTATE_ENABLED, BTNS_SEP, {0}, 0, 0},
|
||||
};
|
||||
|
||||
/* Get the number of buttons */
|
||||
NumButtons = sizeof(ToolbarButtons) / sizeof(ToolbarButtons[0]);
|
||||
|
||||
/* Create the toolbar window */
|
||||
m_hToolBar = CreateWindowExW(0,
|
||||
TOOLBARCLASSNAME,
|
||||
NULL,
|
||||
WS_CHILD | WS_VISIBLE | TBSTYLE_FLAT | TBSTYLE_TOOLTIPS,
|
||||
0, 0, 0, 0,
|
||||
m_hMainWnd,
|
||||
(HMENU)IDC_TOOLBAR,
|
||||
g_hInstance,
|
||||
NULL);
|
||||
if (m_hToolBar)
|
||||
{
|
||||
/* Don't show clipped buttons */
|
||||
SendMessageW(m_hToolBar,
|
||||
TB_SETEXTENDEDSTYLE,
|
||||
0,
|
||||
TBSTYLE_EX_HIDECLIPPEDBUTTONS);
|
||||
|
||||
/* Set the struct size, the toobar needs this... */
|
||||
SendMessageW(m_hToolBar,
|
||||
TB_BUTTONSTRUCTSIZE,
|
||||
sizeof(ToolbarButtons[0]),
|
||||
0);
|
||||
|
||||
/* Create the toolbar icon image list */
|
||||
hImageList = ImageList_Create(16,
|
||||
16,
|
||||
ILC_MASK | ILC_COLOR24,
|
||||
NumButtons,
|
||||
0);
|
||||
if (hImageList)
|
||||
{
|
||||
/* Set the index endpoints */
|
||||
StartResource = IDB_PROP;
|
||||
EndResource = IDB_REFRESH;
|
||||
|
||||
/* Add all icons to the image list */
|
||||
for (UINT i = StartResource; i <= EndResource; i++)
|
||||
{
|
||||
/* Load the image resource */
|
||||
hBitmap = (HBITMAP)LoadImage(g_hInstance,
|
||||
MAKEINTRESOURCE(i),
|
||||
IMAGE_BITMAP,
|
||||
16,
|
||||
16,
|
||||
LR_LOADTRANSPARENT);
|
||||
if (hBitmap)
|
||||
{
|
||||
/* Add it to the image list */
|
||||
ImageList_AddMasked(hImageList,
|
||||
hBitmap,
|
||||
RGB(255, 0, 128));
|
||||
|
||||
/* Delete the bitmap */
|
||||
DeleteObject(hBitmap);
|
||||
}
|
||||
}
|
||||
|
||||
/* Set the new image list */
|
||||
hImageList = (HIMAGELIST)SendMessageW(m_hToolBar,
|
||||
TB_SETIMAGELIST,
|
||||
0,
|
||||
(LPARAM)hImageList);
|
||||
|
||||
/* Destroy any previous list */
|
||||
if (hImageList) ImageList_Destroy(hImageList);
|
||||
|
||||
/* Add the buttons */
|
||||
bRet = (BOOL)SendMessageW(m_hToolBar,
|
||||
TB_ADDBUTTONS,
|
||||
NumButtons,
|
||||
(LPARAM)ToolbarButtons);
|
||||
}
|
||||
}
|
||||
|
||||
return bRet;
|
||||
}
|
||||
|
||||
BOOL
|
||||
CMainWindow::CreateStatusBar()
|
||||
{
|
||||
INT StatWidths[] = {110, -1}; /* widths of status bar */
|
||||
BOOL bRet = FALSE;
|
||||
|
||||
/* Create the status bar */
|
||||
m_hStatusBar = CreateWindowExW(0,
|
||||
STATUSCLASSNAME,
|
||||
NULL,
|
||||
WS_CHILD | WS_VISIBLE | SBARS_SIZEGRIP,
|
||||
0, 0, 0, 0,
|
||||
m_hMainWnd,
|
||||
(HMENU)IDC_STATUSBAR,
|
||||
g_hInstance,
|
||||
NULL);
|
||||
if (m_hStatusBar)
|
||||
{
|
||||
/* Set the width */
|
||||
bRet = (BOOL)SendMessage(m_hStatusBar,
|
||||
SB_SETPARTS,
|
||||
sizeof(StatWidths) / sizeof(INT),
|
||||
(LPARAM)StatWidths);
|
||||
}
|
||||
|
||||
return bRet;
|
||||
}
|
||||
|
||||
BOOL
|
||||
CMainWindow::StatusBarLoadString(IN HWND hStatusBar,
|
||||
IN INT PartId,
|
||||
|
@ -22,19 +175,142 @@ CMainWindow::StatusBarLoadString(IN HWND hStatusBar,
|
|||
IN UINT uID)
|
||||
{
|
||||
CAtlString szMessage;
|
||||
BOOL Ret = FALSE;
|
||||
BOOL bRet = FALSE;
|
||||
|
||||
/* Load the string */
|
||||
if (szMessage.LoadStringW(hInstance, uID))
|
||||
{
|
||||
/* Send the message to the status bar */
|
||||
Ret = (BOOL)SendMessageW(hStatusBar,
|
||||
SB_SETTEXT,
|
||||
(WPARAM)PartId,
|
||||
(LPARAM)szMessage.GetBuffer());
|
||||
bRet = (BOOL)SendMessageW(hStatusBar,
|
||||
SB_SETTEXT,
|
||||
(WPARAM)PartId,
|
||||
(LPARAM)szMessage.GetBuffer());
|
||||
}
|
||||
|
||||
return Ret;
|
||||
return bRet;
|
||||
}
|
||||
|
||||
LRESULT
|
||||
CMainWindow::OnCreate(HWND hwnd)
|
||||
{
|
||||
LRESULT RetCode;
|
||||
|
||||
/* Assume failure */
|
||||
RetCode = -1;
|
||||
|
||||
/* Store the window handle */
|
||||
m_hMainWnd = hwnd;
|
||||
|
||||
/* Create the toolbar */
|
||||
if (CreateToolBar())
|
||||
{
|
||||
/* Create the statusbar */
|
||||
if (CreateStatusBar())
|
||||
{
|
||||
/* Create the device view object */
|
||||
m_DeviceView = new CDeviceView();
|
||||
|
||||
/* Initialize it */
|
||||
if (m_DeviceView->Initialize())
|
||||
{
|
||||
/* Display the window according to the user request */
|
||||
ShowWindow(hwnd, m_CmdShow);
|
||||
|
||||
/* Set as handled */
|
||||
//RetCode = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return RetCode;
|
||||
}
|
||||
|
||||
LRESULT
|
||||
CMainWindow::OnNotify(LPARAM lParam)
|
||||
{
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
LRESULT
|
||||
CMainWindow::OnContext(LPARAM lParam)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
LRESULT
|
||||
CMainWindow::OnCommand(WPARAM wParam,
|
||||
LPARAM lParam)
|
||||
{
|
||||
LRESULT RetCode = 0;
|
||||
WORD Msg;
|
||||
|
||||
/* Get the message */
|
||||
Msg = LOWORD(wParam);
|
||||
|
||||
switch (Msg)
|
||||
{
|
||||
case IDC_PROP:
|
||||
{
|
||||
/* Display the device property sheet */
|
||||
m_DeviceView->DisplayPropertySheet();
|
||||
break;
|
||||
}
|
||||
|
||||
case IDC_REFRESH:
|
||||
{
|
||||
/* Refresh the device list */
|
||||
m_DeviceView->Refresh();
|
||||
break;
|
||||
}
|
||||
|
||||
case IDC_ABOUT:
|
||||
{
|
||||
/* Blow my own trumpet */
|
||||
MessageBoxW(m_hMainWnd,
|
||||
L"ReactOS Device Manager\r\nCopyright Ged Murphy 2011",
|
||||
L"About",
|
||||
MB_OK);
|
||||
|
||||
/* Set focus back to the treeview */
|
||||
m_DeviceView->SetFocus();
|
||||
break;
|
||||
}
|
||||
|
||||
case IDC_EXIT:
|
||||
{
|
||||
/* Post a close message to the window */
|
||||
PostMessageW(m_hMainWnd,
|
||||
WM_CLOSE,
|
||||
0,
|
||||
0);
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return RetCode;
|
||||
}
|
||||
|
||||
LRESULT
|
||||
CMainWindow::OnDestroy()
|
||||
{
|
||||
/* Uninitialize the device view */
|
||||
m_DeviceView->Uninitialize();
|
||||
|
||||
/* Kill the object */
|
||||
delete m_DeviceView;
|
||||
m_DeviceView = NULL;
|
||||
|
||||
/* Clear the user data pointer */
|
||||
SetWindowLongPtr(m_hMainWnd, GWLP_USERDATA, 0);
|
||||
|
||||
/* Break the message loop */
|
||||
PostQuitMessage(0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
LRESULT CALLBACK
|
||||
|
@ -44,7 +320,7 @@ CMainWindow::MainWndProc(HWND hwnd,
|
|||
LPARAM lParam)
|
||||
{
|
||||
CMainWindow *pThis;
|
||||
LRESULT Ret = 0;
|
||||
LRESULT RetCode = 0;
|
||||
|
||||
/* Get the object pointer from window context */
|
||||
pThis = (CMainWindow *)GetWindowLongPtr(hwnd, GWLP_USERDATA);
|
||||
|
@ -70,21 +346,57 @@ CMainWindow::MainWndProc(HWND hwnd,
|
|||
/* Store the info pointer in the window's global user data */
|
||||
SetWindowLongPtr(hwnd, GWLP_USERDATA, (LONG_PTR)pThis);
|
||||
|
||||
/* Display the window according to the user request */
|
||||
ShowWindow(hwnd, pThis->m_CmdShow);
|
||||
/* Call the create handler */
|
||||
RetCode = pThis->OnCreate(hwnd);
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_NOTIFY:
|
||||
{
|
||||
/* Handle the notify message */
|
||||
RetCode = pThis->OnNotify(lParam);
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_CONTEXTMENU:
|
||||
{
|
||||
/* Handle creating the context menu */
|
||||
RetCode = pThis->OnContext(lParam);
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_COMMAND:
|
||||
{
|
||||
/* Handle the command message */
|
||||
RetCode = pThis->OnCommand(wParam, lParam);
|
||||
|
||||
/* Hand it off to the default message handler */
|
||||
goto HandleDefaultMessage;
|
||||
}
|
||||
|
||||
case WM_CLOSE:
|
||||
{
|
||||
/* Destroy the main window */
|
||||
DestroyWindow(hwnd);
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_DESTROY:
|
||||
{
|
||||
/* Call the destroy handler */
|
||||
RetCode = pThis->OnDestroy();
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
HandleDefaultMessage:
|
||||
Ret = DefWindowProc(hwnd, msg, wParam, lParam);
|
||||
RetCode = DefWindowProc(hwnd, msg, wParam, lParam);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return Ret;
|
||||
return RetCode;
|
||||
}
|
||||
|
||||
BOOL
|
||||
|
@ -148,7 +460,7 @@ CMainWindow::Run()
|
|||
MSG Msg;
|
||||
|
||||
/* Pump the message queue */
|
||||
while (GetMessageW(&Msg, NULL, 0, 0 ))
|
||||
while (GetMessageW(&Msg, NULL, 0, 0 ) != 0)
|
||||
{
|
||||
TranslateMessage(&Msg);
|
||||
DispatchMessageW(&Msg);
|
||||
|
|
|
@ -1,13 +1,33 @@
|
|||
#pragma once
|
||||
#include "DeviceView.h"
|
||||
|
||||
typedef struct _MENU_HINT
|
||||
{
|
||||
WORD CmdId;
|
||||
UINT HintId;
|
||||
} MENU_HINT, *PMENU_HINT;
|
||||
|
||||
class CMainWindow
|
||||
{
|
||||
CAtlString m_szMainWndClass;
|
||||
CDeviceView *m_DeviceView;
|
||||
HWND m_hMainWnd;
|
||||
HWND m_hStatusBar;
|
||||
HWND m_hToolBar;
|
||||
int m_CmdShow;
|
||||
|
||||
private:
|
||||
static LRESULT CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
LRESULT OnCreate(HWND hwnd);
|
||||
LRESULT OnDestroy();
|
||||
LRESULT OnSize();
|
||||
LRESULT OnNotify(LPARAM lParam);
|
||||
LRESULT OnContext(LPARAM lParam);
|
||||
LRESULT OnCommand(WPARAM wParam, LPARAM lParam);
|
||||
|
||||
BOOL CreateToolBar();
|
||||
BOOL CreateStatusBar();
|
||||
BOOL StatusBarLoadString(HWND hStatusBar, INT PartId, HINSTANCE hInstance, UINT uID);
|
||||
|
||||
public:
|
||||
|
@ -17,5 +37,7 @@ public:
|
|||
BOOL Initialize(LPCTSTR lpCaption, int nCmdShow);
|
||||
INT Run();
|
||||
VOID Uninitialize();
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
#define IDC_PROP 2000
|
||||
#define IDC_REFRESH 2001
|
||||
#define IDC_PRINT 2002
|
||||
#define IDC_PROGHELP 2003
|
||||
#define IDC_EXIT 2004
|
||||
#define IDC_EXIT 2003
|
||||
#define IDC_ABOUT 4031
|
||||
|
||||
/* menus */
|
||||
|
@ -30,8 +29,6 @@
|
|||
/* button bitmaps */
|
||||
#define IDB_PROP 10000
|
||||
#define IDB_REFRESH 10001
|
||||
#define IDB_HELP 10002
|
||||
#define IDB_EXIT 10003
|
||||
|
||||
/* toolbar buttons */
|
||||
#define TBICON_PROP 0
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
<ClInclude Include="MainWindow.h" />
|
||||
<ClInclude Include="Resource.h" />
|
||||
<ClInclude Include="stdafx.h" />
|
||||
<ClInclude Include="targetver.h_" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Devices.cpp" />
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Îòïå÷àòâàíå", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ñâîéñòâà", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ïîìîù", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Èçãëåä"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Ïîìîù"
|
||||
BEGIN
|
||||
MENUITEM "Ïîìîù", IDC_PROGHELP
|
||||
MENUITEM "Çà", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Ñâîéñòâà", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ïîìîù", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Drucken", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Eigenschaften", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Hilfe", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Ansicht"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "&?"
|
||||
BEGIN
|
||||
MENUITEM "Hilfe", IDC_PROGHELP
|
||||
MENUITEM "Info", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Eigenschaften", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Hilfe", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Åêôýðùóç", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Éäéüôçôåò", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ÂïÞèåéá", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "ÅìöÜíéóç"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "ÂïÞèåéá"
|
||||
BEGIN
|
||||
MENUITEM "ÂïÞèåéá", IDC_PROGHELP
|
||||
MENUITEM "Ó÷åôéêÜ...", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Éäéüôçôåò", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ÂïÞèåéá", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Print", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Properties", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Help", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "View"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Help"
|
||||
BEGIN
|
||||
MENUITEM "Help", IDC_PROGHELP
|
||||
MENUITEM "About", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Properties", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Help", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -15,8 +15,6 @@ BEGIN
|
|||
MENUITEM "Imprimir", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Propiedades", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ayuda", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Ver"
|
||||
BEGIN
|
||||
|
@ -27,7 +25,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Ayuda"
|
||||
BEGIN
|
||||
MENUITEM "Ayuda", IDC_PROGHELP
|
||||
MENUITEM "Acerca de", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -37,8 +34,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Propiedades", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ayuda", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Imprimer", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Propriétés", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Aide", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Affichage"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Aide"
|
||||
BEGIN
|
||||
MENUITEM "Aide", IDC_PROGHELP
|
||||
MENUITEM "À propos", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Propriétés", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Aide", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Cetak", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Properti", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Bantuan", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Lihat"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Bantuan"
|
||||
BEGIN
|
||||
MENUITEM "Bantuan", IDC_PROGHELP
|
||||
MENUITEM "Tentang", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Properti", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Bantuan", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Stampa", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Proprietà", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Aiuto", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Visualizza"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Aiuto"
|
||||
BEGIN
|
||||
MENUITEM "Aiuto", IDC_PROGHELP
|
||||
MENUITEM "Informazioni su", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Proprietà", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Aiuto", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "印刷", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "プロパティ", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ヘルプ", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "表\示"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "ヘルプ"
|
||||
BEGIN
|
||||
MENUITEM "ヘルプ", IDC_PROGHELP
|
||||
MENUITEM "バージョン情報", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "プロパティ", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ヘルプ", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -14,8 +14,6 @@ BEGIN
|
|||
MENUITEM "프린트", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "속성", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "도움말", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "보기"
|
||||
BEGIN
|
||||
|
@ -26,7 +24,6 @@ BEGIN
|
|||
END
|
||||
POPUP "도움말"
|
||||
BEGIN
|
||||
MENUITEM "도움말", IDC_PROGHELP
|
||||
MENUITEM "정보", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -36,8 +33,6 @@ BEGIN
|
|||
POPUP "팝업"
|
||||
BEGIN
|
||||
MENUITEM "속성", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "도움말", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Skriv ut", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Egenskaper", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Hjelp", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Vis"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Hjelp"
|
||||
BEGIN
|
||||
MENUITEM "Hjelp", IDC_PROGHELP
|
||||
MENUITEM "Om", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Egenskaper", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Hjelp", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -18,8 +18,6 @@ BEGIN
|
|||
MENUITEM "&Drukuj", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Właściwości", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Pomo&c", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "&Widok"
|
||||
BEGIN
|
||||
|
@ -30,7 +28,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Pomo&c"
|
||||
BEGIN
|
||||
MENUITEM "&Tematy pomocy", IDC_PROGHELP
|
||||
MENUITEM "Menedżer urządzeń - i&nformacje", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -40,8 +37,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Właściwości", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Pomoc", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ BEGIN
|
|||
MENUITEM "Imprimare", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Proprietãþi", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ajutor", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Vizualizare"
|
||||
BEGIN
|
||||
|
@ -23,7 +21,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Ajutor"
|
||||
BEGIN
|
||||
MENUITEM "Ajutor", IDC_PROGHELP
|
||||
MENUITEM "Despre", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -33,8 +30,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Proprietãþi", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Ajutor", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -13,8 +13,6 @@ BEGIN
|
|||
MENUITEM "Печать", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Свойства", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Справка", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Вид"
|
||||
BEGIN
|
||||
|
@ -25,7 +23,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Справка"
|
||||
BEGIN
|
||||
MENUITEM "Помощь", IDC_PROGHELP
|
||||
MENUITEM "О программе", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -35,8 +32,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Свойства", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Помощь", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -16,8 +16,6 @@ BEGIN
|
|||
MENUITEM "Tlačiť", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Vlastnosti", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Pomocník", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Zobraziť"
|
||||
BEGIN
|
||||
|
@ -28,7 +26,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Pomocník"
|
||||
BEGIN
|
||||
MENUITEM "Pomocník", IDC_PROGHELP
|
||||
MENUITEM "Čo je ...", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -38,8 +35,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Vlastnosti", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Pomocník", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -17,8 +17,6 @@ BEGIN
|
|||
MENUITEM "Skriv ut", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Egenskaper", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Hjälp", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Visa"
|
||||
BEGIN
|
||||
|
@ -29,7 +27,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Hjälp"
|
||||
BEGIN
|
||||
MENUITEM "Hjälp", IDC_PROGHELP
|
||||
MENUITEM "Om", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -39,8 +36,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Egenskaper", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Hjälp", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -20,8 +20,6 @@ BEGIN
|
|||
MENUITEM "¾ÔÁ¾ì", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "¤Ø³ÊÁºÑµÔ", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ªèÇÂàËÅ×Í", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "ÁØÁÁͧ"
|
||||
BEGIN
|
||||
|
@ -32,7 +30,6 @@ BEGIN
|
|||
END
|
||||
POPUP "ªèÇÂàËÅ×Í"
|
||||
BEGIN
|
||||
MENUITEM "ªèÇÂàËÅ×Í", IDC_PROGHELP
|
||||
MENUITEM "à¡ÕèÂǡѺ", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -42,8 +39,6 @@ BEGIN
|
|||
POPUP "˹éÒµèÒ§»Ñ¨¨ØºÑ¹"
|
||||
BEGIN
|
||||
MENUITEM "¤Ø³ÊÁºÑµÔ", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "ªèÇÂàËÅ×Í", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -19,8 +19,6 @@ BEGIN
|
|||
MENUITEM "Друк", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Властивості", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Довідка", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "Вигляд"
|
||||
BEGIN
|
||||
|
@ -31,7 +29,6 @@ BEGIN
|
|||
END
|
||||
POPUP "Довідка"
|
||||
BEGIN
|
||||
MENUITEM "Довідка", IDC_PROGHELP
|
||||
MENUITEM "Про програму", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -41,8 +38,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "Властивості", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Довідка", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
|
@ -15,8 +15,6 @@ BEGIN
|
|||
MENUITEM "打印", IDC_PRINT, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "属性", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "帮助", IDC_PROGHELP, GRAYED
|
||||
END
|
||||
POPUP "查看"
|
||||
BEGIN
|
||||
|
@ -27,7 +25,6 @@ BEGIN
|
|||
END
|
||||
POPUP "帮助"
|
||||
BEGIN
|
||||
MENUITEM "帮助内容", IDC_PROGHELP
|
||||
MENUITEM "关于", IDC_ABOUT
|
||||
END
|
||||
END
|
||||
|
@ -37,8 +34,6 @@ BEGIN
|
|||
POPUP "popup"
|
||||
BEGIN
|
||||
MENUITEM "属性", IDC_PROP, GRAYED
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "帮助", IDC_PROGHELP
|
||||
END
|
||||
END
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue