Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A button on form.titlebar
Message
From
10/02/2016 15:46:39
 
 
To
09/02/2016 13:56:52
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Application:
Desktop
Miscellaneous
Thread ID:
01630831
Message ID:
01631202
Views:
69
Hi all.
this is a new vfp titlebar available on top level form (only).its available on desktop apps only.
-one solution is to cut the form titlebar and subclass it (by a container...)
thats was done in http://yousfi.over-blog.com/2015/02/subclassing-the-form-titlebar-other-stuffs.html

-another solution is to traverse the native titlebar and add controls on it.In my knowledge,its not done with vfp9 at this time..

-And this is an hybrid solution with native titlebar+an extension as container two in one.
its an extension to actual form titlebar painted with API DwmExtendFrameIntoClientArea (initially destined to vista aero-Infortunatly this aero effect dont work in windows 10).
can build a container under the form titlebar and fill it with vfp controls wanted(each control with PEM...)
it preserves the native window titlebar and extends it to other area and other functionalities.

can read more and test code in my blog at this link:
http://yousfi.over-blog.com/2016/02/a-new-vfp-top-level-form-titlebar.html

Any comment is welcome.
Previous
Reply
Map
View

Click here to load this message in the networking platform