Using Win32 functions in Visual FoxPro Image Gallery
Window
..msdn
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:
Minimizing all running applications
CloseWindow
..msdn    Add comment     W32 Constants      Translate this page
The CloseWindow function minimizes (but does not destroy) the specified window.
Code examples:
Minimizing all running applications
Declaration:
 
BOOL CloseWindow(
  HWND hWnd   // handle to window to minimize
);
 
FoxPro declaration:
 
DECLARE INTEGER CloseWindow IN user32;
    INTEGER hWnd
 
Parameters:
hWnd
[in] Handle to the window to be minimized.
Return value:
If the function succeeds, the return value is nonzero.
My comment:
It is an example of misleading name. To destroy a window, an application must use the DestroyWindow function.
Word Index links for the CloseWindow :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-01-10 18:49:05
Modified: 2003-07-10 08:38:13
Visited in last 7 days: 52
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (107.20.129.212)
1.1 hrs.Example: 'Winsock: retrieving the standard host name and IP address for the local machine'
 Example: 'The window and its ancestors'
2.73 hrs.Example: 'Testing serial ports'
6.69 hrs.Example: 'Using an Event Object. Part B: running an application responding to events'
 Function: 'MAPIAddress'
Function group: 'Simple MAPI'
 Function: 'midiOutGetDevCaps'
Function group: 'Windows Multimedia'
17.47 hrs.Example: 'Using the DrawText function'
 Function: 'CryptHashData'
Function group: 'Cryptography Reference'
17.8 hrs.Example: 'An alternative way of setting Form.Closable to False'
20.82 hrs.Example: 'Storing content of the Clipboard to a bitmap file'
Google
Advertise here!