- c# press a button from a window using user32 dll
- SendMessage(ptrChild, WM_LBUTTONDOWN, 0, IntPtr.Zero); //send left button mouse down
- SendMessage(ptrChild, WM_LBUTTONUP, 0, IntPtr.Zero); //send left button mouse up
- SendMessage(ptrChild, BM_SETSTATE,1 , IntPtr.Zero); //send change state