AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Tips N Tricks
Goto page Previous  1, 2, 3 ... 22, 23, 24
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
precisewitit



Joined: 30 Dec 2007
Posts: 10

PostPosted: Wed Mar 26, 2008 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message
jk7800



Joined: 06 Jan 2008
Posts: 33
Location: Gdi+ v1.1

PostPosted: Wed Mar 26, 2008 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
precisewitit



Joined: 30 Dec 2007
Posts: 10

PostPosted: Wed Mar 26, 2008 9:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
jk7800



Joined: 06 Jan 2008
Posts: 33
Location: Gdi+ v1.1

PostPosted: Thu Mar 27, 2008 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Wed Apr 30, 2008 8:44 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 22, 23, 24
Page 24 of 24

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group