[Mono-winforms-list] Re: question about mono <-> ms .net

Erik Dasque edasque@ximian.com
Mon, 3 Jan 2005 11:16:36 -0500

Hi Dariusz,

the best forum to answer that question is probably the Windows Forms 
mailing list.


On Dec 13, 2004, at 9:58 AM, franz777@o2.pl wrote:

> Hello,
> I'm a programmer, who writting .net windows forms application (in
> c#), and I want my application to work under Mono in Linux. I have
> re-written much of my application to avoid windows p/invoke calls
> and other dll's binding in our program. But I've an important
> question: I am using a WndProc (overriden) routine because I must
> intercept for example non-client title bar clicks, double click,
> etc... So my program expects (and that is done by windows) that I
> intercept WM_NCLBUTTONDBLCLK message in WndProc (0x00A3 event) when
> user double click on titlebar (non-client area). There is no other
> method in .NET library to intercept such kind of tasks... My
> question is: will MONO support windows messages mapping? When under
> MONO user double click titlebar, will MONO send to my app message
> with code 0x00A3 via WndProc? I hope that will be happened... But if
> not, please tell me how to write such chunks of code to be portable
> to MONO ?
> Please, answer to my questions...
> I am waiting for hearing from you,
> Dariusz Rajtak