-
Notifications
You must be signed in to change notification settings - Fork 2
/
CWindow.bi
34 lines (23 loc) · 866 Bytes
/
CWindow.bi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef __CWINDOW_INCLUDE__
#define __CWINDOW_INCLUDE__
#include once "TString.bi"
type CWindow
private:
_hwnd as HWND
public:
declare constructor ( byval hwnd as HWND = NULL )
declare sub Attach( byval hwnd as HWND )
declare function Detach () as HWND
declare operator let( byval hwnd as HWND )
declare operator cast() as HWND
declare function IsNull() as BOOL
declare function SetFocus() as BOOL
declare function ShowWindow( byval nCmdShow as integer ) as BOOL
declare function UpdateWindow() as BOOL
declare function MoveWindow( byval x as integer, byval y as integer, byval w as integer, byval h as integer, byval bRepaint as BOOL ) as BOOL
declare sub DestroyWindow()
declare function GetText() as TString
declare function SetText( byref s as TString ) as BOOL
declare function GetTextLength() as LONG
end type
#endif