mrhe
(Mariusz Hermansdorfer)
April 9, 2024, 10:45am
1
Hey developers!
Is there a cross-platform way of detecting the Rhino Window being resized or moved? @ChristopherBotha suggested this solution a few years back, but it seems to be Windows-only.
@kitjmv have a google for win32controls.cs , you can inject pages, buttons, sliders, whatever you like directly into rhino, locking them to rhino as you move it about by hooking its handle via USER32.DLL, sounds complex, but its really as easy as this below (locking a button into the perspective view, no matter where the perspective view is. I am testing a mac wrapper for it today as well to port this to mac, will feedback how I go.
Win32Window.FromProcessName("Rhino");
…
Using RhinoEtoApp.MainWindow.SizeChanged doesn’t work:
Hello
RhinoEtoApp.MainWindow.SizeChanged has no effect
There is no compilation error but there not captured event handler
[image]
jmv
@curtisw , do you have other suggestions?
brian
(Brian Gillespie)
August 5, 2025, 9:41pm
2
RH-86166 is fixed in Rhino WIP