How can I get the HWND (Native Window Handle) of the client region of UIPANEL on MATLAB Figure?
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (2)
Evgeny Pr
le 12 Mar 2011
Oleg Komarov
le 12 Mar 2011
0 votes
May save you a lot of time.
Oleg
1 commentaire
Evgeny Pr
le 12 Mar 2011
Catégories
En savoir plus sur Power Converters dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!