Using Win32 functions in Visual FoxPro Image Gallery
Window Procedure
..msdn
CallWindowProc
DefWindowProc
WindowProc
Code examples:
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
Detecting changes in connections to removable drives (VFP9)
Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)
Displaying icons in the system tray (VFP9)
Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)
How to block the PrintScreen key
How to disable the Windows Clipboard (VFP9)
How to hot-track menu item selection in top-level form (requires VFP9)
Monitoring clipboard content changes (VFP9)
Switching between keyboard layouts
Transparent Menu Class (requires VFP9)
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Using Month Calendar Control (VFP9, Comctl32.dll)
Using WM_COPYDATA for interprocess communication (VFP9)
CallWindowProc
..msdn    Add comment     W32 Constants      Translate this page
The CallWindowProc function passes message information to the specified window procedure.
Code examples:
Displaying icons in the system tray (VFP9)
Capturing keyboard activity of another application with the Raw Input API (VFP9)
Detecting changes in connections to removable drives (VFP9)
Monitoring clipboard content changes (VFP9)
Switching between keyboard layouts
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form
Using Month Calendar Control (VFP9, Comctl32.dll)
Displaying hypertext links with the SysLink control (VFP9, Comctl32.dll)
Customizing the frame of top-level form: removing the standard frame (VFP9, Vista)
Using WM_COPYDATA for interprocess communication (VFP9)
Declaration:
LRESULT CallWindowProc(
    WNDPROC lpPrevWndFunc,
    HWND hWnd,
    UINT Msg,
    WPARAM wParam,
    LPARAM lParam
);
FoxPro declaration:
DECLARE INTEGER CallWindowProc IN user32;
    LONG lpPrevWndFunc,;
    LONG hWnd,;
    LONG Msg,;
    INTEGER wParam,;
    INTEGER lParam
Parameters:
lpPrevWndFunc
[in] Pointer to the previous window procedure. This value can be obtained by calling the GetWindowLong function with the nIndex parameter set to GWL_WNDPROC or DWL_DLGPROC

hWnd
[in] Handle to the window procedure to receive the message.

Msg
[in] Specifies the message.

wParam
[in] Specifies additional message-specific information.

lParam
[in] Specifies additional message-specific information.
Return value:
The return value specifies the result of the message processing and depends on the message sent.
My comment:
You hardly could have a reason to call this frunction directly from VFP code.
Word Index links for the CallWindowProc :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-10-23 10:55:46
Modified: 2002-10-23 11:03:24
Visited in last 7 days: 137
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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.145.95.149)
4 sec.Function: 'GdipGetImageEncodersSize'
8 sec.Function: 'GdipFillPieI'
14 sec.Function: 'CeRegSetValueEx'
18 sec.
Function group: 'File System'
23 sec.Function: 'GdipDrawImageRectRectI'
29 sec.Function: 'CryptDestroyHash'
36 sec.Function: 'CreateCompatibleDC'
41 sec.Function: 'CloseClipboard'
48 sec.
Function group: 'MSHTML Reference'
54 sec.Function: 'CryptProtectData'
Google
Advertise here!