Using Win32 functions in Visual FoxPro Image Gallery
Window Procedure
..msdn
CallWindowProc
DefWindowProc
WindowProc
Code examples:
DefWindowProc
..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:
Declaration:
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
Parameters:
hWnd
[in] Handle to the window procedure that received the message.

Msg
[in] Specifies the message.
wParam

[in] Specifies additional message information.

lParam
[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  
FreeTranslation.com 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: 13
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.158.214.111)
2 sec.Function: 'WSAConnect'
Function group: 'Windows Sockets 2 (Winsock)'
4 sec.Function: 'CertCloseStore'
Function group: 'Cryptography Reference'
5 sec.Function: 'GdipGetMatrixElements'
Function group: 'GDI+ Matrix'
10 sec.Project
12 sec.Function: 'CryptCreateHash'
Function group: 'Cryptography Reference'
14 sec.Function: 'AVIFileInfo'
Function group: 'Windows Multimedia'
16 sec.Function: 'SCardDisconnect'
20 sec.Function: 'SetupDiGetClassImageIndex'
Function group: 'Setup API functions'
22 sec.Articles
23 sec.Function: 'waveOutUnprepareHeader'
Function group: 'Windows Multimedia'
Google
Advertise here!