Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Reading Windows Registry data in 64 bit operating system Pin
MicroVirus20-Jul-10 2:20
MicroVirus20-Jul-10 2:20 
GeneralRe: Reading Windows Registry data in 64 bit operating system Pin
Richard MacCutchan20-Jul-10 4:35
mveRichard MacCutchan20-Jul-10 4:35 
GeneralRe: Reading Windows Registry data in 64 bit operating system Pin
MicroVirus20-Jul-10 11:01
MicroVirus20-Jul-10 11:01 
AnswerRe: Reading Windows Registry data in 64 bit operating system Pin
Electron Shepherd19-Jul-10 13:17
Electron Shepherd19-Jul-10 13:17 
QuestionOpening Sound File Using PlaySound(); Pin
AmbiguousName18-Jul-10 21:21
AmbiguousName18-Jul-10 21:21 
AnswerRe: Opening Sound File Using PlaySound(); Pin
Code-o-mat18-Jul-10 21:35
Code-o-mat18-Jul-10 21:35 
GeneralRe: Opening Sound File Using PlaySound(); Pin
AmbiguousName18-Jul-10 21:41
AmbiguousName18-Jul-10 21:41 
GeneralRe: Opening Sound File Using PlaySound(); Pin
Code-o-mat18-Jul-10 21:51
Code-o-mat18-Jul-10 21:51 
If you have a "standard" MFC project created for you by Visual Studio then most common things like the CFileDialog you can access freely without explicitly needing to include anything because the headers for these things are included (directly or indirectly) inside stdafx.h which will be included in your cpp files anyways. If for some reason you DO need to add includes explicitly you can check MSDN[^], search for the class or method or whatever you want to use and check its documentation, also, you can google for it, e.g:
1. Google for CFileDialog[^]
2. Click the first hit (it's usually MSDN if you are looking for common MFC/Microsoft things)
3. scroll down till you see this: " Header: afxdlgs.h ", this info is mostly located around the bottom of the page, somethimes there's even a table showing you what header you need to include, what library/DLL contains the implementations, etc.

Another way is to simply hit F1 while the cursor is on what you are looking for, this should give you the documentation for it which should state the header. Also another way is to right-click what you are looking for and select "Go to declaration", if you are lucky it will bring you to the header you need to include to use the given item.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

GeneralRe: Opening Sound File Using PlaySound(); Pin
AmbiguousName18-Jul-10 22:07
AmbiguousName18-Jul-10 22:07 
GeneralRe: Opening Sound File Using PlaySound(); Pin
Code-o-mat18-Jul-10 22:08
Code-o-mat18-Jul-10 22:08 
AnswerRe: Opening Sound File Using PlaySound(); Pin
Shivanand Gupta18-Jul-10 23:57
Shivanand Gupta18-Jul-10 23:57 
QuestionSometimes Print and PrintPreview Function not responding in 64 bit PC. [modified] Pin
Le@rner18-Jul-10 19:36
Le@rner18-Jul-10 19:36 
QuestionNamed Pipes 2-way commication Pin
dene9997018-Jul-10 13:23
dene9997018-Jul-10 13:23 
AnswerRe: Named Pipes 2-way commication Pin
Luc Pattyn18-Jul-10 14:12
sitebuilderLuc Pattyn18-Jul-10 14:12 
AnswerRe: Named Pipes 2-way commication Pin
Chuck O'Toole18-Jul-10 18:20
Chuck O'Toole18-Jul-10 18:20 
AnswerRe: Named Pipes 2-way commication Pin
ThatsAlok18-Jul-10 20:47
ThatsAlok18-Jul-10 20:47 
AnswerRe: Named Pipes 2-way commication Pin
Moak18-Jul-10 23:43
Moak18-Jul-10 23:43 
QuestionRadio Button's Satus?? Pin
AmbiguousName18-Jul-10 4:01
AmbiguousName18-Jul-10 4:01 
AnswerRe: Radio Button's Satus?? Pin
Maximilien18-Jul-10 4:09
Maximilien18-Jul-10 4:09 
AnswerRe: Radio Button's Satus?? Pin
rp_suman18-Jul-10 8:31
rp_suman18-Jul-10 8:31 
GeneralRe: Radio Button's Satus?? Pin
Maximilien18-Jul-10 14:38
Maximilien18-Jul-10 14:38 
GeneralRe: Radio Button's Satus?? Pin
Randor 18-Jul-10 15:40
professional Randor 18-Jul-10 15:40 
GeneralRe: Radio Button's Satus?? Pin
Richard MacCutchan18-Jul-10 22:16
mveRichard MacCutchan18-Jul-10 22:16 
GeneralRe: Radio Button's Satus?? Pin
Randor 19-Jul-10 6:21
professional Randor 19-Jul-10 6:21 
GeneralRe: Radio Button's Satus?? Pin
Richard MacCutchan19-Jul-10 7:40
mveRichard MacCutchan19-Jul-10 7:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.