home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 56,183 of 56,720   
   Tom Thumb to All   
   Why and wmTaskData4 ?   
   31 May 23 12:17:29   
   
   From: justliketomsthumbsblues@gmail.com   
      
   Mike Westerfield's "Toolbox Programming in C" contains a routine:   
      
   void HandleControl (void)   
   {   
   if ((myEvent.wmTaskData4 & 0xFFFF8000) == 0)   
      switch (myEvent.wmTaskData4) {   
      
   ...   
      
   I can find no explanation for doing this. I believe it's just testing if any   
   of the bits 17 - 31 have been set to one?   
      
   I'd be grateful if someone would explain why this is being done. I imagine   
   I've missed something there or the IIgs Reference Manuals.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca