Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Automatic Filling _SCREEN bitmap
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00836858
Message ID:
00836879
Vues:
12
No problem.

>We'll give it a try! I was wondering how to hook to the Resize event of _Screen... never had seen it done in code before......
>
>Thanks!
>
>Tommy
>
>>Tommy,
>>Try hooking into the _screen.Resive method
>>
>>Define Class ResizeHook as Custom
>>	oScreen = _Screen
>>	
>>	Procedure oScreen.Resize
>>		aImgWllPaper.AdjustSize()
>>	EndProc
>>EndDefine
>>
>>HTH
>>cj
>>
>>>I used the code in KiloFox (pages 23, 24 and 25) to set up my App to use a bitmap as the _SCREEN background image.
>>>
>>>All is fine... it sizes itself up great when the App starts, irregardless of the Screen Resolution.
>>>
>>>But, if the user changes the APP's size, then the bitmap no longer fits, and bare space is shown around the sides of the bitmap. What I need is to be able to call the AdjustSize method of the aImgWallPaper class when the user resizes the _SCREEN of the App.
>>>
>>>Any ideas? Need more info?
>>>
>>>Thanks!!!
>>>
>>>Tommy
Caroline
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform