home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!kuhub.cc.ukans.edu!oread.cc.ukans.edu!starver
- Newsgroups: comp.sys.mac.programmer
- Subject: Q: Accessing Handles in structs
- Message-ID: <1993Jan4.034639.1@oread.cc.ukans.edu>
- From: starver@oread.cc.ukans.edu
- Date: 4 Jan 93 03:46:39 CST
- Organization: University of Kansas Academic Computing Serces
- Nntp-Posting-Host: oread.cc.ukans.edu
- Lines: 27
-
- This has to be a very simple question but for some reason (guess one)
- I can't figure it out.
-
- Using Think's C I define a struct to hold Handles.
- struct {
- blahHandle foo;
- CIconHandle TitleHandle;
- } someStruct;
-
- Now if I have
-
- someStruct.TitleHandle = GetCIcon(A_Funky_Icon);
-
- how do I use PlotCIcon. It wants a memory address of a Rect and
- the Handle of an CIcon.
-
- Now for the long excuse:
- If you can help (please do) don't form your explanation for
- someone with any C knowledge. I am trying to learn this language
- on my own (school doesn't support it) and am having trouble
- decyphering IM. Thanks for any help anyone can provide.
-
- Steve,
-
- ______________________________________________________________________________
- starver@oread.cc.ukans.edu The virtual me.
- starver@volta.ece.ukans.edu The real me.
-