Variables
BuddyAlertIn: message from Navigator, when we approach a buddy during the navigation

Variables

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

Detailed Description

Variable Documentation

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

Message ID for the Request "BuddyAlertIn":
RI_MESSAGE_BUDDYALERTIN

This message is not called by the client!
If a client has defined a Buddy Alert and we approach
this point during navigation, the navigator sets off this message.
So that the client is informed that we reach 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_BUDDYALERTIN )
{
int AlertID = (int) lParam;
//they are approaching 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