Using Win32 functions in Visual FoxPro Image Gallery
Window
..msdn
BringWindowToTop
CloseWindow
CreateWindow
CreateWindowEx
DestroyWindow
EndTask
FindWindow
FindWindowEx
GetAncestor
GetClientRect
GetDesktopWindow
GetForegroundWindow
GetGUIThreadInfo
GetParent
GetShellWindow
GetWindow
GetWindowInfo
GetWindowPlacement
GetWindowRect
GetWindowText
GetWindowTextLength
GetWindowThreadProcessId
InternalGetWindowText
IsChild
IsIconic
IsWindow
IsWindowVisible
IsZoomed
MoveWindow
RealGetWindowClass
SetForegroundWindow
SetLayeredWindowAttributes
SetParent
SetWindowPos
SetWindowText
ShowWindow
SwitchToThisWindow
Code examples:
Comparing dimensions of the VFP main window with _SCREEN properties
Retrieving geometrical parameters of the system desktop window
GetClientRect
    Add comment     W32 Constants      Translate this page
Retrieves the coordinates of a window"s client area.
Code examples:
Retrieving geometrical parameters of the system desktop window
Comparing dimensions of the VFP main window with _SCREEN properties
Declaration:
BOOL GetClientRect(
  HWND hWnd,      // handle to window
  LPRECT lpRect   // client coordinates
);
FoxPro declaration:
DECLARE SHORT GetClientRect IN user32;
    INTEGER  hwnd,;
    STRING @ lpRect
Parameters:
hWnd
[in] Handle to the window whose client coordinates are to be retrieved.

lpRect
[out] Pointer to a RECT structure that receives the client coordinates. The left and top members are zero. The right and bottom members contain the width and height of the window.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the GetClientRect :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-04 12:00:00
Modified: 2001-11-26 16:03:06
Visited in last 7 days: 21
User Contributed Notes:
203.177.105.42 | 2006-06-19 04:58:32
how to create shortcut menu like vb 6.0

Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.147.40.153)
1 sec.Function: 'CreateFile'
3 sec.Example: 'Testing serial ports'
5 sec.
Function group: 'Window Procedure'
6 sec.Function: 'GlobalLock'
8 sec.Function: 'ChangeDisplaySettings'
10 sec.Function: 'NetFileClose'
12 sec.Function: 'GdipGetImageDecodersSize'
14 sec.Function: 'ConfigurePort'
16 sec.Function: 'LsaFreeReturnBuffer'
18 sec.Function: 'RegisterClipboardFormat'
Google
Advertise here!