Posted By: turrican | Oct 8th @ 5:13 AM
page 1 of 1
Comments: 6 | Views: 425
turrican
turrican
Condemnation without investigation is the height of ignorance! - Albert Einstein

Which assembly contains "Message"? (WndProc(ref Message m) {...) and how do I find this out? Been searching the Internet for 2 hours now.

Perplexed

Thanks.

Umm, that would be System.Windows.Forms.dll of course. That should be obvious, maybe you have a different problem?
Sven Groot
Sven Groot
You can't have everything; after all, where would you put it?
You can't override WndProc that way in WPF, there is no member WndProc to override in the Window class. Instead, here's how you do th same thing in WPF: http://blogs.msdn.com/nickkramer/archive/2006/03/18/554235.aspx
evildictaitor
evildictaitor
How could you use the adjective "indescribable" truthfully?
Sven's right, but even if you couldn't do that you can still have a WinForms window with a WPF element box that fills the client area, and then just override whatever you need in the Form.

Also, if you put your mind to it, you ought to be able to implement your own dragging client-area ability via MouseMove, MouseDown and MouseUp, although it's not a particularly nice solution, I'll grant you.
page 1 of 1
Comments: 6 | Views: 425