show Menu back after Demo running
Posted: Tue Aug 09, 2005 6:18 am
hi forum.
i have a problem using demo. what i want is how to show the menu back
after main program was run?
i'd try to use this code:
i put this code in event receiver in CDemo.cpp. well...it work, but the window doesn't want to close.
i'd try to use
device->drop()
it won't work. if i use
device->closeDevice()
all program will close.
thanks in advance.
regards,
ijo coim
i have a problem using demo. what i want is how to show the menu back
after main program was run?
i'd try to use this code:
Code: Select all
void CDemo::keluar()
{
CMainMenu menu;
menu.run(fullscreen, music, shadows, additive, vsync, driverType);
}
i'd try to use
device->drop()
it won't work. if i use
device->closeDevice()
all program will close.
thanks in advance.
regards,
ijo coim