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:
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
Extended MessageBox Class
GDI+: custom control, base class
How to change the name and the size of the font in the MessageBox dialog
Listing child windows for the Windows desktop
Minimizing all running applications
Moving shortcut to a specified position on the Windows Desktop
Obtaining names and positions for shortcuts located on the Windows Desktop
Retrieving top-child window for the VFP form
Scanning the hierarchy of child windows down from the main VFP window
Simple Window Viewer
Terminating all running applications from a VFP program
GetWindow
..msdn    Add comment     W32 Constants      Translate this page
The GetWindow function retrieves the handle of a window that has the specified relationship to the specified window.
Code examples:
Obtaining names and positions for shortcuts located on the Windows Desktop
Moving shortcut to a specified position on the Windows Desktop
Extended MessageBox Class
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
Terminating all running applications from a VFP program
Simple Window Viewer
How to change the name and the size of the font in the MessageBox dialog
Listing child windows for the Windows desktop
Scanning the hierarchy of child windows down from the main VFP window
Minimizing all running applications
Declaration:
HWND GetWindow(
    HWND  hWnd,    // handle of original window
    UINT  uCmd     // relationship flag
   );
FoxPro declaration:
DECLARE INTEGER GetWindow IN user32;
    INTEGER hwnd,;
    INTEGER wFlag
Parameters:
hWnd
Identifies a window

uCmd
Specifies the relationship between the specified window and the window whose handle is to be retrieved
Return value:
If the function succeeds, the return value is a window handle
Usage:
IF ThisForm.ShowWindow= 2
    THIS.hWindow = GetWindow(ThisForm.hWnd, GW_CHILD)
ELSE
    THIS.hWindow = ThisForm.HWnd
ENDIF
Word Index links for the GetWindow :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-12 12:00:00
Modified: 2009-09-29 14:32:19
Visited in last 7 days: 171
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.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.221.136.62)
17 sec.Function: 'waveInGetErrorText'
35 sec.Function: 'PeekMessage'
52 sec.Function: 'DeleteService'
1.13 min.Function: 'GetSystemMenu'
1.42 min.Function: 'URLDownloadToFile'
1.68 min.
Function group: 'Performance Monitoring'
1.97 min.Function: 'GetComputerObjectName'
2.25 min.Function: 'StartDoc'
2.55 min.Function: 'SCardEstablishContext'
2.88 min.Function: 'GetInterfaceInfo'
Function group: 'IP Helper'
Google
Advertise here!