I use the DrawFrameControl
function to draw a checkbox:
DrawFrameControl(hdc, &r, DFC_BUTTON, DFCS_CHECKED);
and this is result:
But I do not need a 3d frame, I need a simple 1-pixel frame like this:
if I pass to DrawFrameControl
function a DFCS_FLAT flag, then I get a bold frame:
Is there a way to draw a checkbox with a 1-pixel border?
Aucun commentaire:
Enregistrer un commentaire