GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
INonResizableComponent.cpp
Go to the documentation of this file.
2
3#include "Utility/Utility.h"
4
6
7using namespace std;
8
9namespace gui_framework
10{
11 namespace interfaces
12 {
14 nonResizableHandle(nonResizableHandle)
15 {
16 utility::removeStyle(nonResizableHandle, WS_THICKFRAME);
17
18 utility::removeStyle(nonResizableHandle, WS_MAXIMIZEBOX);
19 }
20
21 void INonResizableComponent::resize(uint16_t width, uint16_t height)
22 {
23 __utility::throwNotImplementedException(__FUNCTION__, "INonResizableComponent"sv);
24 }
25 }
26}
virtual void resize(uint16_t width, uint16_t height) final
Reserve resize function.
void throwNotImplementedException(string_view methodName, string_view className)
Definition Utility.cpp:186
void removeStyle(HWND handle, LONG_PTR styleToRemove)
Remove WinAPI style.
Definition Utility.cpp:31