Using Win32 functions in Visual FoxPro Image Gallery
Message and Message Queue
..msdn
BroadcastSystemMessage
GetQueueStatus
MQCloseQueue
MQDeleteQueue
MQHandleToFormatName
MQOpenQueue
MQPathNameToFormatName
MQPurgeQueue
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:
Terminating all running applications from a VFP program
How to activate Windows Calculator
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: 43
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.90.207.75)
15 sec.Function: 'FindFirstFile'
Function group: 'File Management'
32 sec.Function: 'GetThreadLocale'
47 sec.Function: 'GetPrintProcessorDirectory'
1.02 min.Function: 'CreateDIBSection'
1.25 min.Function: 'DeleteFile'
1.5 min.Function: 'bind'
1.75 min.Function: 'GetTcpTable'
2 min.Function: 'GetNumberOfPhysicalMonitorsFromHMONITOR'
2.25 min.Function: 'GdipTranslateWorldTransform'
2.48 min.Function: 'QueryDosDevice'
Google
Advertise here!