Jump to content

HM UPDATE OBJCOM WINDOW CHAIN: Difference between revisions

From EDM2
Created page with "{{DISPLAYTITLE:HM_UPDATE_OBJCOM_WINDOW_CHAIN}} This message is sent to the currently active communication object by the communication object who wants to withdraw from the communication chain. ==Syntax== <pre> param1 HWND hwnd; The handle of the object to be withdrawn from the communication chain.: param2 HWND hwnd; Window containing the handle of the object to be replaced.: </pre> ==Parameters== ;hwnd (HWND) - input: The handle of the obje..."
 
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:HM_UPDATE_OBJCOM_WINDOW_CHAIN}}
{{DISPLAYTITLE:HM_UPDATE_OBJCOM_WINDOW_CHAIN}}
This message is sent to the currently active communication object by the
This message is sent to the currently active communication object by the communication object who wants to withdraw from the communication chain.
communication object who wants to withdraw from the communication chain.


==Syntax==
==Syntax==
<pre>
<pre>
param1
param1
HWND hwnd; /* The handle of the object to be withdrawn from the communication
HWND hwnd; /* The handle of the object to be withdrawn from the communication chain. */
              chain. */


param2
param2
Line 22: Line 20:


==Remarks==
==Remarks==
The object that receives this message should check to see if the object
The object that receives this message should check to see if the object handle returned from '''HM_SET_OBJCOM_WINDOW''' is equal to the handle in '''param1'''. If the handle is equal, then the handle in '''param1''' should be replaced by the handle in '''param2'''. If the handle is not equal and the handle previously received is not NULL HANDLE, then send HM_UPDATE_OBJCOM_WINDOW_CHAIN to that object.
handle returned from [[HM_SET_OBJCOM_WINDOW]] is equal to the handle in '''param1'''. If the
handle is equal, then the handle in '''param1''' should be replaced by the handle in '''param2'''.
If the handle is not equal and the handle previously received is not NULL
HANDLE, then send HM_UPDATE_OBJCOM_WINDOW_CHAIN to that object.


==Default Processing==
==Default Processing==

Revision as of 04:16, 28 April 2025

This message is sent to the currently active communication object by the communication object who wants to withdraw from the communication chain.

Syntax

param1
HWND hwnd; /* The handle of the object to be withdrawn from the communication chain. */

param2
HWND hwnd; /* Window containing the handle of the object to be replaced. */

Parameters

hwnd (HWND) - input
The handle of the object to be withdrawn from the communication
chain.
hwnd (HWND) - input
Window containing the handle of the object to be replaced.

Returns

ulReserved (ULONG) - return
Reserved value, should be 0.

Remarks

The object that receives this message should check to see if the object handle returned from HM_SET_OBJCOM_WINDOW is equal to the handle in param1. If the handle is equal, then the handle in param1 should be replaced by the handle in param2. If the handle is not equal and the handle previously received is not NULL HANDLE, then send HM_UPDATE_OBJCOM_WINDOW_CHAIN to that object.

Default Processing

None.