Using Win32 functions in Visual FoxPro Image Gallery
Function Groups:
All Functions 1306
Atom 1
Authentication 14
Authorization 6
Bitmap 9
Brush 2
Clipboard 20
Color 1
COM 6
Common Dialog Box 12
Console 12
Coordinate Space and Transformation 9
Cryptography Reference 28
Cursor 5
Data Decompression Library 3
Debugging 2
Desktop Window Manager (DWM) 1
Device Context 13
Device Input and Output 1
Dialog Box 6
DNS Functions 1
Dynamic-Link Library 6
Error Handling 10
Event Logging 10
Extensible Storage Engine (ESE, Jet Blue) 23
File Management 49
File Mapping 4
File System 19
Filled Shape 2
Font and Text 13
GDI+ 6
GDI+ Bitmap 10
GDI+ Brush 4
GDI+ Font 9
GDI+ Graphics 28
GDI+ Image 20
GDI+ ImageAttributes 3
GDI+ Matrix 10
GDI+ PathGradient Brush 3
GDI+ Pen 2
GDI+ StringFormat 2
GDI+ Text 2
Handle and Object 4
Hook 2
HTTP Functions (WinHTTP) 12
Icon 7
Internet Functions (WinInet) 49
IP Helper 24
Kernel Transaction Manager 3
Keyboard Input 22
Mailslot 3
Memory Management 26
Menu 18
Message and Message Queue 12
Metafile 6
Monitor Configuration (Vista) 8
Mouse Input 8
MSHTML Reference 1
Multilingual User Interface 4
Multiple Display Monitors 2
National Language Support 20
Network Management 34
ODBC API 30
Painting and Drawing 17
Path 3
Performance Monitoring 12
Pipe 5
PnP Configuration Manager 6
Power Management 6
Printing and Print Spooler 35
Process and Thread 31
Raw Input 4
Region 7
Registry 21
Remote Access Service (RAS) 5
Remote Application Programming (RAPI) 49
Remote Procedure Call (RPC) 7
Resource 10
Security 22
Service 11
Setup API functions 7
Shell Functions 39
Shell Lightweight Utility APIs -- misc. functions 2
Shell Lightweight Utility APIs -- Path Functions 20
Shell Lightweight Utility APIs -- string functions 4
Simple MAPI 9
String 10
Synchronization 13
System Information 23
System Shutdown 5
Terminal Services 10
Time 16
Unicode and Character Set 2
URL Monikers 7
Version Information 2
Virtual Hard Disk (Win7) 4
Window 37
Window Class 8
Window Procedure 3
Window Property 3
Window Station and Desktop 7
Windows Controls 8
Windows Multimedia 76
Windows Networking 18
Windows Sockets 2 (Winsock) 38
Window            ..msdn    Add comment
BringWindowToTop Brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated.
CloseWindow The CloseWindow function minimizes (but does not destroy) the specified window.
CreateWindow The CreateWindow function creates an overlapped, pop-up, or child window.

To use extended window styles in addition to the styles supported by CreateWindow, use the CreateWindowEx function.
CreateWindowEx Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function
DestroyWindow The DestroyWindow function destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it.
EndTask The EndTask function is called to forcibly close a specified window.
FindWindow Retrieves a handle to the top-level window whose class name and window name match the specified strings.
FindWindowEx Retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.
GetAncestor The GetAncestor function retrieves the handle to the ancestor of the specified window.
GetClientRect Retrieves the coordinates of a window"s client area.
GetDesktopWindow The GetDesktopWindow function returns the handle of the Windows desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which all icons and other windows are painted
GetForegroundWindow The GetForegroundWindow function returns a handle to the foreground window (the window with which the user is currently working). The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.
GetGUIThreadInfo Retrieves information about the active window or a specified graphical user interface (GUI) thread.
GetParent 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.
GetShellWindow The GetShellWindow function returns a handle to the Shell"s desktop window.
GetWindow The GetWindow function retrieves the handle of a window that has the specified relationship to the specified window.
GetWindowInfo The GetWindowInfo function retrieves information about the specified window.
GetWindowPlacement The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window.
GetWindowRect Retrieves the dimensions of the bounding rectangle of the specified window.
GetWindowText The GetWindowText function copies the text of the specified window"s title bar (if it has one) into a buffer
GetWindowTextLength The GetWindowTextLength function retrieves the length, in characters, of the specified window"s title bar text
GetWindowThreadProcessId Retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.
InternalGetWindowText This function is similar to the GetWindowText function. However, it obtains the window text directly from the window structure associated with the specified window"s handle and then always provides the text as a unicode string.
IsChild The IsChild function tests whether a window is a child window or descendant window of a specified parent window
IsIconic The IsIconic function determines whether the specified window is minimized (iconic).
IsWindow The IsWindow function determines whether the specified window handle identifies an existing window
IsWindowVisible The IsWindowVisible function retrieves the visibility state of the specified window
IsZoomed The IsZoomed function determines whether a window is maximized.
MoveWindow The MoveWindow function changes the position and dimensions of the specified window.
RealGetWindowClass Retrieves a string that specifies the window type
SetForegroundWindow The SetForegroundWindow function puts the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, and various visual cues are changed for the user
SetLayeredWindowAttributes The SetLayeredWindowAttributes function sets the opacity and transparency color key of a layered window.
SetParent The SetParent function changes the parent window of the specified child window.
SetWindowPos The SetWindowPos function changes the size, position, and Z order of a child, pop-up, or top-level window.
SetWindowText Changes the text of the specified window"s title bar (if it has one). If the specified window is a control, the text of the control is changed.
ShowWindow The ShowWindow function sets the show state for the specified window.
SwitchToThisWindow The function is called to switch focus to a specified window and bring it to the foreground.
Code examples:
Displaying dimmed window behind VFP top-level form
Terminating all running applications from a VFP program
Simple Window Viewer
Splash Screen for the VFP application
How to control Adobe Reader 9.0 (SDI mode) from VFP application
How to make a VFP form fading out when released (GDI version)
Obtaining names and positions for shortcuts located on the Windows Desktop
How to make a VFP form fading out when released (GDI+ version)
Scanning the hierarchy of child windows down from the main VFP window
Placing On-screen Alert on top of all windows
Minimizing all running applications
Custom GDI+ class
Listing child windows for the Windows desktop
Extended MessageBox Class
How to activate Windows Calculator
Moving shortcut to a specified position on the Windows Desktop
Accessing Adobe Reader 7.0 main menu from VFP application
The window and its ancestors
Using Common Controls: the Header Control
Using Month Calendar Control (VFP9, Comctl32.dll)
Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)
How to position the GETPRINTER() dialog
Creating a window using CreateWindowEx function
Scanning a hierarchy of child windows down from the Windows Desktop
Confining Windows calculator inside the VFP main window
Placing a button on the VFP form as a new child window
Creating a console window for Visual FoxPro application
Retrieving top-child window for the VFP form
Retrieving geometrical parameters of the system desktop window
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
How to change the name and the size of the font in the MessageBox dialog
How to block the ALT+TAB shortcut (WinXP)
GDI+: Implementing image scrolling with inertia
Setting properties of the window: caption and user-defined value
Vertical Label control
How to put a horizontal text scrolling on the form (a news line, marquee)
Running a regular FoxPro form while main VFP window is minimized
Storing screen shot of a form to bitmap file
How to change display settings: screen resolution, screen refresh rate
Subclassing CommandButton control to create BackColor property
How to put a vertical text scrolling on the form (a movie cast)
How to print FoxPro form
Comparing dimensions of the VFP main window with _SCREEN properties
Retrieveing information about the active window (even if it is not owned by the calling process)
Obtaining some properties for the Windows desktop using the GetWindowPlacement function
Printing text with the Escape function
How to print FoxPro form -- II
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
GDI+: sending image of FoxPro form to printer
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.234.247.118)
15 sec.Function: 'CreateNamedPipe'
28 sec.Function: 'GdipDrawLineI'
42 sec.Function: 'AlphaBlend'
56 sec.Function: 'CeRegSetValueEx'
1.17 min.Function: 'GdipGetSmoothingMode'
1.42 min.Function: 'GdipDeleteMatrix'
1.68 min.Function: 'CopyFile'
1.92 min.Function: 'GetAncestor'
2.17 min.Function: 'GdipDrawImageRectI'
2.42 min.Function: 'GetAdaptersAddresses'
Google
Advertise here!