Page 1 of 1

Button Cursor "Finger.cur"

Posted: Wed Feb 24, 2010 8:27 pm
by mustafa
Hello Friends
Would like information on Cursor
in the example exits Hand Finger Cursor
entire surface of Windows but when you want
you press the Cursor button becomes' tip
Arrow 'as default forever.

My question is this, I want it to be
on the contrary, I want the cursor on Windows
arrowhead and when Move the cursor
over the button I want to become Finger
Hand
Botton Properties do not accept the order of
cursor 'Finger'
Hoping if possible solution, Greetings

*--------------------------------------*
Hola Amigos
Desearia información sobre Cursor
en el ejemplo el Cursor Finger ' Mano' sale por
toda la superficie del Windows , pero cuando se
quiere pulsar le Botón , el Cursor se convierte ,
en ' Punta de Flecha' como siempre por defecto.

Mi Pregunta es la siguiente, yo quiero que sea
al reves , quiero que sobre Windows el cursor
de 'Punta de Flecha' y cuando se Ponga el cursor
encima del Boton quiero que se convierta en Finger
'Mano'
Las Propiedades del Botton no me acepta la orden de
cursor Finger ' Mano'

Esperando si es posible solución , Saludos

Mustafa :?:

*--------------------------------------------*
#include "hmg.ch"
Function Main
DEFINE WINDOW Win_1 ;
AT 0,0 ;
WIDTH 200 ;
HEIGHT 200 ;
TITLE 'Hello HMG ' ;
MAIN

@ 055,070 Button Button_1 Of Win_1 ;
Picture ' ' ;
Action Win_1.Release ;
Width 38 ;
Height 38 ;
Flat ;
ToolTip "Exit"

* Win_1.Button_1.Cursor := "Finger.cur" (Not accept this order)

END WINDOW

Win_1.Cursor := "Finger.cur"
CENTER WINDOW Win_1
ACTIVATE WINDOW Win_1

RETURN
*---------------------------------------------*

Re: Button Cursor "Finger.cur"

Posted: Sat Feb 27, 2010 9:31 pm
by mustafa
Hello Friends:
On the question formulated without obtaining solution
I have researched and compiled with Extended MiniGUI
just adding the line:

SetHandCursor (GetControlHandle (Button_1 "," Win_1 ")," Finger.cur ")

Finger appears when you press any button and the rest of the Window
Cursor leaves Arrowhead while not press any buttons
This was the solution I seek.

With HMG I tried to compile with:
HandCursor (GetControlHandle (Button_1 "," Win_1 ")," Finger.cur ")
and gives no error but no cursor appears when you press Finger
Button.

If set: SetHandCursor (GetControlHandle (Button_1 "," Win_1 ")," FINGER.cur ")
ERROR gives attachment with the file -> error.log
The error is: undefined reference to `HB_FUN_SETHANDCURSOR '

I have also noticed that in folder c:\hmg\SOURCE\ is not the file
c_cursor.c that also attached.

Master Robert, is already very busy, but this issue I believe that serious
interesting when you can look at it and if possible being able to solve,
as there are many applications that are required when you press any
Button displays the cursor type and not the traditional Finger arrowhead.

Sorry but I do not speak English.
greetings

*---------------------------------------------------*
Hola Amigos:
Sobre la pregunta que formule sin obtener solución
he investigado y compilando con MiniGUi Extended
solo añadiendo la linea :

SetHandCursor( GetControlHandle("Button_1", "Win_1"), "Finger.cur" )

Aparece Finger cuando pulsas cualquier Botón y el resto de la Ventana
sale el Cursor Punta de Flecha mientras no se pulse ningun Botón
Esta era la solución que yo solicite.

Con HMG he probado a compilar con:
HandCursor( GetControlHandle("Button_1", "Win_1"), "Finger.cur" )
y no da ningun error pero tampoco aparece el cursor Finger cuando se pulsa
el Boton.

Si se pone : SetHandCursor( GetControlHandle("Button_1", "Win_1"), "FINGER.cur" )
da ERROR que adjunto con el fichero -> error.log
el Error es: undefined reference to `HB_FUN_SETHANDCURSOR'

Tambie he detectado que dentro de folder c:\hmg\SOURCE\ no está el fichero
c_cursor.c que tambien adjunto .

Maestro Roberto , ya se que está muy ocupado, pero este tema creo que seria
interesante cuando pueda lo mire y si es posible poderlo solucionar,
pues hay muchas aplicaciones que cuando se requiere pulsar cualquier
Botón aparece el cursor tipo Finger y no el tradicional punta de Flecha.

Disculpen pero no hablo ingles.
un saludo

Mustafa :oops:

Re: Button Cursor "Finger.cur"

Posted: Sun Feb 28, 2010 3:12 am
by Roberto Lopez
mustafa wrote:Hello Friends:
On the question formulated without obtaining solution
I have researched and compiled with Extended MiniGUI
just adding the line:

SetHandCursor (GetControlHandle (Button_1 "," Win_1 ")," Finger.cur ")

Finger appears when you press any button and the rest of the Window
Cursor leaves Arrowhead while not press any buttons
This was the solution I seek.

With HMG I tried to compile with:
HandCursor (GetControlHandle (Button_1 "," Win_1 ")," Finger.cur ")
and gives no error but no cursor appears when you press Finger
Button.

If set: SetHandCursor (GetControlHandle (Button_1 "," Win_1 ")," FINGER.cur ")
ERROR gives attachment with the file -> error.log
The error is: undefined reference to `HB_FUN_SETHANDCURSOR '

I have also noticed that in folder c:\hmg\SOURCE\ is not the file
c_cursor.c that also attached.

Master Robert, is already very busy, but this issue I believe that serious
interesting when you can look at it and if possible being able to solve,
as there are many applications that are required when you press any
Button displays the cursor type and not the traditional Finger arrowhead.

Sorry but I do not speak English.
greetings

*---------------------------------------------------*
Hola Amigos:
Sobre la pregunta que formule sin obtener solución
he investigado y compilando con MiniGUi Extended
solo añadiendo la linea :

SetHandCursor( GetControlHandle("Button_1", "Win_1"), "Finger.cur" )

Aparece Finger cuando pulsas cualquier Botón y el resto de la Ventana
sale el Cursor Punta de Flecha mientras no se pulse ningun Botón
Esta era la solución que yo solicite.

Con HMG he probado a compilar con:
HandCursor( GetControlHandle("Button_1", "Win_1"), "Finger.cur" )
y no da ningun error pero tampoco aparece el cursor Finger cuando se pulsa
el Boton.

Si se pone : SetHandCursor( GetControlHandle("Button_1", "Win_1"), "FINGER.cur" )
da ERROR que adjunto con el fichero -> error.log
el Error es: undefined reference to `HB_FUN_SETHANDCURSOR'

Tambie he detectado que dentro de folder c:\hmg\SOURCE\ no está el fichero
c_cursor.c que tambien adjunto .

Maestro Roberto , ya se que está muy ocupado, pero este tema creo que seria
interesante cuando pueda lo mire y si es posible poderlo solucionar,
pues hay muchas aplicaciones que cuando se requiere pulsar cualquier
Botón aparece el cursor tipo Finger y no el tradicional punta de Flecha.

Disculpen pero no hablo ingles.
un saludo

Mustafa :oops:
I've added your request to the 'wish-list'.

Re: Button Cursor "Finger.cur"

Posted: Sun Feb 28, 2010 1:32 pm
by mustafa
Hello Master Roberto
Thank you for attending my request
regards
Mustafa