Вверх ↑
Ответов: 1376
Рейтинг: 197
#1: 2010-10-22 22:20:41 ЛС | профиль | цитата
nesco, а вот проще...
code_21190.txt
------------ Дoбавленo в 22.20:
Вот и примерное применение...

Add(MouseEvent,8184259,399,98)
{
Point(Handle)
}
Add(MainForm,8177897,343,252)
{
Width=116
Height=31
Visible=1
BorderStyle=0
WindowsState=2
Icon=[ZIP7E03000078DA63606004420101062029C190C1CCC020C6C0C0A001C440210605068838083830338C022470E5C37F20224931915A90156345242946D342D00D58D5D3CE7C52FD3BA8C0FFFF08FC1D883F03F143203EC0CEC0D0C00CCE3C281824069283E9010090F6BF01]
link(onCreate,11064796:doHide,[(383,272)(383,265)])
}
Add(Timer,15868502,343,196)
{
Interval=10
link(onTimer,16537597:doData,[])
}
Add(FormatStr,7138711,448,308)
{
DataCount=9
Mask="Handle: %1
Caption: %2
Class Name: %3
Text: %4
Size: %5 х %6
Context: %7
Process ID: %8
Control ID: %9"
Point(FString)
link(onFString,11232037:doWork1,[(528,314)(528,399)(429,399)(429,363)])
link(Str1,1234535:Var2,[])
link(Str2,8425171:Caption,[])
link(Str4,14292406:Var1,[(475,293)(559,293)])
link(Str5,8425171:Width,[(482,282)(468,282)])
link(Str6,8425171:Height,[(489,271)(475,271)])
link(Str7,8425171:Context,[(496,264)(482,264)])
link(Str8,8425171:ProcessID,[(503,257)(489,257)])
link(Str9,8425171:ControlID,[(510,250)(496,250)])
}
Add(Replace,5176355,574,266)
{
SubStr="obj_"
link(onReplace,7138711:doString,[(617,272)(617,408)(422,408)(422,314)])
link(Str,8425171:ClassName,[(580,238)(454,238)])
}
Add(WinInfo,8425171,448,196)
{
Point(Width)
Point(Height)
Point(Context)
Point(ProcessID)
Point(ControlID)
link(onWinInfo,15511225:doEvent1,[])
link(Handle,13333246:Var2,[])
}
Add(ChangeMon,16537597,399,196)
{
link(onData,8425171:doWinInfo,[])
link(Data,11526898:Point,[])
}
Add(GetDataEx,13333246,448,175)
{
link(Data,8184259:Handle,[(454,139)(419,139)])
}
Add(PointXY,11526898,399,147)
{
link(X,8184259:MouseX,[])
link(Y,8184259:MouseY,[])
}
Add(Hub,15511225,511,196)
{
link(onEvent1,14292406:doWork1,[])
link(onEvent2,5176355:doReplace,[(538,209)(538,272)])
}
Add(MultiElement,14292406,553,196)
{
@Hint=#17:Извлечение текста|
link(Data1,13333246:Var3,[(559,180)])
AddHint(36,-36,113,13,@Hint)
}
BEGIN_SDK
Add(EditMulti,9897834,21,21)
{
WorkCount=1
DataCount=1
VarCount=1
Height=193
link(doWork1,16206345:doData,[(35,27)(35,97)])
link(Var1,10176720:Value,[(27,193)(272,193)])
}
Add(SendMessage,14145821,140,105)
{
Message=13
link(onSend,16305821:doGet,[(198,111)(198,153)])
link(Handle,9897834:Data1,[(146,63)(27,63)])
link(LParam,1164314:Memory,[(160,77)(258,77)(258,124)(237,124)])
}
Add(MemoryStream,1164314,217,84)
{
Point(Memory)
Point(doSize)
}
Add(DataToFile,16305821,217,140)
{
Type=6
link(onGet,10176720:doValue,[])
link(Stream,1164314:Stream,[])
}
Add(Hub,4610112,98,91)
{
OutCount=3
link(onEvent1,1164314:doClear,[])
link(onEvent2,1164314:doSize,[])
link(onEvent3,14145821:doSendMessage,[])
}
Add(DoData,16206345,49,91)
{
Data=Integer(256)
link(onEventData,4610112:doEvent1,[])
}
Add(Memory,10176720,266,140)
{
}
END_SDK
Add(TrayIcon,11064796,399,252)
{
link(onClick,8177897:doClose,[(437,258)(437,294)(331,294)(331,279)])
}
Add(GetDataEx,1234535,448,266)
{
link(Data,13333246:Var1,[(454,241)(445,241)(445,180)])
}
Add(StyleXP,10121472,399,56)
{
}
Add(MultiElement,11232037,441,357)
{
@Hint=#4:Хинт|
link(Data1,1234535:Var1,[(447,271)])
link(Data2,7138711:FString,[])
AddHint(-91,-24,39,13,@Hint)
}
BEGIN_SDK
Add(EditMulti,1698867,350,224)
{
WorkCount=1
DataCount=2
Width=258
Height=137
link(doWork1,7107976:doEvent1,[(378,230)(378,293)])
}
Add(BaloonToolTips,3681978,560,273)
{
Title="Информация об окне"
Icon=1
link(Handle,1698867:Data1,[(566,240)(356,240)])
link(Text,1698867:Data2,[(573,235)(363,235)])
}
Add(Hub,6504384,504,273)
{
link(onEvent1,3681978:doCreate,[])
link(onEvent2,3681978:doShow,[(529,286)(529,293)])
}
Add(Timer,13342912,455,273)
{
@Hint=#48:Задержка перед появлением подсказки (от мигания)|
Interval=500
Enable=1
AutoStop=1
Point(onStop)
link(onTimer,6504384:doEvent1,[])
link(onStop,743841:doTimer,[(495,286)(495,307)])
AddHint(-74,-28,167,26,@Hint)
}
Add(Hub,7107976,406,287)
{
OutCount=3
link(onEvent1,13342912:doStop,[(442,293)(442,286)])
link(onEvent2,743841:doStop,[(442,300)(442,314)])
link(onEvent3,13342912:doTimer,[(435,307)(435,279)])
}
Add(Timer,743841,504,301)
{
@Hint=#18:Чтоб ненадоедал...|13:Висит 10 сек.|
Interval=10000
Enable=1
AutoStop=1
Point(onStop)
link(onStop,3681978:doDestroy,[(546,314)(546,286)])
AddHint(-145,18,112,26,@Hint)
}
END_SDK


карма: 1

0
файлы: 1code_21190.txt [1.8KB] [714]