|
From: Zodiaq <zo...@ac...> - 2002-12-05 20:44:23
|
Hello Dreamjunky and all Dev-C++ users,
Thursday, December 5, 2002, 8:20:55 PM, Dreamjunky wrote as follows:
D> =====================================================
D> DWORD style = WS_CHILD | WS_VISIBLE;
D> CreateWindow(TEXT("EDIT"), NULL, style , 0, 0, CW_USEDEFAULT, CW_USEDEFAULT, handle, (HMENU) FIELD_URL, NULL, NULL);
D> =====================================================
D> Of course, it has more styles than that, but you don't need to see them all. At any rate, when I try to compile this is my error:
D> Improper use of typedef 'DWORD' in function WndProc
D> Statement missing ; in function WndProc
D> Undefined symbol 'style' in function WndProc
It looks like compiler doesn't see what DWORD is... have you included
windows.h??? DWORD is defind in one of other headers included from
<windows.h>, exactly in <windef.h> as:
typedef unsigned long DWORD;
D> Any ideas? I tried playing around with putting parenthesis around it, seperating the declaration and assignment into two statements.... no dice either way. I could really use some help on this.
D> Thanks
D> Tvienti
--
regards, Zodiaq
|