Hi.
--- In [email protected], Cüneyt <[EMAIL PROTECTED]> wrote:
> OTOH I don't experience any problems with events. Strange.
Moving from one bar to another, especially with fast mouse movement
lead to mouseovers/mouseouts that weren't caught. But maybe my event-
script just wasn't right...
> I'm just trying to imitate Windows' behaviour. Windows allows you
to
> click anywhere on the 32x32 (or whatever size you have) area of
the
> desktop icons. You can click even on the empty areas, where the
icon's
> transparent, but you can still launch the shortcut. Besides, some
> windows may have unusual proportions, like 200x10, which would be
not as
> fast as 4:3 AR windows to doubleclick.
I see. Neither Transparent: 255 nor the magic pink of a skin-shape
are clickable. As of now only icons have clickable transparency, I
think. Maybe create a 256x256 icon for the thumb...
"*" puts the wallpaper in the background, that just doesn't look
right to me, especially if you drag the thumbs over other windows.
Also I don't have a wallpaper (except good old Rauhfaser on my
walls, that is).
Another complicated workaround might be to overlay the bar with
another bar and turn that transparent with win.trans("bar", 255).
That would be clickable then...
> I was thinking about using 2 bars myself, but before I started
> complicating things even more, I wanted to try simpler stuff
(laziness
> is a virtue ;). What's your experience with it? How's dragging
working?
Not as easy as it may seem. It has to be a separate bar of course,
because it needs another transparency. You can lock the shadow to
the other bar all right, but z-order is a problem. Locking doesn't
take care of z-order. When the thumb gets activated it is in the
foreground but the shadow still is in the back behind other windows.
Also the shadow is clickable by default as well so it can get in the
foreground. A workaround is disabling the shadow-window, setting the
thumb ontop temporarily etc. Quite complicated...
Rather wait for PNGs.
> And how do you check for by other means unminimized and closed
windows?
> I guess with WindowsHookEvents;
Right now I just hide the window and reshow it by clicking on the
thumb. So either I have a thumb or a window. Not ideal (especially
when PPro crashes ;-). But to me it's more an alternative to normal
minimizing, not a replacement.
But HookWindowEvents would definitely be the way to go if you want
to check for restored and closed windows and have the thumbs react
on it. Damn, makes it even more complicated...
> I used LeftDown as modifier and window's handle as target, and my
CPU is
> still purring like a kitten :)
Possible. Moving a small bar is not so much effort. I have a script
for snapping windows to screen-edges that works with MMV. That makes
the CPU yell. So I'm rather careful with it.
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/