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:
Displaying dimmed window behind VFP top-level form
Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)
Extended MessageBox Class
How to position the GETPRINTER() dialog
Using Common Controls: the Header Control
Using Month Calendar Control (VFP9, Comctl32.dll)
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
SetWindowPos
..msdn    Add comment     W32 Constants      Translate this page
The SetWindowPos function changes the size, position, and Z order of a child, pop-up, or top-level window.
Code examples:
Displaying dimmed window behind VFP top-level form
Extended MessageBox Class
Using Common Controls: the Header Control
Using Month Calendar Control (VFP9, Comctl32.dll)
Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)
Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera
How to position the GETPRINTER() dialog
Declaration:
BOOL SetWindowPos(
  HWND hWnd,             // handle to window
  HWND hWndInsertAfter,  // placement-order handle
  int X,                 // horizontal position
  int Y,                 // vertical position
  int cx,                // width
  int cy,                // height
  UINT uFlags            // window-positioning options
);
FoxPro declaration:
DECLARE INTEGER SetWindowPos IN user32;
    INTEGER hwnd,;
    INTEGER hWndInsertAfter,;
    INTEGER x,;
    INTEGER y,;
    INTEGER cx,;
    INTEGER cy,;
    INTEGER wFlags

Parameters:
hWnd
[in] Handle to the window.

hWndInsertAfter
[in] Handle to the window to precede the positioned window in the Z order.

X
[in] Specifies the new position of the left side of the window, in client coordinates.

Y
[in] Specifies the new position of the top of the window, in client coordinates.

cx
[in] Specifies the new width of the window, in pixels.

cy
[in] Specifies the new height of the window, in pixels.

uFlags
[in] Specifies the window sizing and positioning flags.

Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the SetWindowPos :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-04-08 22:37:02
Modified: 2002-04-08 22:39:36
Visited in last 7 days: 67
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.227.51.103)
13 sec.Function: 'MessageBoxIndirect'
28 sec.Function: 'GetDlgItem'
42 sec.
Function group: 'Resource'
56 sec.Function: 'UnregisterClass'
1.2 min.Function: 'FtpGetCurrentDirectory'
1.45 min.Function: 'Escape'
Function group: 'Printing and Print Spooler'
1.7 min.Function: 'CryptDestroyKey'
1.97 min.Function: 'GetGraphicsMode'
2.23 min.Function: 'StrFormatByteSize'
2.5 min.Function: 'DPtoLP'
Google
Advertise here!