Home > Software engineering >  VC can let Framerect draw the rectangle coarsen?
VC can let Framerect draw the rectangle coarsen?

Time:10-11

Do the MFC to make the border around the rectangle thick line is there any way can?

CodePudding user response:

The window border? A different style and attributes,

CodePudding user response:

reference 1st floor syy64 response:
window border? A different style and attributes, and
create a rectangle in the window

CodePudding user response:

You can define brush line width,

CodePudding user response:

The
reference 3 floor syy64 response:
can define brush line width,

with brushAfter changing the brush with the
Always convert the parameter from 2 'class CPen *' to 'class CBrush *'

CodePudding user response:

CBrush brush (color [n]. BKC);
The MDC. FrameRect (& amp; Rt, & amp; Brush);

CodePudding user response:

MDC selectpen, border is a brush painting, fill color is a brush, remember it should be

CodePudding user response:

http://blog.sina.com.cn/s/blog_73428e9a0102ux6k.html
Turn more wide, mainly MultiByteToWideChar
As to the character that you debug source see variable values change line rather than directly to the answer

CodePudding user response:

Send the wrong place, embarrassed

CodePudding user response:

CPen (PS_SOLID, 3, RGB (... ));
Dc. SelectObject (... );

.
Dc. SelectObject ()//Select Old Pen
  • Related