Thank you for your replies:
I have fixed it:
* I forgot to add DLGWINDOWEXTRA
mov wcex.cbWndExtra, DLGWINDOWEXTRA
* I forgot to add DLGCLASS to rc(via using dlg editor)
Now my project works, i've added project, check below attachment
Now questions?
Works fine, but you really should work with windows, not dialogs.
@jj why did you say that? I am using RadASM's dialog editor and it saves my time for designing a simple windows with components?
Yes remove DefWindowProc
; .else
; invoke DefWindowProc,hWnd,uMsg,wParam,lParam
@BugCatcher; your suggestion did not change attitude of my code? Maybe i can use DefDlgProc for dialogs?