Rev 7254 | Rev 7310 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7254 | Rev 7266 | ||
---|---|---|---|
Line 145... | Line 145... | ||
145 | 145 | ||
146 | struct proc_info |
146 | struct proc_info |
147 | { |
147 | { |
148 | #define SelfInfo -1 |
148 | #define SelfInfo -1 |
149 | dword use_cpu; |
149 | dword use_cpu; |
150 | word pos_in_stack,num_slot,rezerv1; |
150 | word pos_in_stack,slot,rezerv1; |
151 | unsigned char name[11]; |
151 | unsigned char name[11]; |
152 | char rezerv2; |
152 | char rezerv2; |
153 | dword adress,use_memory,ID,left,top,width,height; |
153 | dword adress,use_memory,ID,left,top,width,height; |
154 | word status_slot,rezerv3; |
154 | word status_slot,rezerv3; |
Line 194... | Line 194... | ||
194 | int id9=GetProcessSlot(Form_ID); |
194 | int id9=GetProcessSlot(Form_ID); |
195 | if (id9==GetActiveProcess()) return 1; |
195 | if (id9==GetActiveProcess()) return 1; |
196 | return 0; |
196 | return 0; |
197 | } |
197 | } |
Line 198... | Line 198... | ||
198 | 198 | ||
199 | inline fastcall void ActivateWindow( ECX) |
199 | inline fastcall void ActivateWindow( ECX) //ECX - slot |
200 | { |
200 | { |
201 | EAX = 18; |
201 | EAX = 18; |
202 | EBX = 3; |
202 | EBX = 3; |
203 | $int 0x40 |
203 | $int 0x40 |