I’ve got a very special problem (as usual : ), and couldn’t find a good solution yet.
Probable the solution very fair and simple with JUCE (like in most cases),
so I ask you for a little help. I made a panel with buttons and sub-panel
(and the latter have other components):
I “hide” this panel (eg.: setTopLeftPosition(scr_width,0)), and capture it’s appearance
by HWND of panel, for a texture of a 3D object. If I “click” with my 3D device, projected
2D positon calculated, and PostMessage(panel_hwnd,WM_LBUTTONDOWN,…) called.
(Yes, I know, this quick and dirty solution could be used for demo purposes, only.
But I want to check a possibility of a “real” 3D-gui : )
It’s working if I pick color (or browse files with another subpanel), but
I can’t click to buttons - except: if part of button is in the screen’s rectangle.
Has anyone any suggestions to click to buttons?