I'm sorry Viktor,

I have HB_SET_CANCEL = FALSE by default and MinGW compile with -mwindows
Thanks to you and Przemek for your help.

--- t2.prg
REQUEST HB_GT_WIN_DEFAULT
ANNOUNCE HB_GTSYS

PROCEDURE Main()

  SetCancel(.F.)
  ? "Click [X] to close windows console "
  while( LastKey() != 27 )
     Inkey( 1 )
  enddo

  RETURN
---

Use with MINGW 'hbmk2 t2.prg -gui' to build it.
SetCalcel(.F.) don't is executed.
Is it right now?

--
Xavi

El 18/12/2009 14:42, Viktor Szakáts escribió:
--- t2.prg
REQUEST HB_GT_WVT_DEFAULT
ANNOUNCE HB_GTSYS

PROCEDURE Main()

  ? "Click [X] to close windows console "
  while( LastKey() != 27 )
     Inkey( 1 )
  enddo

  RETURN
---

Correction: Add REQUEST HB_GT_WIN to the top.

[ Typed to the mailer, more typos are possible. ]

Brgds,
Viktor


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to