Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Threading Pin
namaskaaram22-Sep-05 4:03
namaskaaram22-Sep-05 4:03 
QuestionForcing windows to display on top. Pin
gremlinimp21-Sep-05 15:17
gremlinimp21-Sep-05 15:17 
AnswerRe: Forcing windows to display on top. Pin
Chris Douglass21-Sep-05 15:38
Chris Douglass21-Sep-05 15:38 
GeneralRe: Forcing windows to display on top. Pin
gremlinimp21-Sep-05 17:05
gremlinimp21-Sep-05 17:05 
QuestionDetecting Explorer.exe in XP 64-bit Pin
joelvolvo21-Sep-05 15:15
joelvolvo21-Sep-05 15:15 
AnswerRe: Detecting Explorer.exe in XP 64-bit Pin
Alexander M.,22-Sep-05 3:22
Alexander M.,22-Sep-05 3:22 
Questionbeggining to create first program Pin
lordgreg21-Sep-05 12:44
lordgreg21-Sep-05 12:44 
AnswerRe: beggining to create first program Pin
Christian Graus21-Sep-05 13:35
protectorChristian Graus21-Sep-05 13:35 
lordgreg wrote:
- Empty Project (.NET) or
- Windows Forms Application (.NET)
- MFC Application (MFC)


Depends, do you want to use MFC or .NET ? Both of these options will work, albeit they are vastly different, because they use different libraries to achieve the same goal.


lordgreg wrote:
What is your opinion? What are the actual diferences between those three?

1 - creates an empty app that links to .NET
2 - creates an app that uses Windows Forms and therefore requires the .NET framework and knowledge of managed C++
3 - creates an app that either statically links to the MFC dll, or requires it to be installed. MFC is how C++ Windows apps were written before VS.NET, and still are, but it's the older option.

lordgreg wrote:
when viewing Class View for that type of project, i didn't noticed any main class. so, where to write my own code that would be executed when program would be runned?

I'm starting to wonder if you are really creating your first program at ALL, in which case, you're being way to ambitious. You shoud learn C++ before learning ANY windows library.

A forms app will have a form class which has events you can put code into. So will an MFC app, for that matter.

lordgreg wrote:
i would really like to know, what type of project fits the best for a)dialog based applications (example- mIRC, UltraEdit, FTP programs, ... any kind of programs actually; if they're written in VC++ .NET)?

The answer is option 2 or 3, depends on what library you want to use.


Christian Graus - Microsoft MVP - C++
GeneralRe: beggining to create first program Pin
lordgreg21-Sep-05 20:24
lordgreg21-Sep-05 20:24 
QuestionRegister device ? Pin
Christian Graus21-Sep-05 11:02
protectorChristian Graus21-Sep-05 11:02 
AnswerRe: Register device ? Pin
Graham Bradshaw21-Sep-05 11:35
Graham Bradshaw21-Sep-05 11:35 
GeneralRe: Register device ? Pin
Christian Graus21-Sep-05 12:08
protectorChristian Graus21-Sep-05 12:08 
Question[Message Deleted] Pin
valerie9921-Sep-05 10:13
valerie9921-Sep-05 10:13 
AnswerRe: the memory leak Pin
Christian Graus21-Sep-05 10:26
protectorChristian Graus21-Sep-05 10:26 
Generaldidn't expect from u anyway! Pin
valerie9922-Sep-05 6:21
valerie9922-Sep-05 6:21 
GeneralRe: didn't expect from u anyway! Pin
Christian Graus22-Sep-05 12:22
protectorChristian Graus22-Sep-05 12:22 
GeneralRe: the memory leak Pin
Jörgen Sigvardsson21-Sep-05 11:14
Jörgen Sigvardsson21-Sep-05 11:14 
Generalabsolutely! Pin
valerie9921-Sep-05 11:53
valerie9921-Sep-05 11:53 
QuestionRe: absolutely! Pin
Maximilien21-Sep-05 13:42
Maximilien21-Sep-05 13:42 
AnswerRe: absolutely! Pin
valerie9922-Sep-05 3:59
valerie9922-Sep-05 3:59 
Questiontrying to read rtfbody of email Pin
pnpfriend21-Sep-05 9:51
pnpfriend21-Sep-05 9:51 
AnswerRe: trying to read rtfbody of email Pin
David Crow21-Sep-05 10:09
David Crow21-Sep-05 10:09 
GeneralRe: trying to read rtfbody of email Pin
pnpfriend22-Sep-05 4:19
pnpfriend22-Sep-05 4:19 
GeneralRe: trying to read rtfbody of email Pin
pnpfriend22-Sep-05 5:40
pnpfriend22-Sep-05 5:40 
QuestionWhere to place code to be ran immediately after all mfc contruction is completed. Pin
Dan Neely21-Sep-05 9:38
Dan Neely21-Sep-05 9:38 

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.