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 

A Border on pic Control

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Invalid User



Joined: 14 Feb 2005
Posts: 442
Location: Texas, Usa

PostPosted: Sun Apr 24, 2005 9:56 pm    Post subject: A Border on pic Control Reply with quote

heres a simple one. How can I put a border on a pic control

GuiControl, +Border doesnt work
GuiControl, +0x7 doesnt work
_________________
my lame sig Smile
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
MYYM



Joined: 05 Apr 2005
Posts: 132

PostPosted: Mon Apr 25, 2005 5:40 am    Post subject: Reply with quote

Quote:
How can I put a border on a pic control


Code:
Gui,Add, picture, +border
Back to top
View user's profile Send private message Visit poster's website
Invalid User



Joined: 14 Feb 2005
Posts: 442
Location: Texas, Usa

PostPosted: Mon Apr 25, 2005 5:43 am    Post subject: Reply with quote

Thanks for the suggestion but I do need to add and remove that option, if it needed it all the time I would add a border to the pic itself. Thanks tho
Crying or Very sad
_________________
my lame sig Smile
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
MYYM



Joined: 05 Apr 2005
Posts: 132

PostPosted: Mon Apr 25, 2005 6:03 am    Post subject: Reply with quote

This code works ...
Code:
Gui,Add, picture, +border vmp,test.gif
gui,show
return
^F11::                  ;   Remove border
guicontrol, hide ,mp,
guicontrol, -border ,mp,
guicontrol, show ,mp,
return
^F12::                  ;   Add border
guicontrol, hide ,mp,
guicontrol, +border ,mp,
guicontrol, show ,mp,
return



MYYM
Back to top
View user's profile Send private message Visit poster's website
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Mon Apr 25, 2005 11:04 am    Post subject: Reply with quote

Here's a topic that explains this issue and gives another workaround: http://www.autohotkey.com/forum/viewtopic.php?t=2076
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
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