visual c++ - How to change the top of the focus rect in C++ -
i using cbutton create checkbox:
cbutton foo; foo.create("this foo", ws_child | ws_visible | ws_tabstop | bs_autocheckbox | bs_multiline | bs_top , crect(0,0,0,0), this, foo_id);
and using drawtext function set multiline , size of rect checkbox.
pdc->drawtext("this foo", -1, rect, dt_left| dt_wordbreak | dt_noprefix | dt_calcrect ); csize csize = (rect.width(), rext.height()) foo.movewindow(left_space, -1, csize.cx + 5, csize.cy);
but focus rectangle of checkbox cropped @ top:
any idea how fix this?
Comments
Post a Comment