|
TalMap SDK Libary Reference |
XPOIItem::CreateInfoBox |
Information Box ¸¦ »ý¼ºÇÕ´Ï´Ù. |
|
XPOIItem::CreateInfoBox
XUIMapPanel CreateInfoBox(LONG Type, String Caption, String Contents, BOOL ShowDetail, BOOL ShowMenu);
|
|
|
Parameters
|
Type |
Information Box Type |
Caption |
Information Box Caption |
Contents |
Information Box ³»¿ë |
ShowDetail |
»ó¼¼ Ç¥½Ã ¿©ºÎ.(TRUE/FALSE) |
ShowMenu |
¸Þ´º Ç¥½Ã ¿©ºÎ.(TRUE/FALSE) |
|
|
|
|
Return Value
|
XUIMapPanel ŸÀÔ.
Information Box °³Ã¼
|
|
|
|
Remarks
|
CreateInfoBox ´Â XPOIItem ÀÇ Method·Î Á¦°øµË´Ï´Ù.
»ç¿ëÀÚ´Â ÀÌ ¸Þ¼Òµå¸¦ ÀÌ¿ëÇÏ¿© Information Box¸¦ »ý¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù.
|
|
|
|
Example
|
|
<script language="javascript" for="m_Map" event="OnPOI_Click(XPOIItem, Flag, X, Y)">
XPOIItem.CreateInfoBox(0, "POI InfoBox", "Click Event¿¡ ÀÇÇØ »ý¼ºµÈ InfoBox", true, true);
</script>
|
|
|
void CSampleDlg::OnPOI_ClickTalmapxctrl1(LPDISPATCH POI, long nFlag, long X, long Y)
{
CXPOIItem obj;
obj.AttachDispatch(POI, FALSE);
obj.GetID();
obj.CreateInfoBox(0, obj.GetCaption(), obj.GetContents(), true, true);
}
|
|
|
|
See Also
|
|