Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scrollbar on the Crystal Viewer-ocx
Message
De
12/11/2003 14:47:53
Walter Meester
HoogkarspelPays-Bas
 
 
À
12/11/2003 10:51:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Crystal Reports
Divers
Thread ID:
00849000
Message ID:
00849227
Vues:
27
Hi cris,

>That's a bit of a problem since we already had to perform miracles in order to let VFP capture the keypresses (as the OCX doesn't pass them to VFP)
>So, we already 'hooked' the OCX's keypresses to our form. Now we have to do exact the opposite?
>So hook the keypresses received from the OCX back to the OCX?

We've been through this before, when you tried to implement my keybhook.dll solution. I guess you did capture the keypresses in a simular way I did as described in Thread #630954 Message #678969. This thread also gives you the sourcecode and strategy I used.

In short, it does not pass the up, down, pageup and pagedown keypresses to VFP but let the OCX handle this. The mousewheel message is only processed in the OCX if the mousecursor is over the report window, else VFP will process it.

The netto result: My CR 8.5 preview window correctly handles the up,down, pageup, pagedown and mousewheel messages internally and passes all other messages to VFP.

I strongly advise to look at this implementation again and find out to get it working in your case (Crystal 9.0 ?)

Walter,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform