Using Win32 functions in Visual FoxPro Image Gallery
Message and Message Queue
..msdn
BroadcastSystemMessage
GetQueueStatus
PeekMessage
PostMessage
PostQuitMessage
SendMessage
Code examples:
How to activate Windows Calculator
Terminating all running applications from a VFP program
PostMessage
    Add comment     W32 Constants      Translate this page
Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.
Code examples:
How to activate Windows Calculator
Terminating all running applications from a VFP program
Declaration:
 
BOOL PostMessage(
  HWND hWnd,      // handle to destination window
  UINT Msg,       // message
  WPARAM wParam,  // first message parameter
  LPARAM lParam   // second message parameter
);
 
FoxPro declaration:
 
DECLARE SHORT PostMessage IN user32;
    INTEGER   hWnd,;
    INTEGER   Msg,;
    STRING  @ wParam,;
    INTEGER   lParam
 
 
Parameters:
hWnd
[in] Handle to the window whose window procedure is to receive the message.

Msg
[in] Specifies the message to be posted.

wParam
[in] Specifies additional message-specific information.

lParam
[in] Specifies additional message-specific information.
Return value:
If the function succeeds, the return value is nonzero.
Word Index links for the PostMessage :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-10 12:00:00
Modified: 2001-11-26 16:03:09
Visited in last 7 days: 42
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (184.73.7.143)
3 sec.Example: 'How to put a horizontal text scrolling on the form (a news line)'
1.22 hrs.Example: 'Enumerating the subkeys for a given registry key'
 Function: 'SetPriorityClass'
1.55 hrs.Example: 'Custom FTP Class for Visual FoxPro application'
 Example: 'Subclassing CommandButton control to create BackColor property'
 Example: 'Enumerating printer drivers installed'
3.48 hrs.Example: 'How to empty the Recycle Bin'
3.93 hrs.Example: 'Enumerating Processes -- Win9*'
 Function: 'NetUserChangePassword'
Google
Advertise here!