AutoHotkey Community

It is currently May 27th, 2012, 5:13 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: December 19th, 2010, 1:52 am 
Offline

Joined: July 17th, 2008, 9:46 am
Posts: 225
I know, this has been asked before, but I can't get it working:
Code:
Gui, 1: +Disabled
   Gui, 2: +Disabled
   Gui, 3: +Disabled
   Gui, 4: Add, Picture, gpic_big_close, %A_ScriptDir%\files\%game%\characters\%character%\%pic%.jpg
   Gui, 4: -Caption +owner3
   Gui, 4: +LastFound
   GUI_ID:=WinExist()
   Gui, 4: Show, center, Picture
   DllCall("AnimateWindow","UInt",GUI_ID,"Int",500,"UInt","0x16")
   return


Anyone who knows why?
Thx in advance.

Greets,
DHMH


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 19th, 2010, 1:58 am 
Offline
User avatar

Joined: October 7th, 2006, 8:45 am
Posts: 3330
Location: Simi Valley, CA
You have to use the +Owner option when the gui is created (i.e: before anything is added to it).

_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 19th, 2010, 11:41 am 
Offline

Joined: July 17th, 2008, 9:46 am
Posts: 225
Thanks. the order was wrong ;)


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], XstatyK, Yahoo [Bot] and 69 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