Variables
BuddyAlertOut: message from Navigator, when we will leave a buddy during the navigation

Variables

const UINT RI_MESSAGE_BUDDYALERTOUT = RegisterWindowMessage(TEXT("RI_MESSAGE_BUDDYALERTOUT"))
 

Detailed Description

Variable Documentation

const UINT RI_MESSAGE_BUDDYALERTOUT = RegisterWindowMessage(TEXT("RI_MESSAGE_BUDDYALERTOUT"))

Message ID for the Request "BuddyAlertOut":
RI_MESSAGE_BUDDYALERTOUT

This message is not called by the client!
If a client has defined a Buddy Alert and we will remove us
from this point during navigation, the navigator sets off this message.
So that the client is informed that we move away from the point.

<H2>Example:</H2>
#define USE_LOADLIBRARY
#include "TNSRemoteInterfaceDll.h"
LRESULT CDlgMFC_BuddyAlertIn::WindowProc ( UINT message , WPARAM wParam , LPARAM lParam )
{
//check messages for answer from RI
if ( message == RI_MESSAGE_BUDDYALERTOUT )
{
int AlertID = (int) lParam;
//they move away from a buddy, and a alert the "AlertID" was triggered
}
return CDialog::WindowProc( message, wParam, lParam );
}

© PTV Group 2020 Generated on Wed Apr 15 2020 12:47:53 for by doxygen 1.8.8