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

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to manage with efficacy the mouse input... TempodiBasic 9 780 11-22-2025, 05:14 PM
Last Post: TempodiBasic
  generate multiple size fixed-width fonts on the fly (no editor needed) madscijr 13 1,604 07-21-2025, 03:37 PM
Last Post: madscijr
  ImageGrid (combine multiple image files into one giant poster) madscijr 2 750 12-17-2024, 03:59 AM
Last Post: madscijr
  real 2-4 player Pong (requires 2-4 USB mice plugged into your PC) madscijr 1 755 06-26-2024, 01:09 PM
Last Post: madscijr
  seperate input from multiple mice v0.54 graphic demo madscijr 1 710 06-21-2024, 01:12 PM
Last Post: madscijr

Forum Jump:


Users browsing this thread: 1 Guest(s)