|
-
Sep 22nd, 2011, 08:25 PM
#5
Re: SetParent and Opacity
 Originally Posted by .paul.
regions?
What do you mean by regions?
 Originally Posted by Edgemeal
What if you reset the parent, change opacity then set the parent back, might be some flicker tho...?
Code:
Private Sub ChangeOpacity(ByVal opacity As Double)
SetParent(Me.Handle, IntPtr.Zero)
Me.Opacity = opacity
SetParent(Me.Handle, FindWindow("progman", Microsoft.VisualBasic.vbNullString))
'Me.Refresh() ' < needed ?
End Sub
I guess I hadn't thought of that, I'll fiddle with the idea tomorrow.
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
|