mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[Explorer]
- Restore the original four virtual window support. See CORE-6151. svn path=/trunk/; revision=65491
This commit is contained in:
parent
556eadf871
commit
8da4894280
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue