neoangin 0 Newbie Poster

Hi, I am trying to implement some code from MS VS 2008 Documentation.

To enable the user to draw filled shapes, include the following popup menu in your application.

POPUP "Filled &Shapes"
   {
      MENUITEM "&Ellipse",   IDM_ELLIPSE
      MENUITEM "&Rectangle", IDM_RECTANGLE
      MENUITEM "R&oundRect", IDM_ROUNDRECT
   }

I put in header:

#define IDM_ELLIPSE    1100
#define IDM_RECTANGLE  1200
#define IDM_ROUNDRECT  1300

The error is:

error C2065: 'POPUP' : undeclared identifier

What is wrong? I put first piece of code in .rc file, second in .h, so where's a problem?