1.用户登录
#pragma code ("useadmin.dll")
#include "PWRT_api.h"
#pragma code()
PWRTLogin('1')
2.用户退出
#pragma code ("useadmin.dll")
#include "PWRT_api.h"
#pragma code()
PWRTLogout();
3.画面跳转
SetPictureName("Picture","PictureWindow","PictureWindowName")
Picture:画面名称(画面窗口所在的画面)
PictureWindow:调用的画面窗口名称
PictureWindowNam:在画面窗口中调用的跳转的画面的名称。
4.弹窗(也可以用画面窗口做更漂亮些)
int r;
r=MessageBox(NULL, "YES为开,NO为关", "确定开命令:", MB_YESNO |MB_S