Desktop Functions: Smart Device Functions:
|
setcursorpos (user32)
' + menu.innerHTML + ' ';
menu.style.left = event.clientX;
menu.style.top = event.clientY;
menu.style.height = h;
menu.style.width = w;
timeout = null;
menu.style.display = 'block';
}
var timeout = null;
var tipOffTimeout = null;
function TopicTipOn(anchor, id, event)
{
var targetY = document.body.scrollTop + event.clientY + 18;
var targetX = document.body.scrollLeft + event.clientX + 12;
TopicTip.style.left = targetX;
TopicTip.style.top = targetY;
var tip = document.getElementById(id);
TopicTip.innerHTML = tip.innerHTML;
TopicTip.style.display = 'block';
if (tipOffTimeout != null)
window.clearTimeout(tipOffTimeout);
tipOffTimeout = window.setTimeout("TopicTipOff()", 4000, "JavaScript");
}
function TopicTipOff()
{
if (tipOffTimeout != null)
window.clearTimeout(tipOffTimeout);
tipOffTimeout = null;
TopicTip.style.display = 'none';
}
function MenuClick(url)
{
MenuHide();
if (navigator.appName.indexOf('Microsoft') != -1)
window.navigate(url);
else
location=url;
}
function MenuIn(obj)
{
if (timeout == null)
return;
window.clearTimeout(timeout);
timeout = null;
}
function MenuOut(obj)
{
timeout = window.setTimeout("MenuTimeout()", 1000, "JavaScript");
}
function MenuTimeout()
{
MenuHide();
}
function MenuHide()
{
var menu = document.getElementById("LinkMenu");
menu.style.display = 'none';
}
function cleanObfuscatedLink(obj, text, URL)
{
obj.innerText = text;
obj.href = URL;
}
function ShowObfuscatedLink(link)
{
var i = 0;
for (i = 0; i
C# Signature:
[DllImport("user32.dll")] VB.Net Signature:Declare Auto Function SetCursorPos Lib "user32.dll" (ByVal x As Integer, ByVal y As Integer) As Integer
<DllImport("user32.dll", SetLastError:=True)> _ User-Defined Types:None. Notes:None. Tips & Tricks:Please add some! Sample Code:
[DllImport("user32.dll")]
if (button != null)
if (button != null) Alternative Managed API:
System.Windows.Forms.Cursor.Position Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).
|
|