Hi Charles..
In my search i found this on FB forum:
DIM Shared AS WNDCLASSEX wcx
'DIM SHARED AS MSG wMsg
SUB SETUPWNDCLASS
With wcx
.cbSize=SizeOf( WNDCLASSEX )
.style=CS_HREDRAW OR CS_VREDRAW OR CS_BYTEALIGNWINDOW
.lpfnWndProc=Cast(WNDPROC,@WindowProc)
.cbClsExtra=NULL
.cbWndExtra=NULL
.hInstance=GetModuleHandle(NULL)
.hIcon=LoadIcon(null,IDI_APPLICATION)
.hCursor=LoadCursor(NULL,IDC_ARROW)
' .hbrBackground=cast( HBRUSH,COLOR_WINDOW + 1 )
.hbrBackground=GetSysColorBrush(COLOR_BTNFACE)
.lpszMenuName=NULL
.lpszClassName=@"zWindow"
.hIconSm=0
End With
RegisterClassEx(@wcx)
End Sub
My question is how cast pointer like this in Oxygen:
.lpfnWndProc=Cast(WNDPROC,@WindowProc)
What is the option?