home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / openloo / 4979 < prev    next >
Encoding:
Text File  |  1993-01-07  |  2.2 KB  |  51 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!pacbell.com!att-out!cbfsb!cbnewsf.cb.att.com!dac
  3. From: dac@cbnewsf.cb.att.com (david.a.copperman)
  4. Subject: reverse video weirdness in OL 3.0
  5. Message-ID: <1993Jan7.162437.20313@cbfsb.cb.att.com>
  6. Sender: news@cbfsb.cb.att.com
  7. Organization: AT&T
  8. Date: Thu, 7 Jan 1993 16:24:37 GMT
  9. Lines: 40
  10.  
  11. Last year I developed a prototype application using, I have thought,
  12. OLIT 2.0.  Yesterday, I recompiled and ran it under what is supposed to
  13. be OLIT 3.0.  Using this latter stuff, reverse video (i.e., swapping the
  14. values for XtNforeground and XtNbackground in a button or a text field)
  15. simply causes the indicated widget to become completely black.  Anyone
  16. ever experience this and know why?
  17.  
  18. The reason I said that I appeared to be using 2.0 or 3.0 is from the
  19. libraries.  Our 2.0 lib directory has these libraries for X, Xt, and OL,
  20. respectively:
  21.     libX11.sa.4.3
  22.     libXt.sa.4.0
  23.     libXol.so.3.0
  24. The 3.0 libraries are:
  25.     libX11.sa.4.3
  26.     libXt.sa.4.1
  27.     libXol.so.3.1
  28.  
  29. These are the SUN -distributed archives, but somehow those version numbers
  30. don't seem very different from OL 2 to 3.  Do we have the right stuff?
  31.  
  32. A last question, if you have the patience.  Using either OL version, I
  33. have always had strange behavior with popups.  I don't use the OL popup
  34. widgets, but rather created my own structures using transientShellWidgets
  35. for all popups.  In my 2.0 application, most of the popups, when they
  36. come up a second time, can take 5 to 10 seconds to appear.  Honest!  They
  37. don't do it the first time, and generally don't after the second.  Also,
  38. my basic mode is to have buttons which cause popups to appear when the
  39. buttons are clicked on; while the popup is visible , its button is made
  40. reverse video, and is toggled back when the popup disappears.  Frequently,
  41. over the course of random popups appearance and disappearance, buttons
  42. will appear in reverse and straight video incorrectly - reversed when
  43. the popup is down, straight when it is up.  My code only wants reverse
  44. video when the popup is visible, and I'm confident after countless hours
  45. of scanning it that it's written correctly.  Again, any thoughts?
  46.  
  47. Much thanks.
  48.  
  49. Dave Copperman
  50. dac@hoqaa.att.com
  51.