Rev 7041 | Rev 7054 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7041 | Rev 7051 | ||
---|---|---|---|
Line 167... | Line 167... | ||
167 | } |
167 | } |
Line 168... | Line 168... | ||
168 | 168 | ||
169 | Open_Dir(#path,ONLY_OPEN); |
169 | Open_Dir(#path,ONLY_OPEN); |
170 | strcpy(#inactive_path, #path); |
170 | strcpy(#inactive_path, #path); |
171 | llist_copy(#files_inactive, #files); |
171 | llist_copy(#files_inactive, #files); |
172 | SetEventMask(1100111b); |
172 | SetEventMask(EVM_REDRAW+EVM_KEY+EVM_BUTTON+EVM_MOUSE+EVM_MOUSE_FILTER); |
173 | loop(){ |
173 | loop(){ |
174 | switch(WaitEvent()) |
174 | switch(WaitEvent()) |
175 | { |
175 | { |
176 | case evMouse: |
176 | case evMouse: |
177 | if (del_active) || (!CheckActiveProcess(Form.ID)) || (Form.status_window>2) break; |
177 | if (del_active) || (Form.status_window>2) break; |
178 | if (new_element_active) || (!CheckActiveProcess(Form.ID)) || (Form.status_window>2) |
178 | if (new_element_active) |
179 | { |
179 | { |
180 | edit_box_mouse stdcall(#new_file_ed); |
180 | edit_box_mouse stdcall(#new_file_ed); |
181 | break; |
181 | break; |