Subversion Repositories Kolibri OS

Rev

Rev 3107 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3107 Rev 3449
Line 37... Line 37...
37
				
37
				
38
				id1=mm.y/ITEM_HEIGHT;
38
				id1=mm.y/ITEM_HEIGHT;
39
				if (id1<0) || (id1+1>items_num) || (mm.x<0) || (mm.x>ITEM_WIDTH) break;
39
				if (id1<0) || (id1+1>items_num) || (mm.x<0) || (mm.x>ITEM_WIDTH) break;
40
				if (mm.lkm) || (mm.pkm)
40
				if (mm.lkm) || (mm.pkm)
-
 
41
				{
41
				{
42
					ActivateWindow(GetProcessSlot(Form.ID));
42
					WB1.Scan(ITEMS_LIST[items_cur*2+1]);
43
					SendWindowMessage(evKey, ITEMS_LIST[items_cur*2+1]);
43
					ExitProcess();
44
					ExitProcess();
44
				}
45
				}
45
				if (items_cur<>id1)
46
				if (items_cur<>id1)
46
				{
47
				{
47
					items_cur=id1;
48
					items_cur=id1;
48
					goto _ITEMS_DRAW;
49
					goto _ITEMS_DRAW;
49
				}
50
				}
Line 50... Line 51...
50
				break;
51
				break;
51
				
-
 
52
		case evButton: 
-
 
53
				id1=GetButtonID()-10;
-
 
54
				WB1.Scan(ITEMS_LIST[id1*2+1]);
52
				
Line 55... Line 53...
55
				ExitProcess();
53
		case evButton: 
56
				break;
54
				break;
57
				
55