Uniface on GitHub
Fixes and Updates
We are unable to access the size of the left pane in the tree widget, either to get the size or to set it. Does anyone have/know of a windows UI function which would allow me to get/set this information even though Uniface cannot provide it?
Best thing you can do is raise a wish. There is currently no option to manipulate the splitterbar in the tree.
Except that it appears the wishlist is broken. I get an error followed by a suggestion to check jira.
with spyxx.exe I found that we have to look for instances of the class "OwiTreeList".
Perhaps we can analyse the messages, or someone from "theLab" who has access to the sources can give us a helpful function.
user32.dll provides a function GetActiveWindow() returning a handle to the active application,then we have our starting point to traverse the tree of children ...
Hi Iain, thanks for making it a little clearer.
As spyxx.exe shows the widget is just a standard "SysTreeView32", perhaps you can find some hint with
ok, it may be a lot of 3GL or just a little DLL and signature.
But as it looks like you have to find the handle of the widget in the first place:
in YRTL.DLL you find a routine to get the handle of the uniface app window as:
hApp = ugethwnd(); /* Get application window handle */
uniface uses (the largest) glyph to scale the size of the lefthand side.
So if you want to ENLARGE the tree, adding an artificial larger glyph may do the job,
I mean move the 'split bar' rather than size the text. The panel size is defined as a percentage of the (original?) size at compile time.
Customer wants more room for his 'folders' automatically, and for it to remember where he left it.
© 2020 Uniface Privacy & Cookies | Privacy Statement | Legal