Defines | Typedefs | Functions | Variables

desktop.cpp File Reference

#include <precomp.h>
#include "../resource.h"
#include "../taskbar/desktopbar.h"
#include "../taskbar/taskbar.h"
Include dependency graph for desktop.cpp:

Go to the source code of this file.

Defines

#define ARRANGE_BORDER_DOWN   8
#define ARRANGE_BORDER_HV   9
#define ARRANGE_ROUNDABOUT   10

Typedefs

typedef pair< int, int > IconPos
typedef map< IconPos, int > IconMap

Functions

BOOL IsAnyDesktopRunning ()

Variables

static HWND

Define Documentation

#define ARRANGE_BORDER_DOWN   8

Definition at line 669 of file desktop.cpp.

Referenced by DesktopShellView::PositionIcons().

#define ARRANGE_BORDER_HV   9

Definition at line 670 of file desktop.cpp.

Referenced by DesktopShellView::PositionIcons().

#define ARRANGE_ROUNDABOUT   10

Definition at line 671 of file desktop.cpp.

Referenced by DesktopShellView::PositionIcons().


Typedef Documentation

typedef map<IconPos, int> IconMap

Definition at line 719 of file desktop.cpp.

typedef pair<int,int> IconPos

Definition at line 718 of file desktop.cpp.


Function Documentation

BOOL IsAnyDesktopRunning (  )

Definition at line 246 of file desktop.cpp.

References HWND, and TEXT.

Referenced by _tWinMain().

{
    HINSTANCE hUser32 = GetModuleHandle(TEXT("user32"));

    SetShellWindow = (BOOL(WINAPI*)(HWND)) GetProcAddress(hUser32, "SetShellWindow");
    SetShellWindowEx = (BOOL(WINAPI*)(HWND,HWND)) GetProcAddress(hUser32, "SetShellWindowEx");

    return GetShellWindow() != 0;
}

Here is the caller graph for this function:


Variable Documentation


ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage