Public Member Functions

HiddenWindow Struct Reference

locally hide a window More...

#include <utility.h>

Inheritance diagram for HiddenWindow:
Inheritance graph
[legend]
Collaboration diagram for HiddenWindow:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 HiddenWindow (HWND hwnd)
 ~HiddenWindow ()

Detailed Description

locally hide a window

Definition at line 290 of file utility.h.


Constructor & Destructor Documentation

HiddenWindow::HiddenWindow ( HWND  hwnd ) [inline]

Definition at line 292 of file utility.h.

     :  WindowHandle(IsWindowVisible(hwnd)? hwnd: 0)
    {
        if (_hwnd)
            SetWindowPos(_hwnd, 0, 0, 0, 0, 0, SWP_HIDEWINDOW|SWP_NOREDRAW|SWP_NOMOVE|SWP_NOSIZE|SWP_NOZORDER);
    }
HiddenWindow::~HiddenWindow (  ) [inline]

Definition at line 299 of file utility.h.

    {
        if (_hwnd)
            SetWindowPos(_hwnd, 0, 0, 0, 0, 0, SWP_SHOWWINDOW|SWP_NOMOVE|SWP_NOSIZE|SWP_NOZORDER);
    }

The documentation for this struct was generated from the following file:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage