Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dbi-tech's CTSchedule control - mouse disappears
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00782667
Message ID:
00782770
Vues:
26
Chris,

I believe the trick that you will need to get the mouse pointer back is to set the focus back to the VFP Form somehow. There are many quirks with VFP and ActiveX and I've been trying to catch and work around all of them in my Delphi ActiveX control development. I also use some DBI controls and they do have some issues with their controls being used in VFP. I use the ctDAYS control and popping a VFP menu up over the control does not work well unless you disable their control while the menu is up otherwise the ctDAYS control is still live.

Have you tried using?

THISFORM.SHOW()

You could also call an API call to produce a MOUSE click on your VFP form somewhere in an attempt to wake up the VFP form. You could also set the focust to the VFP form by using an API call as well. Since the OLECONTROL is contained within it's own window and has it's own window handler you need to get the VFP form or VFP itself to gain control back to get the mouse back if only briefly.

Rich


ugh... DBI needs to fix this. have tried:

- toggling autoyield on and off
- firing a click method on a command button
- refreshing the form/control

still nada. have emailed DBI... waiting to hear from them. will post what they say.

because the mouse appears if u "go to another program" (or desktop) and back to VFP, am wondering if there is a windows api call that may refresh the "current vfp" window.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform