How can I get the HWND (Native Window Handle) of the client region of UIPANEL on MATLAB Figure?
Mostrar comentarios más antiguos
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!
Respuesta aceptada
Más respuestas (2)
Evgeny Pr
el 12 de Mzo. de 2011
Oleg Komarov
el 12 de Mzo. de 2011
0 votos
May save you a lot of time.
Oleg
1 comentario
Evgeny Pr
el 12 de Mzo. de 2011
Categorías
Más información sobre Power Converters en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!