Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>As long as you know the size of every control in the form, the size of the desktop, and the position of the form on the desktop, I think you can do this.
>>How do I create a form that will "dock". I don't want to just dock a toolbar in my application window, I want to create a, physically, thin application that can be docked on the screen.
If you're looking for the docking behavior where the controls will reposition themselves when the form is resized when the form is floating and linear when docked, you CAN do that with code. If you'll looking to make Windows treat your form AS a toolbar, then you'll need an API guru's help.
If you know you want a horizontal form with N small controls to float around the desktop, you can just create the form and set ShowWindow to "Top-level" and make put screen=off in Config.FPW- It'll give you the quick access to the buttons, but won't dock like the Taskbar or resize (unless you code it to)
Précédent
Suivant
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