Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HITextView not showing? - SOLVED



On Thu, 19 Jan 2006 19:27:31, Mike Hore <email@hidden> wrote:

>> Problem solved.  This was a legacy app, and just after my CreateNewWindow
>> call there was some code that included a SetPort call (using the WindowRef
>> as its parameter, since I was assuming a WindowRef is the same as a
>> GrafPtr...)
> 
> For a moment I thought this must have been legal or something.  Of
> course it isn't.  What really threw me was that the Mac header
> files that come with GNU Pascal define WindowRef, WindowPtr,
> GrafPtr, etc etc  ALL as ^Sint32  !!

Hmm, why not "TYPE WindowRef = ^WindowRecordOpaque" ?

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: HITextView not showing? - SOLVED (From: Mike Hore <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.