Using Win32 functions in Visual FoxPro Image Gallery
Window Procedure
Code examples:
..msdn    Add comment     W32 Constants      Translate this page
The DefWindowProc function calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.
Code examples:
LRESULT DefWindowProc(
    HWND hWnd,
    UINT Msg,
    WPARAM wParam,
    LPARAM lParam
FoxPro declaration:
DECLARE INTEGER DefWindowProc IN user32;
    LONG hWnd,;
    LONG Msg,;
    INTEGER wParam,;
    INTEGER lParam
[in] Handle to the window procedure that received the message.

[in] Specifies the message.

[in] Specifies additional message information.

[in] Specifies additional message information.
Return value:
The return value is the result of the message processing and depends on the message.
My comment:
You hardly could have a reason to call this frunction directly from VFP code.
Word Index links for the DefWindowProc :
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2002-10-23 11:04:09
Modified: 2002-10-23 11:06:28
Visited in last 7 days: 42
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
10 sec.Function: 'accept'
Function group: 'Windows Sockets 2 (Winsock)'
19 sec.
Function group: 'Atom'
27 sec.Function: 'GetSystemInfo'
Function group: 'System Information'
36 sec.Function: 'FtpGetCurrentDirectory'
47 sec.Function: 'MAPISendDocuments'
57 sec.Example: 'Winsock: how to retrieve a service information corresponding to a port'
1.08 min.Function: 'AVIStreamGetFrameClose'
Function group: 'Windows Multimedia'
1.23 min.Links
1.37 min.
1.55 min.Function: 'ExitProcess'
Function group: 'Process and Thread'
Advertise here!