Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate a form's ControlBox menu's Move/Size modes
Message
 
 
À
30/03/2005 12:50:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00999972
Message ID:
01000004
Vues:
19
Malcolm,

You can do your own context menu to mimic the Windows one.

You can trap the X,Y coordinates in the initial MouseDown and adjust .Top/.Left to move the form. Or use code in KeyPress to do the same move or resize operation.

>Thanks for the idea. This might work for some of our forms - but not some of our "skinned" forms where we build our own titlebar. Two titlebars would seem odd and the hiding our manually built titlebar would require repositioning of all other controls on the form.
>
>I'm hoping that there's an easier solution via the Windows API but I haven't come across one yet. I'll keep googling.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform