Board index » cppbuilder » Hiding App. / System Tray...
Art Pollar
![]() CBuilder Developer |
Sun, 09 Sep 2001 03:00:00 GMT
Hiding App. / System Tray...Hi. I am trying to get my app. to minimize to the system tray. Right now, everything seems to be working OK except Here is a short rundown of what I have done: void __fastcall TMainForm:: OnCreate() { Quote} if(Message.Msg == IconMessage) { if(Message.LParam == WM_LBUTTONDBLCLK) { WindowState = wsNormal; Show(); } return; } TForm::WndProc(Message); Quote} // ShowWindow(Application->Handle, SW_HIDE); Hide(); Visible = false; Quote} -Art |