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
~902 People Reached
Favorite Forums
Member Avatar for AndrewP7

Hello, I have a Form and a Class which extends Panel and inside this class, I have declared a PictureBox. I need the MyPanel class to return the MouseEventHandler of the PictureBox, not the Panel. The PictureBox is the same size of the Panel and therefore I cannot click the …

Member Avatar for sknake
0
114
Member Avatar for AndrewP7

Hello, I am trying to convert an object to IntPtr so that I can pass it to the Win32 function GetWindowRect. I have used the code below, but my program just hangs [CODE] [DllImport("user32.dll")] [return: MarshalAs(UnmanagedType.Bool)] static extern bool GetWindowRect(IntPtr hWnd, ref RECT lpRect); [StructLayout(LayoutKind.Sequential)] public struct RECT { public …

Member Avatar for AndrewP7
0
788