摘要: <HTML><HEAD><TITLE>弹出窗口</TITLE><SCRIPT LANGUAGE="JScript">//建立一个弹出窗口var oPopup = window.createPopup();//得到这个弹出窗口的bodyvar oPopupBody = oPopup.document.body;//开始显示的坐标(默认是最右下脚)flyMove.expand = 0;flyMove.flyY = 0;flyMove.flyX = 0;//渐进显示的定时器var g_idFlyPopup = -1;// 阅读全文
posted @ 2004-09-25 16:58 greystar 阅读(597) 评论(0) 推荐(0) 编辑
摘要: [DllImport("KERNEL32.DLL", SetLastError=true, CharSet=CharSet.Unicode, ExactSpelling=true, CallingConvention=CallingConvention.StdCall)] private static extern int WideCharToMultiByte( uint CodePage, uint dwFlags, string lpWideCharStr, int cchWideChar, string lpMultiByteStr, int cchMultiByt 阅读全文
posted @ 2004-09-25 12:34 greystar 阅读(682) 评论(0) 推荐(0) 编辑
摘要: [DllImport("USER32.DLL",CallingConvention=CallingConvention.StdCall)] private static extern int GetCursorPos (ref Point lpPoint); [DllImport("USER32.DLL",CallingConvention=CallingConvention.StdCall)] private static extern int GetKeyboardState(ref byte lpKeyState); private Point p 阅读全文
posted @ 2004-09-25 12:32 greystar 阅读(148) 评论(0) 推荐(0) 编辑