Hi!
Just curious, for what you need it?
BTW, it is possible to display VFP form above the taskbar, if you need it.
>>Check SHAppBarMessage function.
>
>Thanks, found this thread Forum: Visual FoxPro Category: Windows API functions Title: Re: Windows task bar height Thread #
399500 Message #
399544>
>>Cetin
>>>Hi Cetin,
>>>
>>>How to find Windows TaskBar height?
>>>
>>>Thanks in advance.
>>>
>>>BTW, how about adding this function into Windows API section here?
>>>
>>>>>Hi everyone!
>>>>>
>>>>>How can I get the current resolution of the screen?
>>>>>
>>>>>Best thanks
>>>>
>>>>Robert,
>>>>sysmetric(1) and 2 give it but not reliable (resolution changed while vfp session is open it reports old value).
>>>>This code from George Tasker works right all the time (thanks again George) :
>>>>
>>>>
#define SM_CXSCREEN 0
>>>>#define SM_CYSCREEN 1
>>>>#define SM_CXFULLSCREEN 16
>>>>#define SM_CYFULLSCREEN 17
>>>>DECLARE INTEGER GetSystemMetrics IN Win32API;
>>>> INTEGER nIndex
>>>>* Example
>>>>? GetSystemMetrics(SM_CXSCREEN)
>>>>? GetSystemMetrics(SM_CYSCREEN)
>>>>? GetSystemMetrics(SM_CXFULLSCREEN)
>>>>? GetSystemMetrics(SM_CYFULLSCREEN)
>>>>
Cetin
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.