c++ - how to put a derived control ("MyCEdit") onto a dialog or property page? -


this should obvious, can't find anywhere spells out.

i want derive mycedit cedit can override onchar handler , useful things keyboard input edit box. each edit box have fills client area on mycpropertypage (derived cpropertypage), , several such pages make tab control used display diagnostics. leave edit boxes enabled , not read (for aesthetics, not function).

in resource editor (or elsewhere) how tell visual studio want edit box mycedit rather cedit? can hope override onchar in mycedit intercept characters... or have override onkeydown - have read suggestion effect, found no ms source article spelling out why.

so far, thing can override mcpropertypage::onchar... seems bypassed, , characters go straight edit box child.

hi if understand need can add simple edit page, add control variable , write mycedit in class name field. , dont forget set parent notify option in resource editor on mcpropertypage.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -