January 4th, 2000, 12:42 AM
Hello all,
I am wanting to use the DrawCaption API function which looks like this:
declare function DrawCaption Lib "user32" (byval hWnd as Long, _
byval hDC as Long, pcRect as RECT, _
byval un as Long) as Long
The parameter "un" is where you pass the flags that tell DrawCaption how to draw the caption bar. With all that said, I
need to know the values for the flags.
I know the appropriate flags (Constants) to be DC_ACTIVE, DC_GRADIENT, DC_ICON, DC_INBUTTON, DC_SMALLCAP, DC_TEXT...however I cannot determine their respective values. If anyone has used this function before, or knows the values for the constants, please PLEASE help me. Most appreciated.
Thank you in advance,
Rippin
I am wanting to use the DrawCaption API function which looks like this:
declare function DrawCaption Lib "user32" (byval hWnd as Long, _
byval hDC as Long, pcRect as RECT, _
byval un as Long) as Long
The parameter "un" is where you pass the flags that tell DrawCaption how to draw the caption bar. With all that said, I
need to know the values for the flags.
I know the appropriate flags (Constants) to be DC_ACTIVE, DC_GRADIENT, DC_ICON, DC_INBUTTON, DC_SMALLCAP, DC_TEXT...however I cannot determine their respective values. If anyone has used this function before, or knows the values for the constants, please PLEASE help me. Most appreciated.
Thank you in advance,
Rippin