Thread: starting windows programming

  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    127

    starting windows programming

    I used to console appl. programming using C++ where i am familiar to loops , functions , classes , pointers and arrayes and i wish i could start windows programming can u tell me what r the prequiesties before i should start it?

    and which is better for me to start windows programming with VC++ or with C#(which i didnt try before)

    and i am sorry if my questions seems trivial

    Thanks in advance

  2. #2
    Registered User
    Join Date
    Nov 2003
    Posts
    161
    Look here its not too good to start win32 programming but has some tutorials. There are not many win32 tutorials (or perhaps Iam not good at finding good ones for c++.)

    I recomend by starting learning windows api. The first api you should learn how to use in my opinion is CreateWindow and CreateWindowEx Functions. After that learn RegisterClass/Ex.

    Here Is a tutorial that I recently found. It starts from the beggining. The more you learn the easier it would be for you to find tutorials for your self. Anyway if you have MSVC then click file>new and select "win32 aplication". Name your project click ok and select "simple aplication" click ok. Goto the site above and skip down until you reach "about microsoft windows messages" and start there. Thats what it tells you to do in the first section. If you don't understand you can read there.

    Hope this helps!

  3. #3
    Emotionally Unstable DarkViper's Avatar
    Join Date
    Oct 2002
    Posts
    343
    www.sunlightd.com is where i started.
    ~DJ DarkViper signing out
    ----------------------------------------
    My Site:
    Black Jaguar Studios

    Languages:
    Fluent English, Starter German, HTML, Javascript, Actionscript, Intermediate PHP

    Verteran Despiser of: ASP, Java, BASIC, Pascal, Cobalt

  4. #4
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    Hi,

    Years ago, when I first started learning Windows programming, I wrote in C and learned a lot from Charles Petzold's Windows Programming book.

    For online tutorials, here is a one URL you might want to check out.
    http://www.relisoft.com/win32/index.htm

    Best Regards,
    Yeoh

  5. #5
    Registered User
    Join Date
    Feb 2004
    Posts
    127
    Thanks all for ur replies

    but i heard about MFC is it better or API ?? provided that i have a good knowledge about C++

    Thanks in advance

  6. #6
    Registered User Dante Shamest's Avatar
    Join Date
    Apr 2003
    Posts
    970
    >> but i heard about MFC is it better or API ??

    MFC is just a wrapper around the API. Whatever MFC can do, the API can do too.

    Also, MFC is being deprecated in favour of the .NET Framework which wraps most of the API, but not MFC.

  7. #7
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    MFC is a C++ Application Framework that wraps the Win32 API. It makes Windows programming in C++ much easier than using C.

    There are other C++ application frameworks that wrap the Win32 API. One example is wxWidgets (formerly known as wxWindows). I like wxWidgets because it is cross platform and Open Source.

    Check out this URL:
    http://www.wxwindows.org/

    Best Regards,
    Yeoh

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 10
    Last Post: 11-23-2007, 12:13 AM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  4. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM