08-07-2008, 10:04 PM
This is all I've got so far...Put it in the messages 2 section after sel wParam. It detaches after you click it off twice...don't know why yet. And then it lets you move it but not outside the parent dialog. I'll keep on working on it a little bit.
,case 4
,int h1=child("Dialog B" "#32770" win("Dialog" "#32770") 0x1)
,Acc a=acc("Attatched" "CHECKBUTTON" win("Dialog" "#32770") "Button" "" 0x1001)
,int state=a.State()
,out state
,if state=1048580
,,SetWinStyle h1 WS_CAPTION|WS_BORDER|WS_THICKFRAME 1|8
,if state=1048596
,,SetWinStyle h1 WS_CAPTION|WS_BORDER|WS_THICKFRAME 2|8
,case 4
,int h1=child("Dialog B" "#32770" win("Dialog" "#32770") 0x1)
,Acc a=acc("Attatched" "CHECKBUTTON" win("Dialog" "#32770") "Button" "" 0x1001)
,int state=a.State()
,out state
,if state=1048580
,,SetWinStyle h1 WS_CAPTION|WS_BORDER|WS_THICKFRAME 1|8
,if state=1048596
,,SetWinStyle h1 WS_CAPTION|WS_BORDER|WS_THICKFRAME 2|8