00001 #include "headers.h"
00002
00003
00004
00005
00006
00007
00008 bool PeekabootyApp::OnInit()
00009 {
00010 mainInit();
00011
00012 VisualizerFrame* mainWindowFrame = new VisualizerFrame();
00013 mainWindowFrame->CreateStatusBar();
00014 mainWindowFrame->SetStatusText("Test status bar message");
00015 mainWindowFrame->Show(TRUE);
00016 SetTopWindow(mainWindowFrame);
00017
00018 return true;
00019
00020 }
00021
00022
00023
00024 int PeekabootyApp::OnExit()
00025 {
00026
00027
00028 #ifdef WIN32
00029 UINT oldval;
00030 SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, FALSE, &oldval, 0);
00031 #endif
00032
00033 return 0;
00034
00035 }