Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to bindevent window messaging [Convert memo] dialog
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to bindevent window messaging [Convert memo] dialog
Divers
Thread ID:
01514433
Message ID:
01514433
Vues:
186
Have a project that need to automatically convert DB4 DBT memo fields to VFP fpt memo fields.

I got the low level code page assignment working.

However - there ain't no way round (yet) the "Convert Memo" VFP message dialog.

Was thinking I could use bindevent to click the "OK" button on the VFP "Convert Memo" dialog using VFP's IDE message ID (that will still bite).

According to Windows Event Binding Made Easy, in the section titled, "Binding to VFP IDE window events", there is a header file, WinEvents.H that I might be able to use when VFP's "Convert Memo" pops up to do the job.

(btw: I can't find a copy of "WinEvents.H" anywhere - if ya got one - post it back and I'll make sure the big sky mall manager blesses you forever or the end of time {whichever comes first or last depending on your preferences})

The approach is to use bindevents to determine that the "Convert Memo" dialog had indeed popped and then use Win APIs to get it's (the "Convert Memo" dialog) hWnd and send a click request or keyboard the space bar to press the "Yes" button on VFPs "Convert Memo" dialog.

I aint proud - if you got it solved I'll trade an industrial single option base 1 array (no "safe array" required "cubic spline" algorithm, or FEDEX my gerbil (Gerty) to use at a pleasure, for the favor.

Thanks
Terry
www.r6solutions.com
Imagination is more important than knowledge
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform