Code::Blocks Forums
User forums => Help => Topic started by: sahmat on November 21, 2007, 05:04:03 am
-
Hello,
I am using build 4337. "Follow local includes" and "Follow global includes" are enabled but for example,
WNDCLASSEX wincl;
wincl.
nothing happening after period. Ctrl+Space is not help too. This example is the one with C::B project templates "win32 gui project".
and thanks to the team of this wonderfull IDE.
-
WNDCLASSEX is a macro, and C::B's code completion cannot (yet) resolve macros to their underlying tokens for further lookup. A lot of the Win32 API is macro based, unfortunately.
-
TDragon,
Thank you for reply. I didn't know it was a macro. This is a surprise for me. Because there is not a macro definition according to LCC, Mingw winuser.h header. Just a struct but has typedef for them to use ascii or wide char. Did you mean this. If not, point, wndclass, message etc must be macros is it? Did i understand wrong? How can i understand a windows class is a macro if it is not in header?
Regards
-
Sorry, my mistake -- it is indeed a typedef rather than a macro. The end result is the same, however -- code completion doesn't resolve the typedef. This is a known deficiency.