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



The information in this article applies to:

  • Microsoft Windows Software Development Kit (SDK) for Windows 3.0
  • Microsoft Windows Software Development Kit (SDK) for Windows 3.1

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.

Modification Type:MinorLast Reviewed:3/7/2005
Keywords:kb16bitonly kbinfo KB11270