How can i use Createpen ?
-
CPen myPen; LOGBRUSH logBrush; logBrush.lbStyle = BS_SOLID; logBrush.lbColor = RGB(128,128,128); myPen.CreatePen(PS_DOT|PS_GEOMETRIC|PS_ENDCAP_ROUND,20,&logBrush); Why EVC always tell me 'PS_DOT' : undeclared identifier 'PS_GEOMETRIC' : undeclared identifier 'PS_ENDCAP_ROUND' : undeclared identifier Can anyone help me thx ^^:eek:
-
CPen myPen; LOGBRUSH logBrush; logBrush.lbStyle = BS_SOLID; logBrush.lbColor = RGB(128,128,128); myPen.CreatePen(PS_DOT|PS_GEOMETRIC|PS_ENDCAP_ROUND,20,&logBrush); Why EVC always tell me 'PS_DOT' : undeclared identifier 'PS_GEOMETRIC' : undeclared identifier 'PS_ENDCAP_ROUND' : undeclared identifier Can anyone help me thx ^^:eek:
Windows CE supports only
PS_SOLID
,PS_DASH
andPS_NULL
style flags! Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;) -
Windows CE supports only
PS_SOLID
,PS_DASH
andPS_NULL
style flags! Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)How can i Create a " PS_ENDCAP_ROUND" style Pen, can u tell me ? thx a lot ^^
-
Windows CE supports only
PS_SOLID
,PS_DASH
andPS_NULL
style flags! Cheers, Daniel. -- FIND A JOB YOU LOVE, AND YOU'LL NEVER HAVE TO WORK A DAY OF YOUR LIFE. ;)... a bewildering number of choices... X| It's easy to simulate
PS_DOT
for vertical or horizontal lines, but for slanted lines, we are talking about something else... Regards, João Paulo -
How can i Create a " PS_ENDCAP_ROUND" style Pen, can u tell me ? thx a lot ^^
You will have to write code for that... X| Regards, João Paulo
-
... a bewildering number of choices... X| It's easy to simulate
PS_DOT
for vertical or horizontal lines, but for slanted lines, we are talking about something else... Regards, João PauloIn EVC Draw a Line Always Flat Cap but i want draw a line that is round Cap, how can i do ? can u tell me about this ? thx a lot ^^ ps. my english not very good i hope u can know what i say :rolleyes:
-
In EVC Draw a Line Always Flat Cap but i want draw a line that is round Cap, how can i do ? can u tell me about this ? thx a lot ^^ ps. my english not very good i hope u can know what i say :rolleyes:
There is no way to do it unless you do it by yourself (implementing a line drawing algorithm)... Regards, João Paulo
-
There is no way to do it unless you do it by yourself (implementing a line drawing algorithm)... Regards, João Paulo
Although,There is no way to do this,I still thx for ur answer ><"