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: The idea was to hook into main wnd procedure and catch WM_SETTEXT messages :) Shouldn't that be more reliable from a timer? (I personally hate timers...no matter how cheap, they still run all the time unlike callback system)
Asked by Martin (93.138.124.x) on April 23 2015, 7:57am
Reply on April 23 2015, 12:48pm (edited at April 23 2015, 12:50pm):
    Sure, you could try that too, but personally I'd use a carefully crafted timer.

    "they still run all the time unlike callback system" -- a timer might run every 100ms or so, but if you install a hook you're adding some code for every single message that the window processes, even messages that have nothing to do with WM_SETTEXT (though just another function call, typically, but still).

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

    Comment:    

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