News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Dock Window

Started by puneet_m, November 06, 2007, 01:11:21 AM

Previous topic - Next topic

puneet_m

How do I check whether a dock window is opened or closed??

        CodeBlocksDockEvent evtT,evt1T;
         
         evtT.pWindow = m_pTreeT;
         Manager::Get()->ProcessEvent(evtT);

         evt1T.SetEventType(cbEVT_SHOW_DOCK_WINDOW);
         evt1T.pWindow = m_pTreeT;
         Manager::Get()->ProcessEvent(evt1T);

In the above code, I have opened the window using evtT, evtT1. Now I close the window, so how should I check whether the window is closed or not??