Hi, This is probably a rather obscure question, but I don't suppose anyone here knows how to override WndProc? I am using dotnet to provide a GUI for python code and I'd like to use the win32 api WM_COPYDATA message to send simple messages between forms. I can do this in c# using this rather simple bit of code: protected override void WndProc(ref Message m) { if (m.Msg == WM_COPYDATA) { //do something with message } base.WndProc(ref m); } But despite my best efforts, I can't seem to get this to work in pythondotnet. Any ideas? Thanks and regards Pierre Zeeman Software Developer Psitek (Pty) Ltd Tel: +27 21 912 2100 Fax: +27 21 912 2200 Web: www.psitek.com Notice This email is intended for the addressee only and may contain legally privileged and/or confidential information. If you have received this email in error and are not the intended recipient, you are hereby informed that you are not entitled to read, broadcast, distribute or in any manner whatsoever use the contents of this email or any attachments thereto. You are requested to please notify Psitek that you have received the email and then delete it. Unless clearly stated otherwise, the content and sentiments expressed in this email or any attachments thereto are those of the sender and not of Psitek (Proprietary) Limited. Psitek does not accept liability for any damages, loss or expense of any nature whatsoever arising (a) out of or in connection with the email or any attachments thereto and/or (b) from any act or omission by the recipient relying upon the content of the email or attachments. Psitek further disclaims liability for any damages caused by computer and/or software viruses. Should this email contain the terms of a contract, no binding agreement will result until such time as a written (hardcopy) document is signed on behalf of Psitek.
participants (1)
-
Pierre Zeeman