Guys --
a form has three buttons with id 115-117. Control Add are located in the same order (115..117).
Focus has id #115. If to use ordinary buttons, Enter generates WM_COMMAND with CbCtl = 115.
But if to add %BS_OWNERDRAW style, CbCtl = 117.
Something strange (I think in IsDialogMessage). How to bypass this behaviour by more or less "normal" way (w/o changes in message loop, subclassing ...) ?
------------------
E-MAIL: [email protected]
a form has three buttons with id 115-117. Control Add are located in the same order (115..117).
Focus has id #115. If to use ordinary buttons, Enter generates WM_COMMAND with CbCtl = 115.
But if to add %BS_OWNERDRAW style, CbCtl = 117.
Something strange (I think in IsDialogMessage). How to bypass this behaviour by more or less "normal" way (w/o changes in message loop, subclassing ...) ?
------------------
E-MAIL: [email protected]
Comment