Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IT'S ALIVE! reading seperate input from multiple mice plugged into one PC v0.30
#2
BTW these two lines are key to setting up the Raw Input API window to line up with and match the size of the main program's window, and may even allow us to eliminate the 2nd program altogether, if we can get the hwnd window handle of our QB64PE main program and get the Raw Input to read its input from that:

Code: (Select All)
 
 
   hwndMain = CreateWindowEx( _
        0, _
        MAKELPARAM(reg, 0), _
        Offset(szWinTitle), _
        WS_OVERLAPPEDWINDOW, _
        0, _
        0, _
        1024, _
        768, _
        0, _
        0, _
        hInst, _
        0)
 
If SetWindowPos(hwndMain, HWND_TOPMOST, 200, 200, 0, 0, SWP_NOSIZE Or SWP_NOACTIVATE) = 0 Then
 
Reply


Messages In This Thread
RE: IT'S ALIVE! reading seperate input from multiple mice plugged into one PC v0.30 - by madscijr - 05-26-2024, 04:14 PM



Users browsing this thread: 2 Guest(s)