mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[Explorer]
- Restore the original four virtual window support. See CORE-6151. svn path=/trunk/; revision=65491
This commit is contained in:
@@ -235,7 +235,7 @@ typedef Desktop DesktopRef;
|
||||
#endif
|
||||
|
||||
|
||||
#define DESKTOP_COUNT 2
|
||||
#define DESKTOP_COUNT 4
|
||||
|
||||
struct Desktops : public vector<DesktopRef>
|
||||
{
|
||||
|
||||
@@ -145,8 +145,8 @@ LRESULT DesktopBar::Init(LPCREATESTRUCT pcs)
|
||||
TCHAR QuickLaunchBand[] = _T("Quicklaunch");
|
||||
rbBand.lpText = QuickLaunchBand;
|
||||
rbBand.hwndChild = _hwndQuickLaunch;
|
||||
rbBand.cx = 100;
|
||||
rbBand.cxMinChild = 100;
|
||||
rbBand.cx = 150;
|
||||
rbBand.cxMinChild = 150;
|
||||
rbBand.wID = IDW_QUICKLAUNCHBAR;
|
||||
SendMessage(_hwndrebar, RB_INSERTBAND, (WPARAM)-1, (LPARAM)&rbBand);
|
||||
|
||||
@@ -451,7 +451,9 @@ int DesktopBar::Command(int id, int code)
|
||||
break;
|
||||
|
||||
case ID_SWITCH_DESKTOP_1:
|
||||
case ID_SWITCH_DESKTOP_1+1: {
|
||||
case ID_SWITCH_DESKTOP_1+1:
|
||||
case ID_SWITCH_DESKTOP_1+2:
|
||||
case ID_SWITCH_DESKTOP_1+3: {
|
||||
int desktop_idx = id - ID_SWITCH_DESKTOP_1;
|
||||
|
||||
g_Globals._desktops.SwitchToDesktop(desktop_idx);
|
||||
|
||||
Reference in New Issue
Block a user