i called win32API Messagebox in my vi, and i can get the messagebox displayed.
but, if i move the messagebox, i can not close it.
if i do not move the messagebox, everything is OK.
below is my vi and source code.
thanks.
api_func void PDAShowMessage(const char *message)
{
static TCHAR tcMessage[256];
{
memset(tcMessage, '\0', sizeof(TCHAR) * 256);
ConvertToWideString(tcMessage, message);
}
MessageBox(NULL,tcMessage,_T(""),MB_OKCANCEL|MB_APPLMODAL|MB_SETFOREGROUND|MB_TOPMOST);
}