winapi - How to handle focus like toolbar buttons -
i want create control in winapi works toolbar buttons do: can click button cannot focused; focus stays on control had it. how go it?
this not complete answer because i've abandoned task eventually, found in fact, controls have setfocus(self)
manually , in wm_lmousedown
handlers.
so handle clicks toolbar buttons do, it's enough not that.
problem is, standard controls , common frameworks automatically deep in internals. frameworks such mfc or vcl might possible hack off somehow, standard wm_lmousedown
handler button control seems setfocus, , can't skipped because click processing.
Comments
Post a Comment