Вверх ↑
Разработчик
Ответов: 26155
Рейтинг: 2127
#1: 2010-03-16 23:27:18 ЛС | профиль | цитата
Тааак. Народ не подкинулся, опять мне придется

Вот так попробуй


Add(Hub,6694649,301,273)
{
OutCount=3
link(onEvent1,15886754:doWork1,[(331,279)(331,244)])
link(onEvent3,935026:doWork1,[])
}
Add(ChildGroupBox,935026,378,287)
{
}
BEGIN_SDK
Add(EditMulti,9766427,21,21)
{
WorkCount=1
Width=517
Height=263
link(doWork1,13022472:doCapture,[(45,27)(45,216)])
}
Add(GroupBox,7821713,70,147)
{
Left=160
Top=15
Width=144
Height=99
Caption="Музыка"
Point(Handle)
}
Add(ChanelToIndex,13186961,350,56)
{
Count=4
}
Add(RadioButton,5239857,294,56)
{
Left=10
Top=20
Width=95
TabOrder=-1
Selected=0
Caption="Выключено"
link(onSelect,13186961:doWork1,[])
}
Add(RadioButton,16160049,294,91)
{
Left=10
Top=40
Width=95
TabOrder=-1
Caption="Включено"
link(onSelect,13186961:doWork2,[(338,97)(338,69)])
}
Add(IndexToChanel,8109468,224,56)
{
Count=4
link(onEvent1,5239857:doSelect,[])
link(onEvent2,16160049:doSelect,[(275,69)(275,97)])
}
Add(ScreenShort,13022472,70,210)
{
link(onCapture,9381808:doEvent1,[])
link(Handle,16645924:Var2,[])
}
Add(RGN_OutlinePicture,2523835,147,203)
{
ModeTransparent=0
Transparent=-16777201
Point(doPicture)
link(onOutlinePicture,10027293:doSetRegion,[])
}
Add(Hub,9381808,112,210)
{
link(onEvent1,2523835:doPicture,[])
link(onEvent2,2523835:doOutlinePicture,[(136,223)(136,209)])
}
Add(RGN_SetToWindow,10027293,196,203)
{
link(Handle,16645924:Var3,[(202,187)])
}
Add(GetDataEx,16645924,70,182)
{
link(Data,7821713:Handle,[])
}
END_SDK
Add(ChildGroupBox,15886754,378,238)
{
}
BEGIN_SDK
Add(EditMulti,16100322,21,21)
{
WorkCount=1
Width=363
Height=277
link(doWork1,13022472:doCapture,[(53,27)(53,258)])
}
Add(GroupBox,9954362,84,182)
{
Left=5
Top=10
Width=121
Height=107
Caption="Разрешение экрана"
Point(Handle)
}
Add(ChanelToIndex,5924563,252,56)
{
Count=4
}
Add(RadioButton,3305930,203,56)
{
Left=15
Top=15
Width=95
TabOrder=-1
Selected=0
Caption="640x480"
link(onSelect,5924563:doWork1,[])
}
Add(RadioButton,991167,203,91)
{
Left=15
Top=35
Width=95
TabOrder=-1
Caption="800x600"
link(onSelect,5924563:doWork2,[(247,97)(247,69)])
}
Add(RadioButton,2320702,203,126)
{
Left=15
Top=55
Width=95
TabOrder=-1
Caption="1024x768"
link(onSelect,5924563:doWork3,[(247,132)(247,76)])
}
Add(RadioButton,6953786,203,161)
{
Left=15
Top=75
Width=95
TabOrder=-1
Caption="1280x1024"
link(onSelect,5924563:doWork4,[(247,167)(247,83)])
}
Add(IndexToChanel,10351037,133,56)
{
Count=4
link(onEvent1,3305930:doSelect,[])
link(onEvent2,991167:doSelect,[(184,69)(184,97)])
link(onEvent3,2320702:doSelect,[(184,76)(184,132)])
link(onEvent4,6953786:doSelect,[(184,83)(184,167)])
}
Add(ScreenShort,13022472,84,252)
{
link(onCapture,9381808:doEvent1,[])
link(Handle,12055411:Var2,[])
}
Add(RGN_OutlinePicture,2523835,161,245)
{
ModeTransparent=0
Transparent=-16777201
Point(doPicture)
link(onOutlinePicture,10027293:doSetRegion,[])
}
Add(Hub,9381808,126,252)
{
link(onEvent1,2523835:doPicture,[])
link(onEvent2,2523835:doOutlinePicture,[(150,265)(150,251)])
}
Add(RGN_SetToWindow,10027293,210,245)
{
link(Handle,12055411:Var3,[(216,222)])
}
Add(GetDataEx,12055411,84,217)
{
link(Data,9954362:Handle,[])
}
END_SDK
Add(MainForm,1919505,175,259)
{
Width=318
Height=674
Color=15780518
Caption=""
BorderStyle=1
Position=1
link(onCreate,14341531:doTimer,[])
}
Add(Timer,14341531,231,273)
{
Interval=10
Enable=1
AutoStop=1
link(onTimer,6694649:doEvent1,[])
}
карма: 22

0