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:
Accessing Adobe Reader 7.0 main menu from VFP application
Confining Windows calculator inside the VFP main window
How to activate Windows Calculator
How to block the ALT+TAB shortcut (WinXP)
How to start the screen saver and how to find whether the screen saver is active
Moving shortcut to a specified position on the Windows Desktop
Obtaining names and positions for shortcuts located on the Windows Desktop
Scanning the hierarchy of child windows down from the main VFP window
Setting properties of the window: caption and user-defined value
Simple Window Viewer
FindWindow
..msdn    Add comment     W32 Constants      Translate this page
Retrieves a handle to the top-level window whose class name and window name match the specified strings.
Code examples:
How to activate Windows Calculator
Confining Windows calculator inside the VFP main window
Setting properties of the window: caption and user-defined value
Scanning the hierarchy of child windows down from the main VFP window
Accessing Adobe Reader 7.0 main menu from VFP application
Moving shortcut to a specified position on the Windows Desktop
How to block the ALT+TAB shortcut (WinXP)
Obtaining names and positions for shortcuts located on the Windows Desktop
How to start the screen saver and how to find whether the screen saver is active
Simple Window Viewer
Declaration:
HWND FindWindow(
  LPCTSTR lpClassName,  // class name
  LPCTSTR lpWindowName  // window name
);
FoxPro declaration:
DECLARE INTEGER FindWindow IN user32;
    STRING lpClassName,;
    STRING lpWindowName
Parameters:
lpClassName
[in] Pointer to a null-terminated string that specifies the class name.

lpWindowName
[in] Pointer to a null-terminated string that specifies the window name (the window"s title).
Return value:
If the function succeeds, the return value is a handle to the window that has the specified class name and window name. If the function fails, the return value is NULL.
Word Index links for the FindWindow :
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-12-31 18:15:45
Visited in last 7 days: 46
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 (23.20.149.27)
8.61 hrs.Function: 'CryptProtectData'
Function group: 'Cryptography Reference'
Google
Advertise here!