|
From: <50...@ce...> - 2002-03-02 12:21:34
|
Hi!
What is wrong with this code?
---------
hButton =3D CreateWindowEx(0, "EDIT", NULL, WS_CHILD |=20
WS_VISIBLE |
WS_TABSTOP,
50, 50, 120, 20, hWnd, (HMENU)111,=20
hMainInst,
NULL);
SendMessage(hButton, WM_SETTEXT, 0,
(LPARAM)"Ahoj"); /// any interactin=20
(like this
one)
/// couses the app=20
crash
--------
I need to create a text box within the main window.
Thanks in advance!
~tom~
=3D=3D=3D=3D ocen=ECn=ED =3D=3D=3D=3D=3D=3D
Centrum.cz nejlep=B9=EDm port=E1lem roku 2001 v=EDce na:=20
http://tipy.centrum.cz/page.phtml?code=3DZavinac=20
|