|
You last visited: Today at 02:05
Advertisement
League of Legends | iLoveRadio-Voter
Discussion on League of Legends | iLoveRadio-Voter within the General Coding forum part of the Coders Den category.
05/04/2014, 00:39
|
#1
|
elite*gold: 10
Join Date: Feb 2013
Posts: 963
Received Thanks: 74
|
League of Legends | iLoveRadio-Voter
Hallo,
liebe Community. Ist es möglich ein Programm zu programmieren, womit man sich über der Minimap die Votingliste von iLoveRadio anzeigen lassen kann und auch mit voten kann? Ich hab jetzt ehrlich gesagt keine Erfahrung mit Visual Basic und natürlich sollt ihr es nicht unbedingt selber programmieren, aber mir bei einer Art Grundgerüst helfen. Im Grunde soll halt ja nur das Voting-"Div" angezeigt werden.
Ich freue mich auf Hilfe,
MFG Miro
|
|
|
05/04/2014, 13:29
|
#2
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Mit VisualBasic wird das nichts, das kann ich dir gleich versprechen. C++ und die Grafik API des Games sollten reichen, um ein kleines Overlay zu basteln.
Wobei es keinen Sinn macht, hier näher darauf einzugehen wenn du von C++ bisher nichts gehört hast. Ist eben kein HTML wo man mal einen kleinen Container setzt und ihn mit CSS so anpasst, wie man ihn gerne hätte.
|
|
|
05/04/2014, 13:56
|
#3
|
elite*gold: 10
Join Date: Feb 2013
Posts: 963
Received Thanks: 74
|
Quote:
Originally Posted by Mostey
Mit VisualBasic wird das nichts, das kann ich dir gleich versprechen. C++ und die Grafik API des Games sollten reichen, um ein kleines Overlay zu basteln.
Wobei es keinen Sinn macht, hier näher darauf einzugehen wenn du von C++ bisher nichts gehört hast. Ist eben kein HTML wo man mal einen kleinen Container setzt und ihn mit CSS so anpasst, wie man ihn gerne hätte.
|
Wäre es möglich, das du mir irrgendwie hilfst, mein Dad kann C++ und der kann mir da auch helfen, nur ich würde am liebsten irrgendwie eine art Grundgerüst haben.
|
|
|
05/04/2014, 14:04
|
#4
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by Le Price'
Wäre es möglich, das du mir irrgendwie hilfst, mein Dad kann C++ und der kann mir da auch helfen, nur ich würde am liebsten irrgendwie eine art Grundgerüst haben.
|
Kauf' dir ein Buch und frag deinen Dad. Von nichts kommt auch nichts.
|
|
|
05/04/2014, 15:14
|
#5
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10,291
Received Thanks: 3,611
|
Mit VisualBasic oder C# kann das genau so was werden wie mit c/cpp, man muss ja nicht gleich EndScene oder sonst was Hooken. Ein Overlay sollte es auch tun.
Lg
|
|
|
05/04/2014, 15:24
|
#6
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by Shawak
man muss ja nicht gleich EndScene oder sonst was Hooken. Ein Overlay sollte es auch tun.
Lg
|
Und wie möchtest du das Overlay zeichnen? Hab noch nie ein gescheites Ingame Overlay in C# / VB gesehen, allgemein halte ich das auch für relativ unpassend.
WinForms mit TopMost... naja...
|
|
|
05/04/2014, 15:29
|
#7
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,773
Received Thanks: 866
|
Quote:
Originally Posted by Mostey
Und wie möchtest du das Overlay zeichnen? Hab noch nie ein gescheites Ingame Overlay in C# / VB gesehen, allgemein halte ich das auch für relativ unpassend.
WinForms mit TopMost... naja...
|
WinForms mit TopMost sollte dann im Borderless Modus für LoL ausreichen. Ich meine, es soll ja nix besonderes sein, sondern ist ja nur das Mittel zum Zweck.
Erst Recht weil man ja nicht mehr genau weiß wie jetzt LoL mit Hooks umgeht, nach der Sperre vor Kurzem von Riot.
|
|
|
05/06/2014, 09:05
|
#8
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10,291
Received Thanks: 3,611
|
Quote:
Originally Posted by Mostey
Und wie möchtest du das Overlay zeichnen? Hab noch nie ein gescheites Ingame Overlay in C# / VB gesehen, allgemein halte ich das auch für relativ unpassend.
WinForms mit TopMost... naja...
|
Nur weil du noch keins gesehen hast, heißt das nicht das es nicht vernünftig umsetzbar ist. Außerdem ist es sicherer als ein Hook welcher evtl. zu einem Ban führt, ich würde diese Methode hier sogar vorziehen.
|
|
|
05/06/2014, 20:43
|
#9
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by Shawak
Nur weil du noch keins gesehen hast, heißt das nicht das es nicht vernünftig umsetzbar ist. Außerdem ist es sicherer als ein Hook welcher evtl. zu einem Ban führt, ich würde diese Methode hier sogar vorziehen.
|
Natürlich ist das sicherer als ein Hook, da brauchen wir nicht diskutieren.
Ich habe eher Zweifel das es überhaupt geht. Bin da eben durch einen anderen Thread wieder darauf aufmerksam geworden und TopMost kann man bei DirectX Anwendungen ja schonmal ausschließen. Wie also sonst kann man hier die eigene Anwendung über das Ziel legen?
|
|
|
05/07/2014, 17:41
|
#10
|
elite*gold: 0
Join Date: Jul 2011
Posts: 1,773
Received Thanks: 866
|
Quote:
Originally Posted by Mostey
Natürlich ist das sicherer als ein Hook, da brauchen wir nicht diskutieren.
Ich habe eher Zweifel das es überhaupt geht. Bin da eben durch einen anderen Thread wieder darauf aufmerksam geworden und TopMost kann man bei DirectX Anwendungen ja schonmal ausschließen. Wie also sonst kann man hier die eigene Anwendung über das Ziel legen?
|
Wie ich schon geschrieben habe, indem man LoL im Borderless Modus startet.
|
|
|
05/07/2014, 21:13
|
#11
|
elite*gold: 93616
Join Date: Apr 2010
Posts: 13,737
Received Thanks: 14,990
|
Seit wann scannt LoL denn bitte nach DirectX Hooks ?
|
|
|
05/08/2014, 07:13
|
#12
|
elite*gold: 1091
Join Date: Jun 2007
Posts: 19,836
Received Thanks: 7,180
|
Quote:
Originally Posted by XYZ-Cannon
Wie ich schon geschrieben habe, indem man LoL im Borderless Modus startet.
|
Ich bezog mich eigentlich auf den Vollbildmodus. Ging aus meinem Post nicht wirklich klar heraus.
|
|
|
05/08/2014, 18:06
|
#13
|
elite*gold: 0
Join Date: Apr 2010
Posts: 10,291
Received Thanks: 3,611
|
Ich hab grad mal ein uraltes Projekt ausgepackt und geschaut wie ich das damals gelöst hatte, und zwar im Forum Konstruktor:
Code:
// Modify Form to make the background invisible
this.BackColor = Color.Fuchsia;
this.TransparencyKey = this.BackColor;
this.FormBorderStyle = FormBorderStyle.None;
// Change Form Style | Makes it non-clickable
int style = WinAPI.GetWindowLong(this.Handle, WinAPI.GWL_EXSTYLE);
style |= WinAPI.WS_EX_LAYERED | WinAPI.WS_EX_TRANSPARENT | WinAPI.WS_EX_TOOLWINDOW;
WinAPI.SetWindowLong(this.Handle, WinAPI.GWL_EXSTYLE, style);
Hier noch die WinApi Klasse:
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Drawing;
static class WinAPI
{
[DllImport("user32.dll", SetLastError = true)]
public static extern bool ClientToScreen(IntPtr hWnd, ref Point lpPoint);
[DllImport("user32.dll", SetLastError = true)]
public static extern uint MapVirtualKey(uint uCode, MapVirtualKeyMapTypes uMapType);
[DllImport("user32.dll", SetLastError = true)]
public static extern uint MapVirtualKeyEx(uint uCode, MapVirtualKeyMapTypes uMapType, IntPtr dwhkl);
[DllImport("user32.dll", SetLastError = true)]
public static extern IntPtr GetKeyboardLayout(uint idThread);
[DllImport("user32.dll", SetLastError = true)]
public static extern short VkKeyScan(char ch);
[DllImport("user32.dll", SetLastError = true)]
public static extern int GetSystemMetrics(SystemMetric nIndex);
[DllImport("user32.dll", SetLastError = true)]
public static extern uint SendInput(uint cInputs, ref INPUT pInputs, int cbSize);
[DllImport("user32.dll", SetLastError = true)]
public static extern bool UnhookWindowsHookEx(IntPtr hhk);
[DllImport("kernel32", SetLastError = true)]
public static extern IntPtr LoadLibrary(string lpFileName);
[DllImport("user32.dll", SetLastError = true)]
public static extern int GetWindowLong(IntPtr hWnd, int nIndex);
[DllImport("user32.dll", SetLastError = true)]
public static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);
[DllImport("user32.dll", SetLastError = true)]
public static extern IntPtr GetForegroundWindow();
[DllImport("user32.dll", SetLastError = true)]
public static extern bool GetClientRect(IntPtr hWnd, out RECT lpRect);
[DllImport("user32.dll")]
public static extern bool SetForegroundWindow(IntPtr hWnd);
[StructLayout(LayoutKind.Sequential)]
public struct RECT
{
public int left, top, right, bottom;
}
public const int GWL_EXSTYLE = -20;
public const int WS_EX_LAYERED = 0x80000;
public const int WS_EX_TOOLWINDOW = 0x80;
public const int WS_EX_TRANSPARENT = 0x20;
public const uint INPUT_MOUSE = 0;
public const int INPUT_KEYBOARD = 1;
public const int INPUT_HARDWARE = 2;
public const int KEYEVENTF_EXTENDEDKEY = 0x1;
public const int KEYEVENTF_KEYUP = 0x2;
public const uint KEYEVENTF_UNICODE = 0x4;
public const int KEYEVENTF_SCANCODE = 0x8;
public const uint XBUTTON1 = 0x1;
public const uint XBUTTON2 = 0x2;
public const uint MOUSEEVENTF_MOVE = 0x1;
public const uint MOUSEEVENTF_LEFTDOWN = 0x2;
public const uint MOUSEEVENTF_LEFTUP = 0x4;
public const uint MOUSEEVENTF_RIGHTDOWN = 0x8;
public const uint MOUSEEVENTF_RIGHTUP = 0x10;
public const uint MOUSEEVENTF_MIDDLEDOWN = 0x20;
public const uint MOUSEEVENTF_MIDDLEUP = 0x40;
public const uint MOUSEEVENTF_XDOWN = 0x80;
public const uint MOUSEEVENTF_XUP = 0x100;
public const uint MOUSEEVENTF_WHEEL = 0x800;
public const uint MOUSEEVENTF_VIRTUALDESK = 0x4000;
public const uint MOUSEEVENTF_ABSOLUTE = 0x8000;
public const int HC_ACTION = 0;
public const int WH_KEYBOARD_LL = 13;
public const uint WM_KEYDOWN = 0x100;
public const uint WM_KEYUP = 0x101;
public const uint WM_SYSKEYDOWN = 0x104;
public const uint WM_SYSKEYUP = 0x105;
public const uint WM_KEYLAST = 0x108;
public const int WH_MOUSE_LL = 14;
public const int WM_MOUSEMOVE = 0x200;
public const int WM_LBUTTONDOWN = 0x201;
public const int WM_LBUTTONUP = 0x202;
public const int WM_LBUTTONDBLCLK = 0x203;
public const int WM_RBUTTONDOWN = 0x204;
public const int WM_RBUTTONUP = 0x205;
public const int WM_RBUTTONDBLCLK = 0x206;
public const int WM_MBUTTONDOWN = 0x207;
public const int WM_MBUTTONUP = 0x208;
public const int WM_MBUTTONDBLCLK = 0x209;
public const int WM_MOUSEWHEEL = 0x20A;
}
/// <summary>The set of valid MapTypes used in MapVirtualKey
/// </summary>
/// <remarks></remarks>
public enum MapVirtualKeyMapTypes : uint
{
/// <summary>uCode is a virtual-key code and is translated into a scan code.
/// If it is a virtual-key code that does not distinguish between left- and
/// right-hand keys, the left-hand scan code is returned.
/// If there is no translation, the function returns 0.
/// </summary>
/// <remarks></remarks>
MAPVK_VK_TO_VSC = 0x00,
/// <summary>uCode is a scan code and is translated into a virtual-key code that
/// does not distinguish between left- and right-hand keys. If there is no
/// translation, the function returns 0.
/// </summary>
/// <remarks></remarks>
MAPVK_VSC_TO_VK = 0x01,
/// <summary>uCode is a virtual-key code and is translated into an unshifted
/// character value in the low-order word of the return value. Dead keys (diacritics)
/// are indicated by setting the top bit of the return value. If there is no
/// translation, the function returns 0.
/// </summary>
/// <remarks></remarks>
MAPVK_VK_TO_CHAR = 0x02,
/// <summary>Windows NT/2000/XP: uCode is a scan code and is translated into a
/// virtual-key code that distinguishes between left- and right-hand keys. If
/// there is no translation, the function returns 0.
/// </summary>
/// <remarks></remarks>
MAPVK_VSC_TO_VK_EX = 0x03,
/// <summary>Not currently documented
/// </summary>
/// <remarks></remarks>
MAPVK_VK_TO_VSC_EX = 0x04,
}
/// <summary>
/// Flags used with the Windows API (User32.dll):GetSystemMetrics(SystemMetric nIndex)
/// </summary>
public enum SystemMetric : int
{
/// <summary>
/// The flags that specify how the system arranged minimized windows. For more information, see the Remarks section in this topic.
/// </summary>
SM_ARRANGE = 56,
/// <summary>
/// The value that specifies how the system is started:
/// 0 Normal boot
/// 1 Fail-safe boot
/// 2 Fail-safe with network boot
/// A fail-safe boot (also called SafeBoot, Safe Mode, or Clean Boot) bypasses the user startup files.
/// </summary>
SM_CLEANBOOT = 67,
/// <summary>
/// The number of display monitors on a desktop. For more information, see the Remarks section in this topic.
/// </summary>
SM_CMONITORS = 80,
/// <summary>
/// The number of buttons on a mouse, or zero if no mouse is installed.
/// </summary>
SM_CMOUSEBUTTONS = 43,
/// <summary>
/// The width of a window border, in pixels. This is equivalent to the SM_CXEDGE value for windows with the 3-D look.
/// </summary>
SM_CXBORDER = 5,
/// <summary>
/// The width of a cursor, in pixels. The system cannot create cursors of other sizes.
/// </summary>
SM_CXCURSOR = 13,
/// <summary>
/// This value is the same as SM_CXFIXEDFRAME.
/// </summary>
SM_CXDLGFRAME = 7,
/// <summary>
/// The width of the rectangle around the location of a first click in a double-click sequence, in pixels. ,
/// The second click must occur within the rectangle that is defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system
/// to consider the two clicks a double-click. The two clicks must also occur within a specified time.
/// To set the width of the double-click rectangle, call SystemParametersInfo with SPI_SETDOUBLECLKWIDTH.
/// </summary>
SM_CXDOUBLECLK = 36,
/// <summary>
/// The number of pixels on either side of a mouse-down point that the mouse pointer can move before a drag operation begins.
/// This allows the user to click and release the mouse button easily without unintentionally starting a drag operation.
/// If this value is negative, it is subtracted from the left of the mouse-down point and added to the right of it.
/// </summary>
SM_CXDRAG = 68,
/// <summary>
/// The width of a 3-D border, in pixels. This metric is the 3-D counterpart of SM_CXBORDER.
/// </summary>
SM_CXEDGE = 45,
/// <summary>
/// The thickness of the frame around the perimeter of a window that has a caption but is not sizable, in pixels.
/// SM_CXFIXEDFRAME is the height of the horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border.
/// This value is the same as SM_CXDLGFRAME.
/// </summary>
SM_CXFIXEDFRAME = 7,
/// <summary>
/// The width of the left and right edges of the focus rectangle that the DrawFocusRectdraws.
/// This value is in pixels.
/// Windows 2000: This value is not supported.
/// </summary>
SM_CXFOCUSBORDER = 83,
/// <summary>
/// This value is the same as SM_CXSIZEFRAME.
/// </summary>
SM_CXFRAME = 32,
/// <summary>
/// The width of the client area for a full-screen window on the primary display monitor, in pixels.
/// To get the coordinates of the portion of the screen that is not obscured by the system taskbar or by application desktop toolbars,
/// call the SystemParametersInfofunction with the SPI_GETWORKAREA value.
/// </summary>
SM_CXFULLSCREEN = 16,
/// <summary>
/// The width of the arrow bitmap on a horizontal scroll bar, in pixels.
/// </summary>
SM_CXHSCROLL = 21,
/// <summary>
/// The width of the thumb box in a horizontal scroll bar, in pixels.
/// </summary>
SM_CXHTHUMB = 10,
/// <summary>
/// The default width of an icon, in pixels. The LoadIcon function can load only icons with the dimensions
/// that SM_CXICON and SM_CYICON specifies.
/// </summary>
SM_CXICON = 11,
/// <summary>
/// The width of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of size
/// SM_CXICONSPACING by SM_CYICONSPACING when arranged. This value is always greater than or equal to SM_CXICON.
/// </summary>
SM_CXICONSPACING = 38,
/// <summary>
/// The default width, in pixels, of a maximized top-level window on the primary display monitor.
/// </summary>
SM_CXMAXIMIZED = 61,
/// <summary>
/// The default maximum width of a window that has a caption and sizing borders, in pixels.
/// This metric refers to the entire desktop. The user cannot drag the window frame to a size larger than these dimensions.
/// A window can override this value by processing the WM_GETMINMAXINFO message.
/// </summary>
SM_CXMAXTRACK = 59,
/// <summary>
/// The width of the default menu check-mark bitmap, in pixels.
/// </summary>
SM_CXMENUCHECK = 71,
/// <summary>
/// The width of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.
/// </summary>
SM_CXMENUSIZE = 54,
/// <summary>
/// The minimum width of a window, in pixels.
/// </summary>
SM_CXMIN = 28,
/// <summary>
/// The width of a minimized window, in pixels.
/// </summary>
SM_CXMINIMIZED = 57,
/// <summary>
/// The width of a grid cell for a minimized window, in pixels. Each minimized window fits into a rectangle this size when arranged.
/// This value is always greater than or equal to SM_CXMINIMIZED.
/// </summary>
SM_CXMINSPACING = 47,
/// <summary>
/// The minimum tracking width of a window, in pixels. The user cannot drag the window frame to a size smaller than these dimensions.
/// A window can override this value by processing the WM_GETMINMAXINFO message.
/// </summary>
SM_CXMINTRACK = 34,
/// <summary>
/// The amount of border padding for captioned windows, in pixels. Windows XP/2000: This value is not supported.
/// </summary>
SM_CXPADDEDBORDER = 92,
/// <summary>
/// The width of the screen of the primary display monitor, in pixels. This is the same value obtained by calling
/// GetDeviceCaps as follows: GetDeviceCaps( hdcPrimaryMonitor, HORZRES).
/// </summary>
SM_CXSCREEN = 0,
/// <summary>
/// The width of a button in a window caption or title bar, in pixels.
/// </summary>
SM_CXSIZE = 30,
/// <summary>
/// The thickness of the sizing border around the perimeter of a window that can be resized, in pixels.
/// SM_CXSIZEFRAME is the width of the horizontal border, and SM_CYSIZEFRAME is the height of the vertical border.
/// This value is the same as SM_CXFRAME.
/// </summary>
SM_CXSIZEFRAME = 32,
/// <summary>
/// The recommended width of a small icon, in pixels. Small icons typically appear in window captions and in small icon view.
/// </summary>
SM_CXSMICON = 49,
/// <summary>
/// The width of small caption buttons, in pixels.
/// </summary>
SM_CXSMSIZE = 52,
/// <summary>
/// The width of the virtual screen, in pixels. The virtual screen is the bounding rectangle of all display monitors.
/// The SM_XVIRTUALSCREEN metric is the coordinates for the left side of the virtual screen.
/// </summary>
SM_CXVIRTUALSCREEN = 78,
/// <summary>
/// The width of a vertical scroll bar, in pixels.
/// </summary>
SM_CXVSCROLL = 2,
/// <summary>
/// The height of a window border, in pixels. This is equivalent to the SM_CYEDGE value for windows with the 3-D look.
/// </summary>
SM_CYBORDER = 6,
/// <summary>
/// The height of a caption area, in pixels.
/// </summary>
SM_CYCAPTION = 4,
/// <summary>
/// The height of a cursor, in pixels. The system cannot create cursors of other sizes.
/// </summary>
SM_CYCURSOR = 14,
/// <summary>
/// This value is the same as SM_CYFIXEDFRAME.
/// </summary>
SM_CYDLGFRAME = 8,
/// <summary>
/// The height of the rectangle around the location of a first click in a double-click sequence, in pixels.
/// The second click must occur within the rectangle defined by SM_CXDOUBLECLK and SM_CYDOUBLECLK for the system to consider
/// the two clicks a double-click. The two clicks must also occur within a specified time. To set the height of the double-click
/// rectangle, call SystemParametersInfo with SPI_SETDOUBLECLKHEIGHT.
/// </summary>
SM_CYDOUBLECLK = 37,
/// <summary>
/// The number of pixels above and below a mouse-down point that the mouse pointer can move before a drag operation begins.
/// This allows the user to click and release the mouse button easily without unintentionally starting a drag operation.
/// If this value is negative, it is subtracted from above the mouse-down point and added below it.
/// </summary>
SM_CYDRAG = 69,
/// <summary>
/// The height of a 3-D border, in pixels. This is the 3-D counterpart of SM_CYBORDER.
/// </summary>
SM_CYEDGE = 46,
/// <summary>
/// The thickness of the frame around the perimeter of a window that has a caption but is not sizable, in pixels.
/// SM_CXFIXEDFRAME is the height of the horizontal border, and SM_CYFIXEDFRAME is the width of the vertical border.
/// This value is the same as SM_CYDLGFRAME.
/// </summary>
SM_CYFIXEDFRAME = 8,
/// <summary>
/// The height of the top and bottom edges of the focus rectangle drawn byDrawFocusRect.
/// This value is in pixels.
/// Windows 2000: This value is not supported.
/// </summary>
SM_CYFOCUSBORDER = 84,
/// <summary>
/// This value is the same as SM_CYSIZEFRAME.
/// </summary>
SM_CYFRAME = 33,
/// <summary>
/// The height of the client area for a full-screen window on the primary display monitor, in pixels.
/// To get the coordinates of the portion of the screen not obscured by the system taskbar or by application desktop toolbars,
/// call the SystemParametersInfo function with the SPI_GETWORKAREA value.
/// </summary>
SM_CYFULLSCREEN = 17,
/// <summary>
/// The height of a horizontal scroll bar, in pixels.
/// </summary>
SM_CYHSCROLL = 3,
/// <summary>
/// The default height of an icon, in pixels. The LoadIcon function can load only icons with the dimensions SM_CXICON and SM_CYICON.
/// </summary>
SM_CYICON = 12,
/// <summary>
/// The height of a grid cell for items in large icon view, in pixels. Each item fits into a rectangle of size
/// SM_CXICONSPACING by SM_CYICONSPACING when arranged. This value is always greater than or equal to SM_CYICON.
/// </summary>
SM_CYICONSPACING = 39,
/// <summary>
/// For double byte character set versions of the system, this is the height of the Kanji window at the bottom of the screen, in pixels.
/// </summary>
SM_CYKANJIWINDOW = 18,
/// <summary>
/// The default height, in pixels, of a maximized top-level window on the primary display monitor.
/// </summary>
SM_CYMAXIMIZED = 62,
/// <summary>
/// The default maximum height of a window that has a caption and sizing borders, in pixels. This metric refers to the entire desktop.
/// The user cannot drag the window frame to a size larger than these dimensions. A window can override this value by processing
/// the WM_GETMINMAXINFO message.
/// </summary>
SM_CYMAXTRACK = 60,
/// <summary>
/// The height of a single-line menu bar, in pixels.
/// </summary>
SM_CYMENU = 15,
/// <summary>
/// The height of the default menu check-mark bitmap, in pixels.
/// </summary>
SM_CYMENUCHECK = 72,
/// <summary>
/// The height of menu bar buttons, such as the child window close button that is used in the multiple document interface, in pixels.
/// </summary>
SM_CYMENUSIZE = 55,
/// <summary>
/// The minimum height of a window, in pixels.
/// </summary>
SM_CYMIN = 29,
/// <summary>
/// The height of a minimized window, in pixels.
/// </summary>
SM_CYMINIMIZED = 58,
/// <summary>
/// The height of a grid cell for a minimized window, in pixels. Each minimized window fits into a rectangle this size when arranged.
/// This value is always greater than or equal to SM_CYMINIMIZED.
/// </summary>
SM_CYMINSPACING = 48,
/// <summary>
/// The minimum tracking height of a window, in pixels. The user cannot drag the window frame to a size smaller than these dimensions.
/// A window can override this value by processing the WM_GETMINMAXINFO message.
/// </summary>
SM_CYMINTRACK = 35,
/// <summary>
/// The height of the screen of the primary display monitor, in pixels. This is the same value obtained by calling
/// GetDeviceCaps as follows: GetDeviceCaps( hdcPrimaryMonitor, VERTRES).
/// </summary>
SM_CYSCREEN = 1,
/// <summary>
/// The height of a button in a window caption or title bar, in pixels.
/// </summary>
SM_CYSIZE = 31,
/// <summary>
/// The thickness of the sizing border around the perimeter of a window that can be resized, in pixels.
/// SM_CXSIZEFRAME is the width of the horizontal border, and SM_CYSIZEFRAME is the height of the vertical border.
/// This value is the same as SM_CYFRAME.
/// </summary>
SM_CYSIZEFRAME = 33,
/// <summary>
/// The height of a small caption, in pixels.
/// </summary>
SM_CYSMCAPTION = 51,
/// <summary>
/// The recommended height of a small icon, in pixels. Small icons typically appear in window captions and in small icon view.
/// </summary>
SM_CYSMICON = 50,
/// <summary>
/// The height of small caption buttons, in pixels.
/// </summary>
SM_CYSMSIZE = 53,
/// <summary>
/// The height of the virtual screen, in pixels. The virtual screen is the bounding rectangle of all display monitors.
/// The SM_YVIRTUALSCREEN metric is the coordinates for the top of the virtual screen.
/// </summary>
SM_CYVIRTUALSCREEN = 79,
/// <summary>
/// The height of the arrow bitmap on a vertical scroll bar, in pixels.
/// </summary>
SM_CYVSCROLL = 20,
/// <summary>
/// The height of the thumb box in a vertical scroll bar, in pixels.
/// </summary>
SM_CYVTHUMB = 9,
/// <summary>
/// Nonzero if User32.dll supports DBCS; otherwise, 0.
/// </summary>
SM_DBCSENABLED = 42,
/// <summary>
/// Nonzero if the debug version of User.exe is installed; otherwise, 0.
/// </summary>
SM_DEBUG = 22,
/// <summary>
/// Nonzero if the current operating system is Windows 7 or Windows Server 2008 R2 and the Tablet PC Input
/// service is started; otherwise, 0. The return value is a bitmask that specifies the type of digitizer input supported by the device.
/// For more information, see Remarks.
/// Windows Server 2008, Windows Vista, and Windows XP/2000: This value is not supported.
/// </summary>
SM_DIGITIZER = 94,
/// <summary>
/// Nonzero if Input Method Manager/Input Method Editor features are enabled; otherwise, 0.
/// SM_IMMENABLED indicates whether the system is ready to use a Unicode-based IME on a Unicode application.
/// To ensure that a language-dependent IME works, check SM_DBCSENABLED and the system ANSI code page.
/// Otherwise the ANSI-to-Unicode conversion may not be performed correctly, or some components like fonts
/// or registry settings may not be present.
/// </summary>
SM_IMMENABLED = 82,
/// <summary>
/// Nonzero if there are digitizers in the system; otherwise, 0. SM_MAXIMUMTOUCHES returns the aggregate maximum of the
/// maximum number of contacts supported by every digitizer in the system. If the system has only single-touch digitizers,
/// the return value is 1. If the system has multi-touch digitizers, the return value is the number of simultaneous contacts
/// the hardware can provide. Windows Server 2008, Windows Vista, and Windows XP/2000: This value is not supported.
/// </summary>
SM_MAXIMUMTOUCHES = 95,
/// <summary>
/// Nonzero if the current operating system is the Windows XP, Media Center Edition, 0 if not.
/// </summary>
SM_MEDIACENTER = 87,
/// <summary>
/// Nonzero if drop-down menus are right-aligned with the corresponding menu-bar item; 0 if the menus are left-aligned.
/// </summary>
SM_MENUDROPALIGNMENT = 40,
/// <summary>
/// Nonzero if the system is enabled for Hebrew and Arabic languages, 0 if not.
/// </summary>
SM_MIDEASTENABLED = 74,
/// <summary>
/// Nonzero if a mouse is installed; otherwise, 0. This value is rarely zero, because of support for virtual mice and because
/// some systems detect the presence of the port instead of the presence of a mouse.
/// </summary>
SM_MOUSEPRESENT = 19,
/// <summary>
/// Nonzero if a mouse with a horizontal scroll wheel is installed; otherwise 0.
/// </summary>
SM_MOUSEHORIZONTALWHEELPRESENT = 91,
/// <summary>
/// Nonzero if a mouse with a vertical scroll wheel is installed; otherwise 0.
/// </summary>
SM_MOUSEWHEELPRESENT = 75,
/// <summary>
/// The least significant bit is set if a network is present; otherwise, it is cleared. The other bits are reserved for future use.
/// </summary>
SM_NETWORK = 63,
/// <summary>
/// Nonzero if the Microsoft Windows for Pen computing extensions are installed; zero otherwise.
/// </summary>
SM_PENWINDOWS = 41,
/// <summary>
/// This system metric is used in a Terminal Services environment to determine if the current Terminal Server session is
/// being remotely controlled. Its value is nonzero if the current session is remotely controlled; otherwise, 0.
/// You can use terminal services management tools such as Terminal Services Manager (tsadmin.msc) and shadow.exe to
/// control a remote session. When a session is being remotely controlled, another user can view the contents of that session
/// and potentially interact with it.
/// </summary>
SM_REMOTECONTROL = 0x2001,
/// <summary>
/// This system metric is used in a Terminal Services environment. If the calling process is associated with a Terminal Services
/// client session, the return value is nonzero. If the calling process is associated with the Terminal Services console session,
/// the return value is 0.
/// Windows Server 2003 and Windows XP: The console session is not necessarily the physical console.
/// For more information, seeWTSGetActiveConsoleSessionId.
/// </summary>
SM_REMOTESESSION = 0x1000,
/// <summary>
/// Nonzero if all the display monitors have the same color format, otherwise, 0. Two displays can have the same bit depth,
/// but different color formats. For example, the red, green, and blue pixels can be encoded with different numbers of bits,
/// or those bits can be located in different places in a pixel color value.
/// </summary>
SM_SAMEDISPLAYFORMAT = 81,
/// <summary>
/// This system metric should be ignored; it always returns 0.
/// </summary>
SM_SECURE = 44,
/// <summary>
/// The build number if the system is Windows Server 2003 R2; otherwise, 0.
/// </summary>
SM_SERVERR2 = 89,
/// <summary>
/// Nonzero if the user requires an application to present information visually in situations where it would otherwise present
/// the information only in audible form; otherwise, 0.
/// </summary>
SM_SHOWSOUNDS = 70,
/// <summary>
/// Nonzero if the current session is shutting down; otherwise, 0. Windows 2000: This value is not supported.
/// </summary>
SM_SHUTTINGDOWN = 0x2000,
/// <summary>
/// Nonzero if the computer has a low-end (slow) processor; otherwise, 0.
/// </summary>
SM_SLOWMACHINE = 73,
/// <summary>
/// Nonzero if the current operating system is Windows 7 Starter Edition, Windows Vista Starter, or Windows XP Starter Edition; otherwise, 0.
/// </summary>
SM_STARTER = 88,
/// <summary>
/// Nonzero if the meanings of the left and right mouse buttons are swapped; otherwise, 0.
/// </summary>
SM_SWAPBUTTON = 23,
/// <summary>
/// Nonzero if the current operating system is the Windows XP Tablet PC edition or if the current operating system is Windows Vista
/// or Windows 7 and the Tablet PC Input service is started; otherwise, 0. The SM_DIGITIZER setting indicates the type of digitizer
/// input supported by a device running Windows 7 or Windows Server 2008 R2. For more information, see Remarks.
/// </summary>
SM_TABLETPC = 86,
/// <summary>
/// The coordinates for the left side of the virtual screen. The virtual screen is the bounding rectangle of all display monitors.
/// The SM_CXVIRTUALSCREEN metric is the width of the virtual screen.
/// </summary>
SM_XVIRTUALSCREEN = 76,
/// <summary>
/// The coordinates for the top of the virtual screen. The virtual screen is the bounding rectangle of all display monitors.
/// The SM_CYVIRTUALSCREEN metric is the height of the virtual screen.
/// </summary>
SM_YVIRTUALSCREEN = 77,
}
public struct INPUT
{
public uint dwType;
public MOUSEKEYBDHARDWAREINPUT mkhi;
}
public struct KEYBDINPUT
{
public short wVk;
public short wScan;
public int dwFlags;
public int time;
public IntPtr dwExtraInfo;
}
public struct HARDWAREINPUT
{
public int uMsg;
public short wParamL;
public short wParamH;
}
[StructLayout(LayoutKind.Explicit)]
public struct MOUSEKEYBDHARDWAREINPUT
{
[FieldOffset(0)]
public MOUSEINPUT mi;
[FieldOffset(0)]
public KEYBDINPUT ki;
[FieldOffset(0)]
public HARDWAREINPUT hi;
}
public struct MOUSEINPUT
{
public int dx;
public int dy;
public int mouseData;
public uint dwFlags;
public int time;
public IntPtr dwExtraInfo;
}
Dann einfach einen Keyboard Hook installieren und voilà, ein nicht-klickbares Overlay.
|
|
|
Similar Threads
|
Suche Voter [Playlc.com] Biete 100kk gold destiny pro voter
03/17/2012 - Last Chaos Trading - 1 Replies
ich suche leute die für mich auf playlc.com voten..
das müsst ihr machen :
einen account erstellen ... dann voten (unten rechts auf den banner) dann sicherheitscode eingeben und nachdem ihr beide fertig habt mir die acc daten senden ich prüfe dann ob da cash druff ist (ihr könnte mit der selben ip alle 12 h voten) und geb euch danach das gold...
voten dauert 2 min^^
ps. daten per pn ... =)
|
All times are GMT +2. The time now is 02:05.
|
|