Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Minimizing Form
Message
De
11/04/2003 08:56:37
 
 
À
11/04/2003 03:00:16
Rene Lovino
Bigfoot Global Solutions, Inc
Cebu, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00776461
Message ID:
00776518
Vues:
9
You can retrieve the information using getsystemmetrics, but I don't think you can change them. See:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getsystemmetrics.asp

SM_CXMINIMIZED SM_CYMINIMIZED

Dimensions of a minimized window, in pixels.

SM_CXMINSPACING SM_CYMINSPACING

Dimensions of a grid cell for a minimized window, in pixels. Each minimized window fits into a rectangle this size when arranged. These values are always greater than or equal to SM_CXMINIMIZED and SM_CYMINIMIZED.



>Hi All,
>
>I have created a new form in Visual FoxPro 8.0.
>I want my application to display the primary key value as the caption when I hit the minimize button.
>
>Example:
> on the form Customer Maintenance the primary key is Customer #. When I minimize the window the value of the primary key should be the form caption.
>Assumming the form caption is "Customer Maintenance" and the Customer # has the value of "ACCESS10000000000001". Hitting the minimize button the form caption should change to "ACCESS10000000000001". My application can change the caption but I want to display of the characters instead of truncating the value. As of now it on display the first 6 characters. Is anybody can help me to solve this issue?
>
>This my code on the Resize event on the form:
>
>lcCaption = "Customer Maintenance"
>if Thisform.WindowState = 1
> lcCaption = Thisform.CustomerNo.Value
>endif
>Thisform.Caption = lcCaption
>
>I have already tried to extend the width but I have notice that changing the width on the minimize form will not take effect.
>
>
>Thank you in advance
>
>
>Rene
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform