FLImaging 6.5.8.1
GUIDockablePaneHostFrameWrap.h
1#pragma once
2
12namespace FLImaging
13{
15 namespace GUI
16 {
25 {
26 SupportToDuplicateObject(CGUIDockablePaneHostFrameWrap);
27
28 typedef size_t __H_FLImaging_GUI_CGUIDockablePaneHostFrame;
29 public:
38
45 CGUIDockablePaneHostFrameWrap(__H_FLImaging_GUI_CGUIDockablePaneHostFrame hWnd);
46
54
64
79
88
98
110
121
131 void Invalidate(bool bErase = true);
132
141
150
167 void MoveWindow(int32_t i32X, int32_t i32Y, int32_t i32Width, int32_t i32Height, bool bRepaint);
168
189 bool SetWindowPos(size_t stHandleInsertAfter, int32_t i32X, int32_t i32Y, int32_t i32CX, int32_t i32CY, uint32_t u32Flags);
190
201 bool ShowWindow(int32_t i32CmdShow);
202
212
220
228
237 virtual size_t SetFocus();
238
247 virtual size_t GetWndPtr();
248
262 virtual const CResult SetParentWindowAndFit(size_t stParentWindowHandle);
263
279 const CResult SetMinimumSize(int32_t i32MinimumWidth, int32_t i32MinimumHeight);
280
292 void GetMinimumSize(int32_t& i32MinimumWidth, int32_t& i32MinimumHeight) const;
293
303 void Fix(bool bFix);
304
314 bool IsFixed() const;
315
316 protected:
317 __H_FLImaging_GUI_CGUIDockablePaneHostFrame m_hWnd;
318 size_t m_stWndHandle;
319 size_t m_stParentHandle;
320
321 protected:
322 const CResult InternalSetWindow(__H_FLImaging_GUI_CGUIDockablePaneHostFrame hWnd, size_t stWndHandle);
323 const CResult InternalSetParentWindowAndFit(size_t stParentHandle);
324
325 DeclareGetClassType();
326 };
327 }
328}
329
Top-level base class of FLImaging.
Definition FLBase.h:36
FLImaging module execution result object.
Definition ResultsDef.h:1514
A class representing a rectangle.
Definition FLRect.h:24
GUIDockablePaneHostFrame C API wrapping class.
Definition GUIDockablePaneHostFrameWrap.h:25
const CResult SetMinimumSize(int32_t i32MinimumWidth, int32_t i32MinimumHeight)
Sets the minimum size constraints for the pane.
bool ShowWindow(int32_t i32CmdShow)
Set the display status of the window.
virtual const CResult SetParentWindowAndFit(size_t stParentWindowHandle)
Adjust the size of this window to match the size of the parent window.
CGUIDockablePaneHostFrameWrap()
Default constructor.
void BringToTop()
Move the Z-Order of the window to the top.
bool SetWindowPos(size_t stHandleInsertAfter, int32_t i32X, int32_t i32Y, int32_t i32CX, int32_t i32CY, uint32_t u32Flags)
Sets the size, location, and Z order of the windows.
void Fix(bool bFix)
Locks or unlocks the pane's size and position.
bool IsFixed() const
Checks if the pane's size and position are fixed.
bool IsAvailable()
Check window validity of CGUIDockablePaneHostFrame.
virtual size_t SetFocus()
Sets the keyboard focus to the specified window.
void Invalidate(bool bErase=true)
Invalidate the screen of the CGUIDockablePaneHostFrame (asynchronous function).
size_t GetWindowHandle()
Returns the window handle of the pane.
CGUIDockablePaneHostFrameWrap(const CGUIDockablePaneHostFrameWrap &rh)
Copy constructor by reference.
virtual size_t GetWndPtr()
Retrieves a pointer to the window.
const CResult AssignHandle(const CGUIDockablePaneHostFrameWrap &rh)
Assigns the internal handle of the class.
CGUIDockablePaneHostFrameWrap(__H_FLImaging_GUI_CGUIDockablePaneHostFrame hWnd)
Constructor.
void BringToBottom()
Move the Z-Order of the window to the bottom.
Foundation::CFLRect< int32_t > GetClientRect()
Gets the window client area of the CGUIDockablePaneHostFrame.
void UpdateWindow()
Immediately update the screen of the CGUIDockablePaneHostFrame (synchronous function).
void MoveWindow(int32_t i32X, int32_t i32Y, int32_t i32Width, int32_t i32Height, bool bRepaint)
Move the window.
virtual ~CGUIDockablePaneHostFrameWrap()
Default destructor.
bool IsWindowVisible()
Gets the visibility status of the window.
void GetMinimumSize(int32_t &i32MinimumWidth, int32_t &i32MinimumHeight) const
Retrieves the minimum size constraints for the pane.
void RedrawWindow()
Update the screen of the CGUIDockablePaneHostFrame.
const CGUIDockablePaneHostFrameWrap & operator=(const CGUIDockablePaneHostFrameWrap &rh)
Assignment operator.