Re: The performance of Editplus is much better than notepad,Why?



On 20 Nov 2006 10:12:48 -0800, wei.niu@xxxxxxxxx wrote:

I use C++ + SDK to do it and found it's hard to develop a good GUI.I
even want to study VB as it's easier.

Sure, developing with VB6 is a lot easier.
But with C++ you have much more power!

I think that the correct path would be to first learn C/C++ in console
mode, so you can get robust knowledge about important C++ techniques
like classes, virtual methods, inheritance, polymorphism, etc.
Then, when your C++ background in console mode is robust enough, you
could move to Win32, as you're doing, learning about window classes,
messages, event driven programming, etc.
Then I would suggest to move to MFC.

Think to MFC as a "calculator", and to Win32 as "math". Calculator can
help a lot to get sin, cos, square roots, etc. But if you don't know
the math, you can't use them properly, combine them for your needs,
etc.

Also consider that you can mix VB6 and C++ code.
You could use VB6 to quickly develop a GUI, and then embedd your
"critical" C++ code into a C-interface DLL or an ActiveX, and call it
from VB6. MFC helps a lot in developing ActiveX.

However, IMHO, MFC gives you more "order and discipline" than VB6.
With C++ and MFC you can write more robust, organized code than VB6;
you can use inheritance and other useful C++ techniques, etc.
(Maybe in VB.NET things are different than VB6, but VB.NET requires
the .NET framework to work, so you could go C# for this...)

I see VB6 good to quickly develop GUIs for testing ActiveX controls
you develop with C++ and MFC, or to quickly build some small tools for
your needs, and things like theese.

Mr Asm
.



Relevant Pages

  • Re: MFC Gui Apps
    ... Five years ago most Windows GUI apps were being developed either with VB6 or VC6 with MFC. ... To use Managed C++ you should be sure to get Visual Studio 2005 ...
    (microsoft.public.vc.mfc)
  • Re: MFC Gui Apps
    ... "If I were Microsoft, I would continue to support VB6 and MFC, bug fix ... > and improve them like a "craftsman", with love and passion and attention, ...
    (microsoft.public.vc.mfc)
  • Re: Why VC++ ,Why not C#,VB for windows applications
    ... MFC wipes the floor with VB in terms of speed, but VB6 wipes the ... Also, in terms of debugging, VB6 is ...
    (microsoft.public.vc.mfc)
  • Re: Why VC++ ,Why not C#,VB for windows applications
    ... MFC wipes the floor with VB in terms of speed, but VB6 wipes the floor with MFC in terms of design environment etc, debugging etc. ...
    (microsoft.public.vc.mfc)
  • Re: MFC Gui Apps
    ... VB6 official support stopped recently. ... I dont think there is any ... new development planned for VB6(ie no service packs etc). ... MFC is ...
    (microsoft.public.vc.mfc)

Loading