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: what is the best way to do client area drag? ( WM_NCHITTEST or SetCapture() ) why?
Asked by ruchira (202.129.234.x) on October 26 2009, 6:15am
Reply on October 26 2009, 1:34pm:
    I hesitate to call one way "better" than another... I'd do the SetCapture()/SetWindowPos() on WM_MOUSEMOVE, because then you can handle normal clicks, right clicks, etc etc as normal, and switch to moving-window depending on your logic..

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

    Comment:    

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