How can I get the HWND (Native Window Handle) of the client region of UIPANEL on MATLAB Figure?
Show older comments
Hi!
I need to have access from the outside to a given region of MATLAB Figure. I want to ask this region, using UIPANEL. Can I get the native window handle for UIPANEL, using undocumented MATLAB-Java interface?
I tried using this approach:
hFig = figure();
warning('off','MATLAB:HandleGraphics:ObsoletedProperty:JavaFrame');
jh = get(hFig, 'JavaFrame');
hwnd = get(jh, 'nativeWindowHandle');
But the way I access the client area , which contains all the UI Components. But this is not what I need.
I would be very grateful for any information on this issue. Thanks!
Accepted Answer
More Answers (2)
Evgeny Pr
on 12 Mar 2011
Oleg Komarov
on 12 Mar 2011
0 votes
May save you a lot of time.
Oleg
1 Comment
Evgeny Pr
on 12 Mar 2011
Categories
Find more on Power Converters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!