Author: laserbeak43laserbeak43
Date: Jul 2, 2008 10:45
Hi,
I'm learning windows programming by reading Petzold's old book and I
have some code that gives me an error saying: "IDM_BKGND_WHITE
undeclared identifier" I can't argue with it cause i don't know where
this identifier came from and it's not in the MSDN help. does anyone
have any idea?
// "MenuDemo.c" Line 56 of this file(in the body of the WndProc
function)says: "IDM_BKGND_WHITE undeclared identifier"
#include
#include "resource.h"
#define ID_TIMER 1
LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ;
TCHAR szAppName[] = TEXT ("MenuDemo") ;
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
PSTR szCmdLine, int iCmdShow)
{
HWND hwnd ;
MSG msg ;
WNDCLASS wndclass ;
|