Hello. I am trying to use the CreateSolidBrush API to give my form's menu a particular color (in my case I just want to set the menu's color to the form's background color - right now the menu is white).

CreateSolidBrush expects a long value for the color. However, the form's .backcolor value in the properties window is some weird system color value, in this case "&H8000000F&". How do I convert this value to the long value I need for the CreateSolidBrush API? Is there another API call I need to use that retrieves the form's background color as a long value?

BTW I'm using VB6.

Many thanks in advance...