AutoHotkey Community

It is currently May 26th, 2012, 6:31 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: June 10th, 2009, 11:45 am 
Offline

Joined: May 28th, 2009, 10:45 am
Posts: 20
Location: Antibes - France
Hi everyone, when I use splashimage, it splashes my images into desktop screen and when I move my ahk gui the splashed image does not move with GUI. Does you an example with a GUI and 2 splashimages on it. Thank you for your help


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2009, 11:56 am 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
u want a picture in a gui? if so why u use plashimage. u should:

Code:
Gui, Add, Picture, w300 h-1, C:\My Pictures\Company Logo.gif

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2009, 12:02 pm 
Offline

Joined: May 28th, 2009, 10:45 am
Posts: 20
Location: Antibes - France
Because picture control cannot have a transparent color and if I use backgroundTrans it shows color of background of window not what is under it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2009, 12:17 pm 
Offline

Joined: October 9th, 2008, 6:04 am
Posts: 180
Location: Finland
not the greatest way, but something.. =D i used splashtext
Code:
SetTimer, MoveSplash, 10

SplashTextOn, 200, 200, SplashText, TEST

Gui, Show, x300 y300 w300 h300, TESTWINDOW

WinGetPos, Xpos, Ypos,,, TESTWINDOW
WinMove, SplashText,, %Xpos%, %Ypos%

Return

;;;;;;;;;;;;;;;;;;;

GuiClose:
ExitApp

;;;;;;;;;;;;;;;;;;;

MoveSplash:
{
   WinGetPos, Xpos, Ypos,,, TESTWINDOW
   WinMove, SplashText,, %Xpos%, %Ypos%
}

;;;;;;;;;;;;;;;;;;;

_________________
was i wrong, it makes me a very sad panda!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 10th, 2009, 12:24 pm 
Offline

Joined: May 28th, 2009, 10:45 am
Posts: 20
Location: Antibes - France
Oh yes, it is a good idea, but this provides the using of a lot ressouce timming. I heard about +Owner option but I read and read documentations but I still not succeed to implement it in my ahk code.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: rbrtryn, SKAN and 55 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group