home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 58 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: xs4all.nl!not-for-mail
  2. From: yrozijn@xs4all.nl (Yvon Rozijn)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Color of Menu bar
  5. Date: 2 Jan 1996 15:58:00 GMT
  6. Organization: XS4ALL, networking for the masses
  7. Message-ID: <4cbkm8$fij@news.xs4all.nl>
  8. References: <4car6m$6p4@ulke.hiMolde.no>
  9. NNTP-Posting-Host: ztm03-04.dial.xs4all.nl
  10. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  11.  
  12. Espen Berntsen (espen@himolde.no) wrote:
  13. : Is there some way of changing the 4 first colors when the user presses the
  14. : right mousebutton?? I need to set those colors to a preset choice, so it is
  15. : possible to read requesters etc. I have a normal HandleWindowEvents() but the
  16. : problem is that it doesn't react (and thus change the colors) until after you
  17. : have chosen a menu item. I need it to change WHEN the user presses the key
  18. : (get PuzzlerII.lha from aminet and you will see the problem better)
  19.  
  20. Try IDCMP_MENUVERIFY, and change the palette if you got that message.
  21. I haven't tried it myself, so I cannot guarantee that it solves your
  22. problem.
  23.  
  24. Yvon.
  25. -- 
  26.                  ___                                   _
  27.    Q          : |  #|           :  \|/  http://www. : [_]_
  28.  -<_>- Yvon   : | ==| yrozijn@  : >WWW< xs4all.nl/  : === ) Amiga
  29.   / \  Rozijn : `---' xs4all.nl :  /|\  ~yrozijn    :     O  4000
  30.