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

Home » Public Forums » archive » Re: How to get windows id or title by clicking on it
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: How to get windows id or title by clicking on it [message #66900 is a reply to message #66899] Thu, 18 June 2009 18:16 Go to previous message
dosfun is currently offline  dosfun
Messages: 14
Registered: February 2009
Junior Member
On 6月19日, 上午7时37分, Jeanphi62 <jyjean...@gmail.com> wrote:
> Good morning every one
> I work with a GUI which include up to 8 windows which have titles as
> "window 1 window 2 window 3...", and I would like to get the id of the
> window just exposing it (left click on the window) or the best should
> be to get the title of the window by left clicking on it as each one
> of these titles include the number of its window.
> I have already events linked with the drawing area inside of these
> windows, but as the user may avoid to move the mouse over the drawing
> area, I would need to get the event when clicking on the window itself
> (as every body does to put the window to the front-most window of the
> screen)
>
> Is there a simple function such as widget_control, event.top,
> get_window_title=title ??
>
> I am looking forward to hearing from you !
>
> Thanks a lot !
>
> JeanPhi

widget_control, event.top, set_uvalue = 'window 1'

widget_control, event.top, get_uvalue = windowName

do you mean to something like these?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get windows id or title by clicking on it
Next Topic: Re: Problems with tying ROI's to image

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

Current Time: Fri Oct 10 04:13:49 PDT 2025

Total time taken to generate the page: 1.39724 seconds