Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Ken,
I don't see any reason why you couldn't accomplish this, but you'd have to do the managment yourself.
At first, you would define these various control forms as both top-level and as always on top. This achieves the need that they float around on the desktop and that nothing can "get between" them and VFP -- but probably only so long as VFP is the foreground app.
Getting them to drop down with the VFP window is easy enough, as only a few lines of code could minimize any active control forms. But here is where my speculation runs out, I'm not aware of how you would trap the "minimize" event, which is not a trappable event of a VFP form. If it were my problem, I would likely experiment with Lostfocus, deactivate, and such, determining which one(s) fire when a form is minimized.
Hope this helps.
>Hi all,
>
>I like the way Paint Shop Pro handles it's windows and would like to implement it in my VFP app, but I don't see how. Here's what I want.
>
>PSP's has various "control forms" that float directly on the desktop - not within the main form - just like VFP Top Level forms. However, unlike VFP TLFs, all the forms act as part of the same application - that is - minmizing the main document form takes all the other forms with it down to one program tab on the taskbar. Also - you can not get some other application "in between" the various forms in PSP. Finally, within PSP, these control forms always stay in front of the main document form.
>
>Anybody know how to accomplish all this in VFP?
>
>Thanks!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement