comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » no focus on a widget
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: no focus on a widget [message #66161 is a reply to message #66024] Wed, 15 April 2009 07:31 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
> Jean,
>
> If you know in advance (i.e. before you draw it) you're not going to use
> the widget can you just set map=0 to the base of the widget when you
> create it?
>
> This should (untested!) still allow your timer events and various
> widget_controls to work without having to re-factor any code but will
> stop it appearing on the screen.
>
> Thanks,
>
> Allan
>

Thanks for the tip Allan! I missed the map=0 keyword in my investigations...

Doing this does 2/3 of the job.. 1) the widget is not shown, 2) if I run
another application than IDL, I don't see any flickering (i.e. the
application keep the focus), but, strange enough, IDL still gets and
loose the focus (not if IDL is iconised)!!! It is very strange since no
window is created... anyways, thanks a lot, as what I needed is met!

Jean
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: i found some bugs with the idlffdxf object
Next Topic: Italic and upright in the same title/caption

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:00:48 PDT 2025

Total time taken to generate the page: 0.15808 seconds