Simple Dialog Box Prob (resource)

This is a discussion on Simple Dialog Box Prob (resource) within the Windows Programming forums, part of the Platform Specific Boards category; i have "syntax error" in my resource, in CTEXT Resource.rc Code: #include "Resource.h" IDR_MYMENU MENU BEGIN POPUP "&File" BEGIN MENUITEM ...

  1. #1
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178

    Simple Dialog Box Prob (resource)

    i have "syntax error" in my resource, in CTEXT

    Resource.rc
    Code:
    #include "Resource.h"
    
    
    IDR_MYMENU MENU
    BEGIN
        POPUP "&File"
        BEGIN
            MENUITEM "&Open", 0, GRAYED
            MENUITEM "E&xit", ID_FILE_EXIT   
        END
    
        POPUP "&Stuff"
        BEGIN
            MENUITEM "&Dialog << Test", ID_DIALOG_RUN
        END
    END
    
    
    IDD_ABOUT DIALOG DISCARDABLE  0, 0, 239, 66
    STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
    CAPTION "My Dialog 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...", ID_BOUT
        CTEXT           "An example program showing how to use Dialog Boxes\r\n\r\nby theForger",IDC_STATIC,16,18,144,33
    END
    Resource.h
    Code:
    #ifndef _RESOURCE_H_
    #define _RESOURCE_H_
    
    
    #define IDR_MYMENU 1001
    #define ID_FILE_EXIT 1002
    #define ID_DIALOG_RUN 1004
    
    #define IDD_ABOUT 1005
    #define ID_BOUT 1003
    #define ID_TEXT 1006
    
    #endif
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  2. #2
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    solved
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Set Printer Prior To Loading Print Dialog Box
    By Beaner in forum Windows Programming
    Replies: 3
    Last Post: 10-10-2008, 01:02 PM
  2. A problem with a modal dialog box
    By Hussain Hani in forum Windows Programming
    Replies: 2
    Last Post: 08-12-2008, 10:30 AM
  3. Add a dialog box to a tab
    By axr0284 in forum Windows Programming
    Replies: 0
    Last Post: 01-10-2005, 07:38 AM
  4. problem with the open dialog box
    By stallion in forum Windows Programming
    Replies: 13
    Last Post: 02-19-2003, 07:28 AM
  5. Simple Dialog Box (noob)
    By tegwin in forum Windows Programming
    Replies: 6
    Last Post: 06-30-2002, 06:04 PM

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