Thread: Example dialog not working

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    48

    Example dialog not working

    I'm trying to learn windows programming from http://www.winprog.org/tutorial/ and the dialog resource example is saying theres a parse error.

    Code:
    IDD_ABOUT DIALOG DISCARDABLE  0, 0, 239, 66
    STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
    CAPTION "My About Box"
    FONT 8, "MS Sans Serif"
    BEGIN
        DEFPUSHBUTTON   "&OK",IDOK,174,18,50,14
        PUSHBUTTON      "&Cancel",IDCANCEL,174,35,50,14
        GROUPBOX        "About this program...",IDC_STATIC,7,7,225,52
        CTEXT           "An example program showing how to use Dialog boxes\r\n\r\nby theForger",
                        IDC_STATIC,16,18,144,33
    END

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    wrong forum...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Parent of a BrowseForFolder dialog box
    By @nthony in forum Windows Programming
    Replies: 4
    Last Post: 01-08-2007, 02:54 PM
  2. Reusing dialog procedure and resource file code
    By elad in forum Windows Programming
    Replies: 3
    Last Post: 12-23-2006, 09:45 AM
  3. Dialog problem
    By Sucur in forum C++ Programming
    Replies: 0
    Last Post: 07-20-2005, 05:22 PM
  4. Dialog Box Resources
    By Mecnels in forum Windows Programming
    Replies: 2
    Last Post: 04-28-2003, 05:57 AM
  5. SDI Menu App - MSVC 6
    By Unregistered in forum Windows Programming
    Replies: 7
    Last Post: 10-16-2001, 09:59 PM