Quick one about API:

There is advice in MS Visual Studio 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
}
"
Hm... where? In WinMain or between functions? Or maybe inside of LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); function?

Member Avatar for jencas

Looks like something that fits into the .rc resource file of your project

omg, I am using Visual C++ 2008 Express Edition
"Resource Editiong is not supported on the Visual C++ Express SKU"
:( Thanks anyway.

omg, I am using Visual C++ 2008 Express Edition
"Resource Editiong is not supported on the Visual C++ Express SKU"
:( Thanks anyway.

EDITING is not supported, you can still use .rc files lol, just if you want to use VISUAL resources then you have to make the in external application and import them

Well, yeah, I did it with notepad - still:

"error C2065: 'POPUP' : undeclared identifier"

Well, yeah, I did it with notepad - still:

"error C2065: 'POPUP' : undeclared identifier"

Start a new thread, now this is marked as solved and it's technically a different problem. Remember to use code tags and post the problematic code.

Chris

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.