From: Thomas Thomassen Date: 2010-12-29T09:37:56+09:00 Subject: Re: Calling OSX API similar to calling Win32 API? With the SketchUp Ruby API one can create your own custom windows - called WebDialogs - which is simply a window with an embedded browser control where you create your UI in HTML+JS+CSS. The only control one has over these windows via the API is this: http://code.google.com/apis/sketchup/docs/ourdoc/webdialog.html It does not allow you to change the window style. But I wanted to make toolwindows and that I managed to do under Windows by using the Win32 API thanks to Ruby's Win32 module. (I send my own SetWindowLong message after sniffing out the window's handle.) So what I'm trying to do is modify windows which hasn't been created directly by me. -- Posted via http://www.ruby-forum.com/.