In my app, pressing a button activates a dialog box. This dialog box contains a rich edit control 2.0. I want to set the background color of this rich edit control 2.0 to red on its creation,i.e, the default background color of this rich edit control should be red (instead of white, which is the actual default). I'm thinking of using SetBackgroundColor() function to set the color, but I want to know where to place the code so that it is executed when the rich edit control 2.0 is created.
Thanks