Text on a borderless form problem

mc_tiger

Member
Joined
Mar 21, 2007
Messages
5
Programming Experience
1-3
Okay here is my weird problem

I have a borderless form that I have created pictureboxes around to create a custom form border.

I write the form's title on the top picturebox.

However when I first show the form the text is not shown. BUT when I rollover a custom button, the text shows. Its like the text does not show until another event fires.

I am writing the text in an overloaded OnPaint event.

Attached is code for someone to help.

Thanks in advance,
Matthew
 
Last edited:
Back
Top