Thread: SetDCPenColor() undifined

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    610

    SetDCPenColor() undefined

    Is this one of the latest from API, even Charles Petzold book doesn't have on index.. Trying to change the color of the pen... Also this..
    Code:
    hPen = (HPEN)GetStockObject(DC_PEN);
    states that DC_PEN is undefined

    /Yes, i do have windows.h included and have been using pens and brushes for sometime with no prob, first time trying to change pen color!
    Last edited by csonx_p; 06-13-2008 at 07:29 AM.

Popular pages Recent additions subscribe to a feed