inspector window problem

L

Lloyd Dupont

I have a window with multiple inspector window.
When the *Application* lose the focus I would like to hide all inspector
windows.

I cannot use the activate/deactivate event on the main window, because it
deactivate if I click on any inspector windows.

How could I do that?

--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
 
L

Lloyd Dupont

found it!
protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case /*WM_ACTIVATEAPP*/ 0x1C:
if ((int)m.WParam == 0)
Hide();
else
Show();
break;
}
}


--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

track app activation 2
get key state 1
Japaneese IME 4
AnimateWindow and popup window 1
event when Z-order change? 3
what could prevent an Invalidate() from re-Drawing? 5
winform problem 2
DirectX & C# 2.0 2

Top