User forums > General (but related to Code::Blocks)

Dock Window

(1/1)

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??

Navigation

[0] Message Index

Go to full version