1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <skygi/skygi.h>
#include "widgetform.h"
CForm::CForm() {
this->hWnd = NULL;
}
HRESULT CForm::Create(HANDLE parent, char * name, int x, int y, int w, int h, int style, unsigned int flags) {
this->hWnd = GI_WidgetFormCreate(parent, name, x, y, w, h, style, flags);
if (this->hWnd) {
return S_OK;
}
return E_HANDLE;
}
HRESULT CForm::UseParentBackground(bool use) {
return GI_WidgetFormUseParentBackground(this->hWnd, use);
}
|