User forums > Help

Code completion and global

(1/1)

sahmat:
Hello,

I am using build 4337. "Follow local includes" and "Follow global includes" are enabled but for example,


--- Quote ---WNDCLASSEX wincl;

wincl.

--- End quote ---

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.

TDragon:
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.

sahmat:
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

TDragon:
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.

Navigation

[0] Message Index

Go to full version