|
TalMap SDK Libary Reference |
XCtrlMan::NeedUpdate |
Type¿¡ ¼³Á¤µÈ ¹æ¹ý¿¡ µû¶ó Áöµµ¿µ¿ª¸¦ ´Ù½Ã ±×¸®µµ·Ï ¼³Á¤ÇÕ´Ï´Ù. |
|
|
|
Parameters
|
Type |
Update Type (XUtility.GetConstToValue(String Value)¿¡ »ç¿ëµÇ´Â String Value°ª)
NU_NONE | |
NU_UI | UI ¾÷µ¥ÀÌÆ® |
NU_INFO | INFO ¾÷µ¥ÀÌÆ® |
NU_ALL | Àüü ¾÷µ¥ÀÌÆ® |
|
Rect |
Update Rect |
|
|
|
|
Return Value
|
|
Remarks
|
NeedUpdate ´Â XCtrlMan ÀÇ Method·Î Á¦°øµË´Ï´Ù.
»ç¿ëÀÚ´Â ÀÌ ¸Þ¼Òµå¸¦ ÀÌ¿ëÇÏ¿©, Type¿¡ ¼³Á¤µÈ ¹æ¹ý¿¡ µû¶ó Áöµµ¸¦ ´Ù½Ã ±×¸®µµ·Ï ¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.
´Ù¼öÀÇ Object¸¦ Ãß°¡, ÆíÁý, »èÁ¦Çϸé ÀÚµ¿À¸·Î Áöµµ°¡ Àüü ȸéÀ» Update ÇÕ´Ï´Ù.
TypeÀ» ÁöÁ¤Çϰí ÀÌ ¸Þ¼Òµå¸¦ ½ÇÇàÇϸé ÇØ´ç ¹üÀ§¿¡ ´ëÇØ¼ ºü¸£°Ô Update ÇÕ´Ï´Ù.
ÀüüȸéÀ» UpdateÇϱ⠿øÇϸé Rect¿¡ NULL¸¦ ³ÖÀ¸¸é µË´Ï´Ù.
|
|
|
|
Example
|
|
var ctrlman = m_Map.GetCtrlMan();
var ctrlstate = ctrlman.GetControlState();
var rect = ctrlstate.GetDPRect();
var util = m_Map.GetUtility();
// NEED_UPDATE Value :NU_NONE, NU_UI, NU_INFO, NU_ALL
var type = util.GetConstToValue("NU_ALL");
// Áöµµ UI ¾÷µ¥ÀÌÆ®
ctrlman.NeedUpdate(type, rect);
|
|
|
#include "CXCtrlMan.h"
#include "CXUtility.h"
CXCtrlMan ctrlman = m_Map.GetCtrlMan();
CXUtility util = m_Map.GetUtility();
// NEED_UPDATE Value :NU_NONE, NU_UI, NU_INFO, NU_ALL
long type = util.GetConstToValue(_T("NU_UI"));
// Áöµµ UI¾÷µ¥ÀÌÆ®
ctrlman.NeedUpdate(type, NULL);
|
|
|
int ntype = m_Map.GetUtility().GetConstToValue("NU_UI");
// Áöµµ UI ¾÷µ¥ÀÌÆ®
m_Map.GetCtrlMan().NeedUpdate(ntype, null);
|
|
|
Dim nType As Long
Dim rect As TalMapXLib.IXRect
nType = m_Map.GetUtility.GetConstToValue("NU_UI")
Set rect = m_Map.GetCtrlMan.GetControlState.GetDPRect '//Áöµµ È¸é ¿µ¿ª
Call m_Map.GetCtrlMan.NeedUpdate(nType, rect)
|
|
|
|
See Also
|