GUIFramework
1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IComponentVisibility.cpp
Go to the documentation of this file.
1
#include "
IComponentVisibility.h
"
2
3
using namespace
std;
4
5
namespace
gui_framework
6
{
7
namespace
interfaces
8
{
9
IComponentVisibility::IComponentVisibility
(HWND componentVisibilityHandle) :
10
componentVisibilityHandle(componentVisibilityHandle)
11
{
12
13
}
14
15
void
IComponentVisibility::show
()
const
16
{
17
ShowWindow(
componentVisibilityHandle
, SW_SHOW);
18
19
SetFocus(
componentVisibilityHandle
);
20
}
21
22
void
IComponentVisibility::hide
()
const
23
{
24
ShowWindow(
componentVisibilityHandle
, SW_HIDE);
25
}
26
}
27
}
IComponentVisibility.h
gui_framework::interfaces::IComponentVisibility::hide
void hide() const
Definition
IComponentVisibility.cpp:22
gui_framework::interfaces::IComponentVisibility::IComponentVisibility
IComponentVisibility(HWND componentVisibilityHandle)
Definition
IComponentVisibility.cpp:9
gui_framework::interfaces::IComponentVisibility::show
void show() const
Definition
IComponentVisibility.cpp:15
gui_framework::interfaces::IComponentVisibility::componentVisibilityHandle
HWND componentVisibilityHandle
Definition
IComponentVisibility.h:12
gui_framework
Definition
BaseComponent.cpp:21
GUIFramework
src
Interfaces
Components
IComponentVisibility.cpp
Generated by
1.12.0