on 08/06/2005 15:04, Barry Wainwright at [EMAIL PROTECTED] wrote:

> On 8/6/05 05:41, "Matthew Smith" <[EMAIL PROTECTED]> wrote:
> 
>> on 08/06/2005 14:33, Scott Haneda at [EMAIL PROTECTED] wrote:
>> 
>>> on 6/7/05 8:57 PM, Matthew Smith at [EMAIL PROTECTED] wrote:
>>> 
>>>> tell application "Microsoft Entourage"
>>>>     set msgWindow to make new draft window
>>>>     set bounds of msgWindow to {100, 100, 500, 500}
>>>> end tell
>>> 
>>> Can you tell me what each of the 4 value represents?  I seem to be getting
>>> no where, making windows so small they can not be shown :-)
>>> 
>>> Are they pixels, and which ones are position and which are size?
>> 
>> They define the rectangle where the window will reside. The first two define
>> the top left corner of the window (ie. its position on the screen). The
>> other two are the size of the window. One is the height and the other is the
>> width. Not sure which is which.
> 
> Not quite - they are the absolute screen locations for the window. The first
> pair represent the location of the top left corner, the second pair the
> bottom right corner. All taken from the top leftmost corner of the screen.
> 
> It is often easier to remember as {left edge, top edge, right edge, bottom
> edge}, and don't forget that the first 44 rows of the screen are under the
> menu bar

Ah, I seem to be confusing it with Windows .Net which I am working on right
now. I recommend never to do programming on Windows Mobile.

-- 
Matthew Smith


-- 
To unsubscribe:                     
<mailto:[EMAIL PROTECTED]>
archives:       
<http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/>
old-archive:       
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>

Reply via email to