I need to pint several parts of a picture box with different colors.
I'm using the ExtFloodFill function.
The question is, do I have to create a new brush every time I need to change the color?
For example, Combo3 has a few colors:

VB Code:
  1. Private Sub Combo3_Click()
  2.     crNewColor = Combo3.List(Combo3.ListIndex)
  3.     DeleteObject mBrush
  4.     mBrush = CreateSolidBrush(crNewColor)
  5.     SelectObject Picture1.hDC, mBrush
  6. End Sub
Is this correct?
Is there any better way?