First of all thank you Charles..
and there is no lots of errors at all
the main problem I was made in
udt :
wcx.lpszClassName inside
CreateWindowEx which need string pointer
and just one thing i have never made default return inside SELECT
in WndProc
Another point i have made mistake with WHITE_BRUSH which must be 4 not 0.
Hard to read
It is very easy to read and i don't see why is hard because represent classic VB way of
window creation.
All in all it is easier to use Bind which i use in my other programs.
Thanks again