Knowledge Base

INFO: CreatePen() and CreatePenIndirect() Use Predefined Styles

Article ID: 11270

Article Last Modified on 3/7/2005


APPLIES TO


This article was previously published under Q11270
3.00 3.10 WINDOWS kbprg

SUMMARY

In Windows, the CreatePen() and CreatePenIndirect() calls only allow the creation of a pen with predefined styles (for example, solid, dash, and dot). It is not possible to create a pen with a unique style. The only styles available are the stock pens and styles provided with Windows.

Additional query words: 3.00 3.10

Keywords: kbinfo kb16bitonly KB11270