|
-
May 27th, 2001, 02:17 AM
#1
Thread Starter
Addicted Member
Using DrawEdge in a UserControl
I've created a usercontrol that acts as a container, and draws a border using the DrawEdge API (to give that sunken Panel effect).
The only problem is that, in the Paint event I have to call UserControl.cls to make sure the DrawEdge is displayed correctly. This make the border flicker.
I've tried using the LockWindowUpdate to stop the flicker, but because it is a container, the LockWindowUpdate effects the drawing of the controls inside it.
Has anyone got any ideas how I can stop the flicker?
Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|