Hi Cüneyt.

(Sorry. Previous message was accidentally posted.)

--- In [email protected], Cüneyt <[EMAIL PROTECTED]> wrote:
> http://groups.yahoo.com/group/power-pro/files/0_TEMP_/

Looks really nice :-)

> There is one important thing to do yet. Windows which don't have 
the 
> "usual" 4:3-ratio cause unwanted results (see the screenshot, e.g. 
3rd 
> and 4th icons).

I tried to whip up something similar the last days because I kinda 
liked the idea. My concept is a bit different, though, because I 
don't align the graphics but place them in a corner of the window 
that's getting minimized. After the window is minimized the mini-
windows can be dragged freely around and keep their positions after 
restore/next minimize. I prefer to put them whereever there is space 
available.
Also I was to lazy tor write an alignment routine...;-)
I was rather experimenting with a drop-shadow and a mouseover-
effect...

Anyway, I came across the same icon-problem. My solution was to 
calculate the size of the mini-bitmap (window-size fitting into mini-
window-size, keeping its ratio) and then calculate the icon-
placement accordingly and use this in the skin file (iconleft, 
icontop). So I can place the icon at the lower right corner (only 
reason for me to use a skin-file actually).
A bit complicated maybe, but looks OK.

A couple of remarks:

with:
win.tofile(_handle, _outthumb, 200, 150)
in the latest Ppro you don't need any external program anymore. :-)
Also I think in the latest PPro you shouldn't use unique filenames 
for the bitmaps.

There's no need for:
_tooltipsep = "^" in tooltips
You can simply separate lines with "\n". Makes it more portable.

For dragging the mini windows, you could also use
Format Drag
instead of mousetrap. The MMV-stuff is pretty CPU-intensive.

Mockey






Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to