Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Way to reduce flicker on tab changes w/background image?

Status
Not open for further replies.

jdrudolp

Programmer
Jul 11, 2003
2
0
0
US
Hello -

I have been working on a Windows App with three tabs in it (using the tabControl control). I have placed between 15 and 20 objects on each tab (labels, buttons, dropdowns, etc.) and made all of the backrounds transparent. Then I put a different image as the background of each tab, which creates this sort of watermark effect, which I really like. Unfortunately, when you swtich back and forth between the tabs in the .exe, it takes a few seconds each time to redraw all of the GUI objects, which looks pretty bad.

Does anyone have a solution for this problem? A way to draw the tab completely before displaying it? Background image as a GDI+ object? Double buffering?

Thanks,
jdrudolp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top