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:
Simple Window Viewer
Terminating all running applications from a VFP program
The window and its ancestors
GetParent
..msdn    Add comment     W32 Constants      Translate this page
The GetParent function retrieves a handle to the specified window"s parent or owner. To retrieve a handle to a specified ancestor, use the GetAncestor function.
Code examples:
Terminating all running applications from a VFP program
Simple Window Viewer
The window and its ancestors
Declaration:
HWND GetParent(
  HWND hWnd   // handle to child window
);
FoxPro declaration:
DECLARE INTEGER GetParent IN user32;
    INTEGER hwnd
Parameters:
hWnd
[in] Handle to the window whose parent window handle is to be retrieved.
Return value:
If the window is a child window, the return value is a handle to the parent window. If the window is a top-level window, the return value is a handle to the owner window. If the window is a top-level unowned window or if the function fails, the return value is NULL.
Word Index links for the GetParent :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-25 20:58:30
Modified: 2002-01-25 20:59:59
Visited in last 7 days: 17
User Contributed Notes:
There are no notes on this subject.


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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.196.72.162)
13 sec.Function: 'SetEnvironmentVariable'
26 sec.Example: 'How to convert a bitmap file to monochrome format (1 bpp)'
39 sec.Function: 'GdipGetDC'
52 sec.Function: 'HashData'
1.07 min.Function: 'SetTextCharacterExtra'
1.25 min.Function: 'SCardGetProviderId'
1.43 min.Function: 'UnlockFile'
1.62 min.Function: 'waveInAddBuffer'
1.8 min.
Function group: 'Atom'
1.98 min.Function: 'WTSEnumerateProcesses'
Google
Advertise here!