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: Thom McGrath <lists at thezaz dot com>
Date: Tue, 28 Feb 2006 23:45:54 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <0A69EF56-C64C-478A-8B9C-C21E8A42FEA5 at thezaz dot com> <70CF7885-15FE-4A3F-AFA6-3D941DCCFD50 at freaksw dot com>
Thank you, I was able to figure it out, but your answer was still of great help as I was able to use it to solve another problem.

--
Thom McGrath
The ZAZ Studios
<http://www.thezaz.com/> AIM: thezazstudios


On Feb 28, 2006, at 11:18 PM, Seth Willits wrote:

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.

_______________________________________________
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>