WireLess Studio Widgets Developer's Guide |
Displays a popup dialog. If the timeout is set, the dialog will be close when that timeout is reached, otherwise the user can close the dialog by pressing a key.
VARIANT_BOOL ShowPopupMessage(LPCTSTR sTittle, LPCTSTR sMessage, SHORT usTimeOut, LPCTSTR sTone);
On success, ShowPopupMessage returns TRUE, FALSE otherwise. To get extended information, call WStError::GetLastErrorCode.
using WirelessStudioOleWidgets; WStForm oForm = new WStForm (); oForm.ShowPopupMessage("WStudio", "This is a test", 10, "");
Public wsForm As New WStForm ... If sObjectName = "showPopupBtn" Then If IsNumeric(wsWidget.GetTextByName("timeOutField")) Then iTimeOut = wsWidget.GetTextByName("timeOutField") End If bResult = wsForm.ShowPopupMessage(wsWidget.GetTextByName("popupTittleField"), _ wsWidget.GetTextByName("popupField"), iTimeOut, "") End If ...
WStWiget class reference | WStForm class reference | WStFactory class reference | WStError class reference
WireLess Studio by SofToGo S.A. | Visit our site www.softogo.com | Contact us help@softogo.com |