Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: puneet_m on November 06, 2007, 01:11:21 am

Title: Dock Window
Post by: puneet_m on November 06, 2007, 01:11:21 am
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??