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

Home » Public Forums » archive » Place cursor programatically in draw 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: Place cursor programatically in draw widget? [message #69100 is a reply to message #68810] Mon, 21 December 2009 11:52 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
j.coenia@gmail.com wites:

> Yeah, TVCRS won't work for object graphics windows. One hack is to
> use a 1x1 WIDGET_BASE containing 1x1 WIDGET_DRAW, realized on top of
> the object graphics window offset to where you want the cursor to be,
> then TVCRS the cursor onto that tiny window before destroying it (and
> possibly re-setting focus). It works well, actually

Really!? I would have thought that solution too
ugly to even comtemplate. :-)

Cheers,

David

P.S. I might try adding that as a method to one
of my draw widget objects.



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Place cursor programatically in draw widget?
Next Topic: all membars comming here an super girls stils

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

Current Time: Wed Oct 08 19:55:46 PDT 2025

Total time taken to generate the page: 0.00236 seconds