quote:以下是引用zhykevin在2010-12-03 11:54:23的发言:
非常感谢 ”城外之人”的解答,另外,如果验证错误的话,希望能弹出一个消息窗,提示密码或者用户名错误;当验证正确时,希望对某一个wincc的内部变量置1或者置零,这如何实现?
消息框用Win32 API函数
int MessageBox(
HWND hWnd, // handle of owner window
LPCTSTR lpText, // address of text in message box
LPCTSTR lpCaption, // address of title of message box
UINT uType // style of message box
);