Click here to Skip to main content
15,888,351 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
Rick York28-Feb-24 4:53
mveRick York28-Feb-24 4:53 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
nickpreston2428-Feb-24 5:09
nickpreston2428-Feb-24 5:09 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
ShawnVN28-Feb-24 5:51
ShawnVN28-Feb-24 5:51 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
bigtlb28-Feb-24 6:02
bigtlb28-Feb-24 6:02 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
Stacy Dudovitz28-Feb-24 7:28
professionalStacy Dudovitz28-Feb-24 7:28 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
Joe Woodbury28-Feb-24 16:31
professionalJoe Woodbury28-Feb-24 16:31 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
dandy7229-Feb-24 5:50
dandy7229-Feb-24 5:50 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
Gary R. Wheeler29-Feb-24 10:15
Gary R. Wheeler29-Feb-24 10:15 
We have a number of older products built using C++ and MFC, along with an inhouse tool started in 2000 and under active maintenance today. Our newer products use C# and WPF for the UI.

For complex UI or UI constructed dynamically in code WPF is the way to go. Doing the same thing in MFC is tedious, requires a lot more plumbing, and sometimes simply isn't feasible. For what it's worth, I find WPF to have a simpler mental model for constructing user interfaces. I've found the key to using it effectively is to ignore the "declarative" purists and build what works.

On the other hand if you're doing something with a lot of Windows API calls ("system programming" back in the day), C/C++ is a better approach. While it's true you can call most of the API using Platform/Invoke, some things are just a pain to translate (access control lists for example).

As always, it's a matter of choosing the proper tool for the job.
Software Zen: delete this;

GeneralRe: MFC? WinForms? I gotta ask... why? Pin
Stacy Dudovitz29-Feb-24 10:38
professionalStacy Dudovitz29-Feb-24 10:38 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
Br.Bill4-Mar-24 9:55
Br.Bill4-Mar-24 9:55 
GeneralRe: MFC? WinForms? I gotta ask... why? Pin
Stacy Dudovitz5-Mar-24 17:04
professionalStacy Dudovitz5-Mar-24 17:04 
GeneralRe: what's your SQL resources (advanced) Pin
OriginalGriff27-Feb-24 5:53
mveOriginalGriff27-Feb-24 5:53 
GeneralRe: what's your SQL resources (advanced) Pin
PIEBALDconsult27-Feb-24 7:37
mvePIEBALDconsult27-Feb-24 7:37 
GeneralRe: what's your SQL resources (advanced) Pin
Gerry Schmitz27-Feb-24 9:23
mveGerry Schmitz27-Feb-24 9:23 
GeneralRe: what's your SQL resources (advanced) Pin
pkfox27-Feb-24 21:51
professionalpkfox27-Feb-24 21:51 
GeneralRe: what's your SQL resources (advanced) Pin
OriginalGriff27-Feb-24 22:18
mveOriginalGriff27-Feb-24 22:18 
GeneralRe: what's your SQL resources (advanced) Pin
pkfox27-Feb-24 23:27
professionalpkfox27-Feb-24 23:27 
GeneralRe: what's your SQL resources (advanced) Pin
OriginalGriff27-Feb-24 23:42
mveOriginalGriff27-Feb-24 23:42 
GeneralRe: what's your SQL resources (advanced) Pin
StarNamer@work28-Feb-24 2:50
professionalStarNamer@work28-Feb-24 2:50 
Questionwhat's your SQL resources (beginner) Pin
Maximilien27-Feb-24 4:04
Maximilien27-Feb-24 4:04 
AnswerRe: what's your SQL resources (beginner) PinPopular
Richard Deeming27-Feb-24 4:06
mveRichard Deeming27-Feb-24 4:06 
AnswerRe: what's your SQL resources (beginner) Pin
PIEBALDconsult27-Feb-24 4:15
mvePIEBALDconsult27-Feb-24 4:15 
AnswerRe: what's your SQL resources (beginner) Pin
Ron Nicholson27-Feb-24 5:04
professionalRon Nicholson27-Feb-24 5:04 
GeneralRe: what's your SQL resources (beginner) Pin
Ravi Bhavnani27-Feb-24 5:29
professionalRavi Bhavnani27-Feb-24 5:29 
AnswerRe: what's your SQL resources (beginner) Pin
OriginalGriff27-Feb-24 5:46
mveOriginalGriff27-Feb-24 5:46 

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.