 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
precisewitit
Joined: 30 Dec 2007 Posts: 10
|
Posted: Wed Mar 26, 2008 5:24 am Post subject: |
|
|
| Looks like if you have previously set a transcolor in the gui the animation dll calls do not work. I tested several versions of code posted in this topic. All samples work fine until you try to winset, transcolor, somecolor and then dllcall to animate. Is there a way around this that I'm unaware of? |
|
| Back to top |
|
 |
jk7800
Joined: 06 Jan 2008 Posts: 33 Location: Gdi+ v1.1
|
Posted: Wed Mar 26, 2008 2:01 pm Post subject: |
|
|
The gui animation (from dll) doesn't work for transparent windows. Try using a loop and a transparency/transcolor function, like this:
| Code: | Loop 255
WinSet, TransColor, FFFFFF %A_Index%, Title |
|
|
| Back to top |
|
 |
precisewitit
Joined: 30 Dec 2007 Posts: 10
|
Posted: Wed Mar 26, 2008 9:16 pm Post subject: |
|
|
| jk7800 wrote: | The gui animation (from dll) doesn't work for transparent windows. Try using a loop and a transparency/transcolor function, like this:
| Code: | Loop 255
WinSet, TransColor, FFFFFF %A_Index%, Title |
|
Try using ^ for what? The above code makes no sense to me logically. The window is not transparent, part of it is. I have set a transcolor and made a certain part of a gui transparent. It's obvious the dll animation doesnt work for a window with a transcolor set, that was the point in my first post.
What I'm trying to do is show the window from left to right, not fade it. To fade it there's no reason to use dllcall. The above code may be refering to fade I'm not sure. Fade in and out can easily be accomplished with winset transparent, no need to make all colors within the window transparent. |
|
| Back to top |
|
 |
jk7800
Joined: 06 Jan 2008 Posts: 33 Location: Gdi+ v1.1
|
Posted: Thu Mar 27, 2008 7:23 pm Post subject: |
|
|
| precisewitit wrote: | | Is there a way around (...) |
You asked for a workaround, so I wrote it. You didn't mention what type of animation you wanted, so I wrote a workaround for fading in the gui. My script makes sense, because it works and it simply uses the transparency to fade the window (I see nothing "illogical" here). You should post a better question next time and don't criticize attempts of help... |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Apr 30, 2008 8:44 pm Post subject: |
|
|
i don't know how inserting own menu to system context menu would be done.
but it would be good if we can see that tutorial on this superb tutorial list
whatever many thanks SKAN! |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|