Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate a form's ControlBox menu's Move/Size modes
Message
 
 
To
30/03/2005 12:50:31
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00999972
Message ID:
01000004
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform