L
Lloyd Dupont
I have some C# code using interop heavily.
Is it possible that, in some ways, that when I call some non managed code
it, somehow call WndProc?
basically is it possible to have a stack like that
=====
WndProc
SomeEvent
NativeCode
WndProc
SomeOtherEvent
NativeCode
WndProc
......
====
Also, I want to wrap any event management in some sort of start/end code
block.
I have no main window (instead I started with Application.Run() and I have
multiple visible windows).
Is there a "Main" event queue which I could wrap?
because even If I override
class Form1 : Form
{
override WndProc()
{
StartBlock();
try { base.WndProc(); }
finally { EndBlock(); }
}
}
it's not goind to be called if I have event on some Form2, or is it?
How could I be user ALL forms get a special start/end treatment around
events?
Is it only possible?
--
Regards,
Lloyd Dupont
NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
Is it possible that, in some ways, that when I call some non managed code
it, somehow call WndProc?
basically is it possible to have a stack like that
=====
WndProc
SomeEvent
NativeCode
WndProc
SomeOtherEvent
NativeCode
WndProc
......
====
Also, I want to wrap any event management in some sort of start/end code
block.
I have no main window (instead I started with Application.Run() and I have
multiple visible windows).
Is there a "Main" event queue which I could wrap?
because even If I override
class Form1 : Form
{
override WndProc()
{
StartBlock();
try { base.WndProc(); }
finally { EndBlock(); }
}
}
it's not goind to be called if I have event on some Form2, or is it?
How could I be user ALL forms get a special start/end treatment around
events?
Is it only possible?
--
Regards,
Lloyd Dupont
NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>