Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Member Avatar for mxadam

I have a text file which will look like this :Hand 1: :Hand 2: :Hand 4: :Hand 3: :Hand 3::Hand 1: :Hand 2: :Hand 1: :Hand 4: :Hand 4: :Hand 3: :Hand 3: :Hand 3::Hand 4: So now what I want to know is how do I get the maximum …

Member Avatar for Mitja Bonca
0
194
Member Avatar for mxadam

Anyone know why this wouldnt work all color values are correct [code] Bitmap screenPixel = new Bitmap(1, 1, PixelFormat.Format32bppArgb); public Color GetColorAt(Point location) { using (Graphics gdest = Graphics.FromImage(screenPixel)) { using (Graphics gsrc = Graphics.FromHwnd(IntPtr.Zero)) { IntPtr hSrcDC = gsrc.GetHdc(); IntPtr hDC = gdest.GetHdc(); int retval = BitBlt(hDC, 0, 0, …

Member Avatar for nick.crane
0
200
Member Avatar for mxadam

Hi All, I get this error operator == cannot be applied to operands of type 'System.IntPtr' and 'int' firstly I had this code [code] private void SNGPH_KeyUp(object sender, KeyEventArgs e) { if (e.KeyCode != Keys.ControlKey) return; POINT curpos = new POINT(); User32.GetCursorPos(ref curpos); IntPtr handle = User32.WindowFromPoint(curpos); handle = User32.GetAncestor(handle, …

Member Avatar for Lusiphur
0
684