Click here to Skip to main content
16,010,394 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Parsing in C Pin
Rage25-May-03 23:46
professionalRage25-May-03 23:46 
GeneralRe: Parsing in C Pin
Rickard Andersson2026-May-03 0:32
Rickard Andersson2026-May-03 0:32 
GeneralRe: Parsing in C Pin
Ryan Binns26-May-03 1:46
Ryan Binns26-May-03 1:46 
GeneralRe: Parsing in C Pin
jhwurmbach26-May-03 2:19
jhwurmbach26-May-03 2:19 
GeneralRe: Parsing in C Pin
Ryan Binns26-May-03 2:22
Ryan Binns26-May-03 2:22 
GeneralRe: Parsing in C Pin
Rickard Andersson2026-May-03 5:27
Rickard Andersson2026-May-03 5:27 
GeneralSimple get started questions Pin
Jon H25-May-03 22:44
Jon H25-May-03 22:44 
GeneralRe: Simple get started questions Pin
Andrew Walker25-May-03 23:32
Andrew Walker25-May-03 23:32 
Jon H wrote:
1. What are the most helpfull resources to use?

To a certain extent learning MFC is a bit of trial and error. The way I learnt was by starting with dialog based apps.

Play around with the toolbox and adding controls. Then start to add controls to your app. Finally make sure you understand how to add variables to represent the controls with various ID's.

Jon H wrote:
2. Did I miss a section of the MSDN library that is helpful in this area?

Possibly what you missed is that MFC is huge. It's made up of so many classes which represent so many different types of controls

Jon H wrote:
3. When I start a new Win32 Project, how much of the automatic code do I need to understand?

Very little to start with. Try to avoid modifying message maps unless you have to. Stick, at least at the start, to just worrying about your handlers for buttons / whatever. Don't worry much about the code the AppWizards generate for you, most of it's just framework stuff. If you need to modify it you can get more help on MSDN. Look for the todo: in the code for place's where you can start to add code if you feel the urge to experiment.

Don't make the mistake of trying to cram your whole app into the generated MFC classes. Write your app, then use MFC as a frontend, using whatever goodies you want like CString along the way.

Jon H wrote:
4. What other basic tips can you provide for someone in my situation?

Be aware of linking. Sometimes I think this is the most underdone of all C++ topics. Make sure that you're linking to the correct standard library. Be aware of unicode compliance. Use string tables if you start thinking about developing a bigger product
Generalunicode, resources Pin
Joerg Wiedenmann25-May-03 22:24
Joerg Wiedenmann25-May-03 22:24 
GeneralRe: unicode, resources Pin
John R. Shaw26-May-03 10:29
John R. Shaw26-May-03 10:29 
GeneralConstruct Null Object If I/O Operation Fail In The Constructor Pin
yccheok25-May-03 22:22
yccheok25-May-03 22:22 
GeneralRe: Construct Null Object If I/O Operation Fail In The Constructor Pin
Andrew Walker25-May-03 22:38
Andrew Walker25-May-03 22:38 
GeneralRe: Construct Null Object If I/O Operation Fail In The Constructor Pin
Ryan Binns26-May-03 1:59
Ryan Binns26-May-03 1:59 
GeneralDebugging OLE Automation Application Pin
vcseeker25-May-03 22:22
vcseeker25-May-03 22:22 
GeneralFormat of the Visual C++ Intellisense File Pin
Franz Klein25-May-03 21:58
Franz Klein25-May-03 21:58 
GeneralWhy my activex ctrl(MFC,not ATL) can only run at IE6 Pin
fengjn25-May-03 21:26
fengjn25-May-03 21:26 
QuestionHow to get the index of the current hot item of the CListCtrl? Pin
iamhcj25-May-03 20:54
iamhcj25-May-03 20:54 
AnswerRe: How to get the index of the current hot item of the CListCtrl? Pin
Michael Dunn25-May-03 22:30
sitebuilderMichael Dunn25-May-03 22:30 
GeneralReally strange problem , solution !!! :-) Pin
Cedric Moonen25-May-03 20:53
Cedric Moonen25-May-03 20:53 
GeneralRe: Really strange problem , solution !!! :-) Pin
Rage25-May-03 22:39
professionalRage25-May-03 22:39 
GeneralRe: Really strange problem , solution !!! :-) Pin
Neville Franks25-May-03 22:46
Neville Franks25-May-03 22:46 
GeneralGet File Type Extenstons.......... Pin
rohit.dhamija25-May-03 20:44
rohit.dhamija25-May-03 20:44 
GeneralRe: Get File Type Extenstons.......... Pin
Rage25-May-03 22:57
professionalRage25-May-03 22:57 
GeneralRe: Get File Type Extenstons.......... Pin
rohit.dhamija25-May-03 23:33
rohit.dhamija25-May-03 23:33 
QuestionWill the professional programmers please help me here with my DieClass? Pin
Link260025-May-03 19:15
Link260025-May-03 19:15 

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.