Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Short and Sweet.
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00161466
Message ID:
00161824
Views:
27
>>>>>What is a "HINSTANCE hinst" and how do I get a value for it?
>>>>
>>>>An HINSTANCE is a handle instance - it's a 4 byte DWORD.
>>>>
>>>>What are you trying to provide a handle to? IOW, what API call are you rying to invoke?)
>>>
>>>
>>>I am tring to call the createwindow api but I can't seem to get it to work.
>>
>>Hiya Chuck,
>>
>>Far be it for me (of all people) to suggest a VFP solution over the API, but what's wrong with oMyForm = CREATEOBJECT('Form'). You don't have to deal with it then, and you'll have much more control over it.
>
>I want a window that is not tied to my application so when it closes it will still be up on the window. But so far my createwindow only returns 0.

Hi Chuck,

Well, I don't think you'll be able to do it in VFP using API calls. You'll be creating a window that's owned by your application, and will close when it does (like the debugged or the help file does) In order for this to be done I think you'd need to write either a separate app in VFP or another language. That way, they'd be independent.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform