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 

UD Style Problem

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



Joined: 19 Apr 2006
Posts: 386

PostPosted: Sat Jun 16, 2007 6:01 pm    Post subject: UD Style Problem Reply with quote

Hi,
i just toyed around with a ud control and noticed that i can not change the uds_setbuddyint(0x0002) style. I looked at google but no one seems to have this problem so i thought this may be a bug caused by ahk and not an windooze quirk.

Code:
#SingleInstance Force
#NoEnv

Gui Add, Edit, w100 h20 hwndMyEdit
Gui Add, UpDown,  w30 h24 HwndUDHwnd vUD ;-0x2 ;this works only if specified here but
;none of the two below works
GuiControl, -0x2 , UD
; Control, Style ,-0x2 ,, ahk_id %UDHwnd%

Gui Show, ,Gui
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Jun 18, 2007 2:44 am    Post subject: Reply with quote

The program tries to apply all styles specified, but often the control ignores such changes. This is documented as, "Although styles and extended styles are also recognized, some of them cannot be applied or removed after a control has been created."
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