foom
Joined: 19 Apr 2006 Posts: 386
|
Posted: Sat Jun 16, 2007 6:01 pm Post subject: UD Style Problem |
|
|
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 |
|
|
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Jun 18, 2007 2:44 am Post subject: |
|
|
| 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." |
|