soui 5.0.0.1
Soui5 Doc
 
Loading...
Searching...
No Matches
SFrame.h
1#ifndef __SFRAME__H__
2#define __SFRAME__H__
3
4#include <core/SWnd.h>
5
6SNSBEGIN
7
8/**
9 * @class SFrame
10 * @brief Frame Control
11 * @details A frame control that can contain other child windows.
12 */
13class SOUI_EXP SFrame : public SWindow {
14 DEF_SOBJECT(SWindow, L"frame")
15
16 public:
17 /**
18 * @brief Constructor
19 */
20 SFrame(void);
21
22 /**
23 * @brief Destructor
24 */
25 ~SFrame(void);
26
27 public:
28 /**
29 * @brief Check if the control is focusable
30 * @return TRUE if focusable, FALSE otherwise
31 */
32 STDMETHOD_(BOOL, IsFocusable)(THIS) SCONST OVERRIDE;
33
34 protected:
35 /**
36 * @brief Find the window at a given point
37 * @param pt Point to check
38 * @param bIncludeMsgTransparent Whether to include message-transparent windows
39 * @return Handle to the window at the point
40 */
41 SWND SwndFromPoint(CPoint &pt, BOOL bIncludeMsgTransparent) const override;
42};
43
44SNSEND
45
46#endif // __SFRAME__H__
SOUI基础DUI窗口模块
BOOL IsFocusable() SCONST OVERRIDE
Check if the control is focusable.
Definition SFrame.cpp:22
SFrame(void)
Constructor.
Definition SFrame.cpp:6
SWND SwndFromPoint(POINT *pt, BOOL bIncludeMsgTransparent=FALSE) SCONST OVERRIDE
Retrieves the window handle at a specified point.
SWindow()
Constructor.
Definition Swnd.cpp:104