VC++: Getting list of properties to drop down..

Started by
4 comments, last by GelfTheElf 22 years, 3 months ago
How come if I create a D3D anything, and I type like blah. <-- I don''t get the list of properties etc. Same thing happens with functions... Thanks! -Gelf
~~~~~~~~~~~~~~~~~~~~~~~~~~~AIM: GelfTheElf
Advertisement
You need to include any .h files that have the typedef, function, and variable info right into your project. I had the same problem.. just doing a #include doesn''t give you the drop down info (actually, it''s called auto-complete).. Include the .h files.

Also, VC++ 6.0 has some sort of bug (at least on my machine) that doesn''t give you the drop-down for member variables or functions after you execute a DX8 program on the first run. Why? I don''t know.. I do know it''s trying to display it, because I can tell VC++ is trying to show it, and the bottom status bar shows that it is there... Actually, I can still select members from struct, classes, etc.. But the actual drop-down is invisible. Can anyone tell me what this is? It still gives me the parameter info for functions, but no drop-down. Good luck, just include the .h files.. to answer your question.

ColdfireV
[email=jperegrine@customcall.com]ColdfireV[/email]
Hi!

May I suggest Visual Assist from http://www.wholetomato.com>

It helps a lot with that kind of problems.
This app is great! Hope you have the $79 to buy it, but at least you get a 30 day trial.
Visual Assist is amazing. It is a intellisense (that thing that drops down and shows you methods and member variables) enhancement that really speeds up development. I totally recommend you download the demo, i started using it 2 days ago and am definately going to purchase it when my demo time is up.

Code comment of the week:
bool hack = false; // DO NOT CHANGE THIS EVER
- Kevin "BaShildy" KingGame Programmer: DigiPenwww.mpogd.com
ColdFireV, i think you know what''s going on, but your explanation made no sense. VC doesnt give me any info on COM objects, but it knows where they are coming from...it''s getting me pissed off.

-----------------------------
The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Had the same problem as you, and I fooled around a bit and after a couple of restarts of VC I went into Project settings (Alt+F7) and checked the "Generate mapfile" option.. I doubt that this option has anything to do with the statement completion option, but I think it forces VC to read through the header-files, and VOILA.. my parameter-drop-down-list works...

Anyway, it worked for me...

This topic is closed to new replies.

Advertisement