forked from KolibriOS/kolibrios
key insert for launch OpenDialog and "always focus" for edit_box
git-svn-id: svn://kolibrios.org@4260 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
2465fafb4e
commit
92ce0ad4fd
@ -1,6 +1,6 @@
|
|||||||
; Run with OpenDialog ;
|
; Run with OpenDialog ;
|
||||||
; this source can be compiled ;
|
|
||||||
; with FASM or NASM ;
|
|
||||||
|
|
||||||
org 0
|
org 0
|
||||||
use32
|
use32
|
||||||
@ -152,6 +152,11 @@ start_:
|
|||||||
jmp .loop
|
jmp .loop
|
||||||
; ----------------------- ;
|
; ----------------------- ;
|
||||||
.no_key_enter:
|
.no_key_enter:
|
||||||
|
cmp ah, 185
|
||||||
|
jne .no_key_insert
|
||||||
|
call on_button_browse
|
||||||
|
jmp .loop
|
||||||
|
.no_key_insert:
|
||||||
push edit1
|
push edit1
|
||||||
call [edit_box_key]
|
call [edit_box_key]
|
||||||
jmp .loop
|
jmp .loop
|
||||||
@ -613,7 +618,7 @@ edit1:
|
|||||||
.max dd 4096
|
.max dd 4096
|
||||||
.text dd 0
|
.text dd 0
|
||||||
.mouse_variable dd 0
|
.mouse_variable dd 0
|
||||||
.flags dd 2
|
.flags dd 0x4002 ; always focus
|
||||||
.size dd 0
|
.size dd 0
|
||||||
.pos dd 0
|
.pos dd 0
|
||||||
.offset dd 0
|
.offset dd 0
|
||||||
|
Loading…
Reference in New Issue
Block a user