
Originally Posted by
luojunkai123
@
Code[VB]
so is this one right?
Code:
Public color1 As New Drawing.Pen(Color.FromArgb(255, 255, 0), 1)
Public color2 As New Drawing.Pen(Color.FromArgb(255, 255, 0), 1)
Public ClassName As String = "LaunchUnrealUWindowsClient"
Public WindowName As String = "AVA"
Public WindowText As String = "Alliance of Valiant Arms"
and one more question where do i put Handle: $0032082C at?
first you have to declair

findwindow and invalidaterect
Code:
Private Declare Function InvalidateRect Lib "user32" (ByVal hwnd As IntPtr, ByVal lpRect As IntPtr, ByVal bErase As Boolean) As Boolean
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Integer
then you can use it like this (in a timer), this is my example i made it some time ago for Point Blank :
Code:
Dim C1 As Graphics = Graphics.FromHwnd(New IntPtr(FindWindow("I3VIEWER", "Point Blank")))
Dim fnt As New Font("Verdana", 10)
C1.DrawString("MPGH Point Blank Public Hack 05/28/11, Proudly brought to you by MPGH.NET", fnt, New SolidBrush(Color.White), 10, 10)
you don´t ned handle xD thats always different and not important

so if you like to make it for alliance of valiant arms you take it like this:
Code:
Dim C1 As Graphics = Graphics.FromHwnd(New IntPtr(FindWindow("LaunchUnrealUWindowsClient", "Alliance of Valiant Arms")))
soo.. hope i can help you with this

@
luojunkai123