Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbar on main form instead of main VFP
Message
From
17/12/2003 13:16:16
 
 
To
17/12/2003 12:16:23
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00859891
Message ID:
00860010
Views:
25
Hi Claudio,

>Do you know any specific API for that purpose ?

I don't remember well, but:
DECLARE INTEGER	SetParent IN user32.dll	INTEGER hWndChild, INTEGER hWndNewParent

* SetParent(toolbar.hwnd,targetform.hwnd)
* or 
* SetParent(GetParent(toolbar.hwnd),targetform.hwnd)
can do the operation;
but you must understood the internal structure ( windows schema ) of a VFP form.

With this i have put ( for test only ) a toolbar in a form "In-Top",
but i haven't check the stability.

For now, SHOW WINDOW is sufficient for me.

Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform