Box_Lib - Editbox fix for Win keys.

git-svn-id: svn://kolibrios.org@3358 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2013-03-08 18:18:59 +00:00
parent e886378587
commit 7e246790ed

View File

@ -49,6 +49,24 @@ pushad
test word ed_flags,ed_mouse_on test word ed_flags,ed_mouse_on
jne edit_box.editbox_exit jne edit_box.editbox_exit
;--------------------------------------
; this code for Win-keys, works with
; kernel SVN r.3356 or later
push eax
push ebx
mcall 66,3
test ax,0x200 ; LWin
jnz .win_key_pressed
test ax,0x400 ; RWin
jz @f
.win_key_pressed:
pop ebx
pop eax
jmp edit_box.editbox_exit
@@:
pop ebx
pop eax
;--------------------------------------
;<3B>஢¥àª  ­ ¦ â shift ? ;<3B>஢¥àª  ­ ¦ â shift ?
call edit_box_key.check_shift call edit_box_key.check_shift
;---------------------------------------------------------- ;----------------------------------------------------------