Tuviah shared an answer when using ext_rRectWindow(). Leave the decorations
(titlebar) there, compensate for the size of it in the rect that you pass
to make the window. You can use ext_titleSize() to get the height of the
title bar:
I've also found that you have to compensate for the width of the stack's
border (three pixels) in each coordinate. I haven't found a way to change
(or hide) the border of a stack, but there's a lot about MC that I still
don't know. So I don't know how general the 3-pixel width is.
You'd do something like this:
put the rect of this cd into wRect
put ext_titleSize() into tSize
add 3 to item 1 of wRect
add titleSize-3 to item 2 of wRect
add 3 to item 3 of wRect
add titleSize-3 to item 4 of wRect
ext_rRectWindow(wRect)
It seems like this solution would also work with ext_polyWindow(), although
I haven't tried it. You would have to adjust the points of the polygon in
the same way (add 3 to each x-coordinate, and add titleSize-3 to each
y-coordinate).
At 11:48 AM 11/2/00 -0600, Monte wrote:
>I just realised that a possible work around might be to have a stack that
>has the default decorations but is hidden when uniconified. When you
>iconify the visible stack you actually hide it and show the hidden stack
>iconified. I'm confused after writing it down so I hope you can understand
>the above.
>
>PS I am an avid user of ext_polyWindow() and a dream mc tool would be a
>(Photoshop Style) magic wand that would return the points of the perimiter
>of an RGB in an image. Thus create the image in an image editor. Import
>it. Use the magic mand and hey presto ext_polyWindow(the points of a
>graphic fitted to an RGB on an image).
>
>... Quick, easy and aesthetically pleasing
>
>Regards
>
>Monte
>
>>From: Leston Drake <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>Subject: Re: Standalone document icons (minimize w/o decorations)
>>Date: Wed, 01 Nov 2000 15:10:18 -0700
>>
>>At 11:21 AM 11/1/00 -0600, Monte wrote:
>>><snip>...
>>>...Also does anyone have a solution to the fact that the windows manager
>>>doesn't give a stack with decorations set to false a space on the taskbar.
>>>I'd like to have a stack with no decorations that opens above the taskbar
>>>that I could still minimize to the taskbar (thats not too greedy is it).
>>
>>If you're greedy, I am avidly avaricious. I really need this functionality.
>>You see a lot more applications these days that do not use the standard
>>Windows caption bar, but that minimize (as you would expect) to the taskbar
>>like any other application. The look is so nice, especially when you use
>>Tuviah's external collection from xworlds to create a window shape that is
>>not rectangular.
>>
>>So if anyone has a solution, or if Scott has any suggestions I'm "all ears."
>>
>>Leston Drake, President
>>LetterPress Software, Inc.
>>
>>
>>Archives: http://www.mail-archive.com/[email protected]/
>>Info: http://www.xworlds.com/metacard/mailinglist.htm
>>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.com.
>
>
>Archives: http://www.mail-archive.com/[email protected]/
>Info: http://www.xworlds.com/metacard/mailinglist.htm
>Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
Leston Drake, President
LetterPress Software, Inc.
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.