1. Mouse Cursor

Robert McDougal thanks for the link. but I still cant get it to work
in Euphoria. I tried it in C and it worked, I was able to change the
mouse cursor, but it doesent effect Euphoria.
this is what the code looks like.
sequence regs
object mouse
regs = repeat(0,10)
regs[REG_AX] = #000A
regs[REG_BX] = #0000
regs[REG_CX] = #0000
regs[REG_DX] = #1E07
regs = dos_interrupt(#33,regs)

while get_key() = -1 do
 mouse = get_mouse()
 if sequence(mouse) then
  if and_bits(mouse[1],LEFT_UP) then
   position(1,1)
   puts(1,"YOU CLICKED")
  end if
 end if
end while

and the cursor is not changed. is this because of get_mouse()?
am I going to have to call my own mouse interrupt?

p.s.
thanks David Cuny for the files about the Text boxs. I took a look at
them, their pretty helpful. they gave me some ideas.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu