home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 20589 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  1.2 KB

  1. Path: sparky!uunet!caen!kuhub.cc.ukans.edu!oread.cc.ukans.edu!starver
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: Q: Accessing Handles in structs
  4. Message-ID: <1993Jan4.034639.1@oread.cc.ukans.edu>
  5. From: starver@oread.cc.ukans.edu
  6. Date: 4 Jan 93 03:46:39 CST
  7. Organization: University of Kansas Academic Computing Serces
  8. Nntp-Posting-Host: oread.cc.ukans.edu
  9. Lines: 27
  10.  
  11. This has to be a very simple question but for some reason (guess one)
  12. I can't figure it out.
  13.  
  14. Using Think's C I define a struct to hold Handles.
  15.  struct {
  16.      blahHandle    foo;
  17.      CIconHandle    TitleHandle;
  18.  } someStruct;
  19.  
  20. Now if I have 
  21.  
  22.  someStruct.TitleHandle = GetCIcon(A_Funky_Icon);
  23.  
  24. how do I use PlotCIcon. It wants a memory address of a Rect and
  25. the Handle of an CIcon. 
  26.  
  27. Now for the long excuse:
  28. If you can help (please do) don't form your explanation for 
  29. someone with any C knowledge. I am trying to learn this language
  30. on my own (school doesn't support it) and am having trouble 
  31. decyphering IM. Thanks for any help anyone can provide.
  32.  
  33. Steve,
  34.  
  35. ______________________________________________________________________________
  36. starver@oread.cc.ukans.edu        The virtual me.
  37. starver@volta.ece.ukans.edu        The real me.
  38.