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:
Creating a window using CreateWindowEx function
How to make a VFP form fading out when released (GDI version)
How to make a VFP form fading out when released (GDI+ version)
Obtaining window class name for the main VFP window
Placing On-screen Alert on top of all windows
Scanning the hierarchy of child windows down from the main VFP window
Splash Screen for the VFP application
RealGetWindowClass
    Add comment     W32 Constants      Translate this page
Retrieves a string that specifies the window type
Code examples:
Placing On-screen Alert on top of all windows
How to make a VFP form fading out when released (GDI version)
Creating a window using CreateWindowEx function
How to make a VFP form fading out when released (GDI+ version)
Splash Screen for the VFP application
Scanning the hierarchy of child windows down from the main VFP window
Obtaining window class name for the main VFP window
Declaration:
UINT RealGetWindowClass(
  HWND  hwnd,      // handle to window
  LPTSTR pszType,  // window type buffer
  UINT  cchType    // size of window type buffer
);
FoxPro declaration:
DECLARE INTEGER RealGetWindowClass IN user32;
    INTEGER  hwnd,;
    STRING @ pszType,;
    INTEGER  cchType
Parameters:
hwnd
[in] Handle to the window whose type will be retrieved.

pszType
[out] Pointer to a string that receives the window type.

cchType
[in] Specifies the length, in TCHARs, of the buffer pointed to by the pszType parameter
Return value:
If the function succeeds, the return value is the number of TCHARs copied to the specified buffer
My comment:
Looking for possible applications for this function, so far I used it in combination with the CreateWindow function
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-07-18 12:00:00
Modified: 2003-06-09 13:44:11
Visited in last 7 days: 10
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2014 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.68), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.235.29.110)
5 sec.Function: 'FindWindow'
Function group: 'Window'
14 sec.Example: 'How to create non-blocking Winsock server'
Language: 'C++'
1.03 min.Function: 'AVIStreamLength'
Function group: 'Windows Multimedia'
22.92 hrs.Function: 'JetRetrieveColumn'
 Function: 'waveInGetErrorText'
Function group: 'Windows Multimedia'
 Function: 'IsValidSid'
 Function: 'StartPage'
 Example: 'How to enumerate terminal servers within the specified Windows domain'
 Example: 'How to change display settings: screen resolution, screen refresh rate'
 Function: 'TextOut'
Google
Advertise here!