🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #6935

AES bug? --> No, I just didn't know what i was doing!!

#6935
From: _harryk
Date: Wed, 13 Dec 1989 18:14
48 lines
3053 bytes
   I would like to thank Robert from Netherlands and Darek from ATARI Corp.
   for answering my question!

     They both suggested to use wind_update() instead of menu_bar(), inside
   the for-loop! So YES, that was the answer: once i did it, everything was
   working fine! As far as MN_SELECTED is concerned, i have to apologise, but
   i was using MU_MESAG from the very first time; i just mistyped the code
   when i sent it to the net!

     The sad thing is, that I've never seen wind_update() documented along
  with any menu_xxxx() function! I'm using MWC's manual and "GEM Programer's
  Reference" by Abacus, as GEM reference guides! In both of them, wind_update()
  is NOT even MENTIONED on the pages talking about menus! But that's why Use-
  Net does exist, i guess!

   So, for any future GEM programer who wants to use keyboard equivalents, be
  carefull when using  menu_bar(menutree, 0/1). If you want to disable the 
  menu bar while you are in the main loop, use wind_update(BEG/END_UPDATE);
  among other things it disables the menu bar too! I figured it out, in the
  hard way, but I'm glad that people like Robert and Darek do exist and are
  ready to help!

                                                   Thanks again!!

                                                  Harry Karayiannis
                                                  3rd Year Computer Science
                                                  Boston University


PS1:  Ken, Alan and Darek prove every day, through this net, that ATARI Corp.
      Programming Department consists of outstanding individuals! Imagine ST
      Community's future (in the US) without those three men advising other
      ST users and programmers! (I only wish ATARI could publish a complete
      documentation on Technical Information about its machines, and make it
      available to the public! All the books i've seen assume that the reader
      is already familiar with GEM, and are used as refernce books! Only Pro-
      spero Software provides exceptional documentation with its products
      - I happen to own Prospero Pascal (but still,nothing about wind_update()
        on menu pages) - )!

PS2:  Ok Robert, I haven't forgotten you! In the past, i said that Germans are
      ST wizards! I did forget to add Netherland guys too!    Actually, in the
      middle Europe one can get the most out of his ST, and Netherlans is in
      the middle Europe, right?  BTH, I love the Netherland version of the game
      RISK!

                                                       Take care guys!!!!
Technical Details
Message-ID: <150@bucsb.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!bu-cs!bucsb!harryk

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!bu-cs!bucsb!harryk
From: harryk@bucsb.UUCP (_harryk)
Newsgroups: comp.sys.atari.st
Subject: AES bug?  --> No, I just didn't know what i was doing!!
Message-ID: <150@bucsb.UUCP>
Date: 13 Dec 89 18:14:58 GMT
Reply-To: harryk@bucsb.UUCP (Harry Karayiannis)
Organization: Boston Univ Comp. Sci.
Lines: 48