Announcement

Collapse
No announcement yet.

Missing DrawState equates - win32api.inc

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Missing DrawState equates - win32api.inc

    Following equates for the DrawState API are missing:
    Code:
    'DrawState types (flag parameter)
    %DST_COMPLEX    = &H0
    %DST_TEXT       = &H1
    %DST_PREFIXTEXT = &H2
    %DST_ICON       = &H3
    %DST_BITMAP     = &H4
     
    'DrawState states (flag parameter)
    %DSS_NORMAL   = &H0    'Draws the image without any modification.
    %DSS_UNION    = &H10   'Dithers the image.
    %DSS_DISABLED = &H20   'Embosses the image.
    %DSS_DEFAULT  = &H40   'Makes the image bold.
    %DSS_MONO     = &H80   'Uses the brush specified by the hBrush or pBrush parameter.
    %DSS_RIGHT    = &H8000
    'Note:  For all nFlag states except DSS_NORMAL, the image is converted
    '       to monochrome before the visual effect is applied.
    '       The DrawState API requires Windows 95 / NT 4.0 or later
    BTW, just a little tip while I'm at it - have found the following search
    engine to be very good also for programming issues: http://www.google.com/


    ------------------

  • #2
    Thanks for mentioning it. I'll see if we can shoehorn that in.

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Comment

    Working...
    X