justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Yes, exactly that question. Could you be more specific on the "without" and "unless" (scary) aspect?
Asked by Hogan (37.157.249.x) on July 18 2012, 5:15am
Reply on July 18 2012, 12:45pm:
    If you have a mostly blank area in the window and you want to move a rectangle or other primitives around, it would likely be simplest to manually track the mouse events (WM_LBUTTONDOWN/WM_MOUSEMOVE/etc) and update internal state and InvalidateRect() the window. If the window has a lot of objects bound by rectangles, and you want to automate the hit testing and drawing of them, then you could use a WDL_VWnd, but it would require setting up a bunch of extra code to pass mouse events from the win32 windows to the vwnds, and paint, etc.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS