Eros answer to you properly...
So if you think to create WindowsClass you must use native compiler.
If is not problem you may look in Oxygen Basic forum
where you can find some examples ;
like:
Type WNDCLASSEX
cbSize as long
Style as long
lpfnwndproc as long
cbClsextra as long
cbWndExtra as long
hInstance as long
hIcon as long
hCursor as long
hbrBackground as long
lpszMenuName as long
lpszClassName as long
hIconSm AS long
End Type
and this:
Function SetWindow (byval caption as string ,byval Wx as int,byval Wy as int, byval Ww as int, byval Wh as int, byval wparent as int, byval style as int) as int
inst = GetModuleHandle 0
'sys hbrush=RGB(250,250,255)
wcx.cbSize = sizeof(WNDCLASSEX)
wcx.style = CS_DBLCLKS |CS_OWNDC
wcx.lpfnWndProc = &WndProc
wcx.cbClsExtra =0
wcx.cbWndExtra =0
wcx.hInstance = inst
wcx.hIcon =LoadIcon 0,IDI_APPLICATION
wcx.hCursor =LoadCursor 0,IDC_ARROW
wcx.hbrBackground = CreateSolidBrush(GetSysColor(15))
wcx.lpszMenuName = ?0
wcx.lpszClassName = @"Oxygen"
wcx.hIconSm =LoadIcon 0,IDI_APPLICATION
RegisterClassEx &wcx
I hope that help ..
Bookmarks