realbasic-nug
[Top] [All Lists]

Re: Specify bounds for an HIView

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Specify bounds for an HIView
From: Seth Willits <seth at freaksw dot com>
Date: Tue, 28 Feb 2006 20:18:15 -0800
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <0A69EF56-C64C-478A-8B9C-C21E8A42FEA5 at thezaz dot com>
On Feb 28, 2006, at 7:16 PM, Thom McGrath wrote:

I am trying to create a type of HIView which requires an HIRect as bounds. So I'm trying to accomplish this. Can't find documentation on creating an HIRect though. Thinking I need to use a memoryblock. Can somebody provide some push in the right direction? Charles probably?

An HIRect is a struct with two structs named Origin and Size inside of it each with two float members X, Y and Width, Height. If you're using 2006 just create a structure for it and pass that to the declare.



Seth Willits
----------------------------------------------------------
Freak Software - http://www.freaksw.com/
ResExcellence - http://www.resexcellence.com/realbasic/
----------------------------------------------------------

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>