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)
Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)
How to block the PrintScreen key
WindowProc
..msdn    Add comment     W32 Constants      Translate this page
The WindowProc function is an application-defined function that processes messages sent to a window. The WNDPROC type defines a pointer to this callback function. WindowProc is a placeholder for the application-defined function name.
Code examples:
Adding user-defined items to the Control Menu of VFP form (requires VFP9)
Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)
How to block the PrintScreen key
Declaration:
LRESULT CALLBACK WindowProc(
  HWND hwnd,      // handle to window
  UINT uMsg,      // message identifier
  WPARAM wParam,  // first message parameter
  LPARAM lParam   // second message parameter
);
FoxPro declaration:
No VFP declaration available
Parameters:
hwnd
[in] Handle to the window.

uMsg
[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 sent.
Word Index links for the WindowProc :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2002-04-21 18:44:30
Modified: 2002-04-21 18:46:05
Visited in last 7 days: 30
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.80.132.10)
7 sec.Function: 'DrawMenuBar'
13 sec.Function: 'ImageList_Create'
22 sec.Function: 'GetLocaleInfo'
30 sec.Function: 'waveInClose'
37 sec.
Function group: 'Hook'
44 sec.Function: 'OpenEventLog'
53 sec.Function: 'GdipCreateFromHDC2'
1.02 min.Function: 'AddPort'
1.13 min.Function: 'GetDriveType'
1.25 min.Function: 'GetLocalTime'
Google
Advertise here!