Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Split bar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00058069
Message ID:
00058767
Vues:
38
>Hi Gerald,
>
>I downloaded it last night and ran it. It looks fine. I'd like to see the source code though. In my experimenting with my splitbar, when I do a mousedown, I change the cursor shape and then in the mousemove I track the X coordinate. But, the pointer needs to move off the splitbar before it starts to move. It'd be nice if I could keep it directly over the splitbar when moving. Any suggestions?
>
>Thanks,
>Steve

The code is on your hands!

Only two methods contain code, the Init() of the container to size all things and the shape (split bar) mousemove to move the shape and resize twe left and right controls.

The cursor shape is set for the split bar, when the cursor pass over it the cursor shape change automaticaly, no coding involved in that.

You need to add some code (yes it's true dirty!) to avoid invalid width value for the left and right controls (error when they reach zero pixel width!).

I do this container only for demo purpose to help you.

BTW, i dont know how to control the cursor position by code.
I do it manualy with my mouse! ;0)

HTH

:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform