Source code

This is a discussion on Source code within the Windows Programming forums, part of the Platform Specific Boards category; Hello, can anyone tell me where i can find the source codes of little windows applications with those i can ...

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    16

    Source code

    Hello,

    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!

    greetings,
    newatC

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    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
    Posts
    203
    http://www.catch22.net/tuts/
    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
    Posts
    903
    The best tutorial ever on the Win32 API is The Forger's tutorial which can be found on www.winprog.org

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, 01:16 PM
  3. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 06: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 Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 04:50 PM
  5. Source Code Beautifier
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-05-2002, 10:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21