Drawing in XP Style

  • Thread starter Thread starter Michael Culley
  • Start date Start date
M

Michael Culley

I'm trying to covert a userdrawn control written in C# to use the XP style. It consists only of a border, a button and a textbox.
The button and textbox is working fine but the border is not. The problem I have is that I cannot find the value of the constant
GP_BORDER as listed in this page of the help:

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/shellcc/platform/commctls/userex/topics/partsandstates.htm

If anyone can help I would greatly appreciate it, I've been searching for many hours.
 
I couldn't find a reference to this anywhere, google groups had 4 hits when searching for "GP_BORDER". Three of these where
unanswered questions asking what its value was and the other one had answers that didn't state its value. Anyway, it seems the value
is zero, well, zero seems to work at least. Damn I hate it when I search for hours for a constant value and it turns out to be zero
:-)
 
Back
Top