Message ID for the Request "RefreshMap":
RI_MESSAGE_REFRESHMAP
Write Memory:
RI_RefreshMap_WriteData(LPARAM id, RI_CRefreshMap data );
Return Values for RefreshMap:
RI_NOERROR = RefreshMap is enabled
RI_NODESC = RefreshMap is disabled
Description:
Disables or enables the update of the map (only in simulation, tracking and navigation mode).
Example:
#define USE_LOADLIBRARY
#include "TNSRemoteInterfaceDll.h"
LPARAM GetUniqueID()
{
static LPARAM id = 0;
if (++id == 0) ++id;
return id;
}
inline LRESULT RI_MESSAGE( const UINT request, HWND h_client, LPARAM id )
{
PostMessage(
RI_GetTNS(), request, WPARAM(h_client),
id );
}
LRESULT CDlgMFC_RefreshMap::WindowProc ( UINT message , WPARAM wParam , LPARAM lParam )
{
{
}
return CDialog::WindowProc( message, wParam, lParam );
}
void CDlgMFC_RefreshMap::foo()
{
LPARAM id = GetUniqueID();
return;
else
}