Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit/Text Boxes
Message
De
04/09/1998 10:44:03
 
 
À
02/09/1998 01:20:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00132064
Message ID:
00133301
Vues:
12
I have made a class of the AddZip.DLL to inculde zipping in my application. I wanted to let the user know the status of the files as they were being zipped. The program has two functions: 1) Set a callback function with a pointer (which I don't think Foxpro can do. 2) Set a WindowHandle to display the information to. The Function is this :
***************************************************************************
Syntax
INT16 addZIP_SetWindowHandle(HWND hwnd)

The handle passed via this function must be the window handle (hwnd) of an edit/text box.

Parameters

hwnd the handle of the edit/text box used for passing messages

Returns
These functions return a non-zero value on success. A return value of zero indicates that the edit/text box does not exist.

****************************************************************************

Charles

>Hiya Rick, George
>
>I think maybe we need to see what the poster is trying to do and why before we jump to conclusions...so, Chuck, can you give us more details? I feel like there might be an easy solution to this one.
>
>>I don't know how you can get a handle, but if you got it, it wouldn't
>>do much good, because VFP wraps the Win32 messages with its own message
>>loop that overrides many of the messages, which will cause unpredictable
>>behavior if hooked by other controls.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform