[Dev-C++] Menu in Windows using Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Ameer K. <sm...@vs...> - 2001-10-02 03:42:36
|
Hi friends,
Some days before I have reported about compiling errors while trying to =
create menu to Windows using Dev-C++ version 4.0.
The error is due to an error in the default .cpp source
to which the following lines should be added if it is to work properly.
1. add " HMENU menu;" as line no 13 after
"WNDCLASSEX wncl;"
2. addthe lines" menu =3D LoadMenu(hThisInstance, =
MAKEINTRESOURCE(ID_MENU));
SetMenu(hwnd, menu);" approximately towards line 53,
after the code line
" /* Make the window visible on the screen */
ShowWindow(hwnd, nFunsterStil);"
Hope the developers will notice this and make necessary
corrections in the future versions
With regards
Ameer Khan
sm...@vs...
|