Please, take a look at this:
I've tired of thinking what's wrong with this.
CreateWindowEx always returns NULL :( . It works only when I change ID and Style with values from brackets. Look at the attached file: not a handy interface. :)
I guess the answer is simple, but little mistakes are mush more hard to find than big ones.
_MainWndProc_WM_Create:
push 0
push [hInstance]
push Edit1ID (0)
push dword [esp+4]
push 25
push 200
push 35
push 50
push 050800080h (010800080h - non-Child)
push EditText
push EditClassName
push 0200h
call [CreateWindowEx]
mov [hEdit1],eax
I've tired of thinking what's wrong with this.
CreateWindowEx always returns NULL :( . It works only when I change ID and Style with values from brackets. Look at the attached file: not a handy interface. :)
I guess the answer is simple, but little mistakes are mush more hard to find than big ones.