Thread: Source code

  1. #1
    Registered User
    Join Date
    Sep 2006

    Source code


    can anyone tell me where i can find the source codes of little windows
    applications with those i can play and learn from, for example:

    a little text-editor (like the windows notepad) maybe with the options
    to change the font-style and color, but not too many functions which
    makes the code more complicated for WinAPI-beginners like me?

    I am not interested in MFC only WinAPI!

    Thank you very much!


  2. #2
    Join Date
    Jan 2002
    From the top of this very board: windows programming links. That should get you started.

    A 'simple' text editor as you have described, at your current level of knowledge, would involve a main window with an edit control. To change the font you'd send the edit control a WM_SETFONT message, to change the colour of text(all of it) and background colour you would handle the parent's WM_CTLCOLOREDIT message.

    The link above contains links to other resources that should get you started; search this board, too, for examples of the messages etc I have mentioned as there will be many examples and discussions of their use.

    If you have problems with specific aspects of code then post your problematic code within code tags together with a description of the problem, the compiler you are using and any error messages you may have.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    ... arjunajay's Avatar
    Join Date
    May 2005
    They have code and explanation. You don't have to read all of them just those which are of interest

  4. #4
    Registered User
    Join Date
    May 2006
    The best tutorial ever on the Win32 API is The Forger's tutorial which can be found on

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Seven Kingdoms I: Ancient Adversaries for Linux
    By MIH1406 in forum Projects and Job Recruitment
    Replies: 13
    Last Post: 01-17-2010, 05:03 PM
  2. How do you call another source code file?
    By nifear4 in forum C Programming
    Replies: 2
    Last Post: 10-28-2008, 12:16 PM
  3. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 05:50 PM
  4. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  5. Source Code Beautifier
    By Hammer in forum A Brief History of
    Replies: 2
    Last Post: 05-05-2002, 09:21 PM