|
-
Apr 28th, 2003, 02:50 PM
#1
Thread Starter
Addicted Member
using Pictures as control holders
I'm using picture boxes as control holders, basically using them like tab controls. I'm doing this cause i'm using transparent active buttons and some other skinned controls, so i'm not gonna use a tab control.
My question is:
I have multiple controls in each picture control, but when I'm making them visible from invisible (the picture), you can see the controls being drawn, it's fast, but still not the best look. Is there anyway I can make the picture show only after all the controls are drawn, so it gives a better appearance?
-b-
-
Apr 28th, 2003, 03:00 PM
#2
Try this
Public Declare Function LockWindowUpdate Lib "user32" (ByVal hwndLock As Long) As Long
' Before your action
LockWindowUpdate Picture1.hWnd
' After your action
LockWindowUpdate 0&
-
Apr 28th, 2003, 04:00 PM
#3
Thread Starter
Addicted Member
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
|