home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / amiga / programm / 18473 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!sunic!dkuug!daimi!pilgrim
  3. From: pilgrim@daimi.aau.dk (Jakob G}rdsted)
  4. Subject: Re: IntuitionBase
  5. Message-ID: <1993Jan11.054350.13351@daimi.aau.dk>
  6. Sender: pilgrim@daimi.aau.dk (Jakob G}rdsted)
  7. Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
  8. References: <VHP7wB1w165w@ersys.edmonton.ab.ca>
  9. Date: Mon, 11 Jan 93 05:43:50 GMT
  10. Lines: 27
  11.  
  12. ruil@ersys.edmonton.ab.ca (Rui Lopes) writes:
  13.  
  14. >How do you initialize an IntuitionBase structure???  I've declared it, 
  15. >locked the IBase, but don't know how to get the structure when I get 
  16. >here.  I'm trying to get the pointer to the currently active window from 
  17. >IntuitionBase.
  18.  
  19. Forgive me if this is a very stupid answer, but will not opening the Intuition
  20. Library achieve what you want?
  21.  
  22. IntuitionBase=OpenLibrary("intuition.library");
  23.  
  24. (In a proper program, you'd probably check if it really opened, and
  25. maybe cast/define what OpenLibrary returns(?); if you got/use prototypes,
  26. you won't need to.
  27.  
  28. Somebody confirm or deny this babble, please?
  29. >Later,
  30. >             Rui....
  31.  
  32. >--
  33. >Rui Lopes              ruil@ersys.edmonton.ab.ca 
  34. --
  35.       Jakob Gaardsted   .    .  | The fourth time you stumble across a posting
  36.   Computer Science Department . | with this signature, you are allowed to go
  37. University of Aarhus, Jylland(!)| and get yourself a cup of coffee. You may 
  38.  .  pilgrim@daimi.aau.dk   .    | reselect the article to achieve this effect.
  39.