Hi Gene, I understand what your getting at. And I have come across the problem it creates. The application in fact opens behind the task bar so that if a form is opened which is maximised to the application desktop with command buttons at the bottom, these are hidden by the task bar. I need to find a way of letting the monitor resolution and checking to see if the task bar is hidden or not and also how high it is. My task bar is double height to accommodate the quick launch bar. For the moment I have reduced the height with _Screen.Height=Sysmetric(2)-100
I am working on creating some icons at the moment but will persevere later to find a solution. Peter -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Gene Wirchenko Sent: 28 July 2009 18:31 To: ProFox Email List Subject: RE: My App does not display properly. I am puzzled why _screen.windowstate=2 did not work for you. Setting the width and height as above does not quite work. You are liable to display something to _screen that will not show up on the monitor. The sysmetric() values for width and height are for the whole screen. There is no allowance for the taskbar or the titlebar and menu bar of the VFP main window. My system runs at 1024x768. If I maximise the main VFP window, ? _screen.height prints 700. If I were to set _screen width and height to the sysmetric() values, there would be 68 pixels high of _screen that would not fit on the screen. [snip] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/a57fa4cf19531343a2ee11b57db8e3af04c...@server.peterhartcomputers.local ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

