No TLB Tracking Events in IDL 5.0 [message #9367] |
Wed, 18 June 1997 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Name: David Fanning
E-mail Address: davidf@dfanning.com
IDL version: { x86 Win32 Windows 5.0 Apr 28 1997}
Platform and OS: WindowsNT 4.0, Service Pack 1
Description of Problem:--------------------------------------------
I know about the problem with Windows tracking events being
faked, but I can't get any tracking events at all if I put the
tracking on the top-level base.
Code Example:---------------------------------------------------- --
PRO Test_Event, event
thisEvent = Tag_Names(event, /Structure_Name)
print, thisEvent
END
PRO Test
tlb = Widget_Base(Tracking_Events=1)
drawID = Widget_Draw(tlb, XSize=300, YSize=300)
; To fix, comment out the line above and uncomment this line.
; drawID = Widget_Draw(tlb, XSize=300, YSize=300, Tracking=1)
Widget_Control, tlb, /Realize
Widget_Control, drawID, Get_Value=thisWindow
XManager, 'test', tlb, /No_Block
END
Known Workarounds or Fixes:-----------------------------------------
Put the tracking events on another widget. (Draw widgets are good.)
Then move the mouse s-l-o-w-l-y. :-)
RSI Technical Support Response:-------------------------------------
Pending
--
David Fanning, Ph.D.
Fanning Software Consulting
Customizable IDL Programming Courses
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
IDL 5 Reports: http://www.dfanning.com/documents/anomaly5.html
|
|
|