Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Always on Top
Message
From
19/03/1999 14:59:06
 
 
To
19/03/1999 13:14:37
Pascal Binette
Pratt & Whitney Canada
Saint-Hubert, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00199779
Message ID:
00199929
Views:
17
>I did look at it before, but I still don't really know how to use it.
>Do you know how I can get my InputBox's handle? I think I can get a handle of the software with FindWindow() because I know the Class Name, but I tried to do the same with my form, and it did not work.
>
>Do you have a small example of how I could use the SetWindowPos()?

I have only used SetWindowPos() in VB. Basically you use FindWindow() ( or possibly some of the FoxTools functions, George Tasker has a Help file in the download section about this ) to get the window handle. You then use this in SetWindowPos() to reference the window you want to manipulate. Since I haven't used this function in VFP, perhaps George can give you the VFP calling syntax. I don't think there are any structures involved, so it shouldn't be too difficult a call. George may already have this info in a FAQ or possible a file download. If you can't get the calling syntax, let me know and I'll look at it in VFP and see if I can supply it for you.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform