All gui libraries (at least the ones I know of), need an event loop to function, and each GUI library defines it's own event loop. F# starts an event loop for winforms by default, there some compatitlity between the winforms event loop and the WPF eventloop so some features of your window will work, but as you say not all of them. There is a sample in the F# distrib that shows how to load the WFP event loop so the above code should just work: \samples\fsharp\WPF\GettingStarted\load-wpf.fsx
By on 8/20/2008 12:46 AM ()
Thanks, that's exactly what I'm looking for.

By on 8/20/2008 5:22 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper