Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximized initial screen in .EXE
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00097541
Message ID:
00097552
Views:
28
>In your Config.Fpw file (That you use for your EXE) place a
>Title=AppName
>(No Quotes or Anything there)
>
>Then in your main program place:
>
>** Maximize the Window
>IF WEXIST(AppName)
> ZOOM WINDOW (AppName) MAX
>ENDIF
>
>
>>I just created a .EXE file, I want to show the VFP desktop maximized when the application stasts running. I can get this effect if in the properties of the Windows .EXE Icon I state that I want it maximized. Can I get this effect within my VFP program?. I tried to put _SCREEN.WindowState=2 in the first line of my Main.prg but when the application stasts running it shows the windows of a smaller size than the screen and then it gets maximized seeing an unwanted effect. Any Help?

Not unless you are using an SDI form as your main desktop window, there is no way the VFP desktop window be displayed as maximized. It will initially display on its default or normal size then gets maximized once activated.
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform