Re: Simple Transparent Frame User Control v1.12
Quote:
Originally Posted by
seba.kwiat
you can not use that class because labels has no hwnd
You can use that tooltip class on labels, as I said you need to use the labels container hWnd.
I use this sub to set/show the tooltip, then use it like this...
Code:
' Lable1 inside Framez1 control...
Private Sub Label1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
ShowToolTip "ToolTip Here", Framez1.hWnd, "Title Here"
End Sub
EDIT btw, The Framez control posted here doesn't have a MouseMove event, which you'd most likely need so you can reset that balloon tip class.
Add a simple MouseMove event to the Framez control...
Code:
' General Declares
Event MouseMove()
' code
Private Sub UserControl_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
RaiseEvent MouseMove
End Sub
Re: Simple Transparent Frame User Control v1.12
Updated:
v1.14 - Fix(v1.12): Selecting a system color for XP\7 border color was always black.
v1.13 - Add option to disable transparency and set background color.
Note: Transparency is now disabled by default in v1.13 and later.
Re: Simple Transparent Frame User Control v1.14
can you tell me how to apply it in my form if ever i want it to apply on my own form please?
Re: Simple Transparent Frame User Control v1.14
can you tell me how to apply it in my own form...i try'd to add your ActiveX Control but its not working it keeps my frame in my form untransparent...what should i do?..please help me
Re: Simple Transparent Frame User Control v1.14
Quote:
Originally Posted by
ohailo
can you tell me how to apply it in my own form...i try'd to add your ActiveX Control but its not working it keeps my frame in my form untransparent...what should i do?..please help me
you have to add this control to your controls then you will see new control which you apply on the form the same way as the others eg. label etc.
cheers
Re: Simple Transparent Frame User Control v1.14
Hi Edgemeal,
i played with your TabStrip Demo For WinXP. i like this, but actually i wanted my form is resizeable and the tabstrip and the frame as well. but when i use Form_Resize, then the frame is error, saying Can't create AutoRedraw image..
is there a way to solve this?
thank you very much..
1 Attachment(s)
Re: Simple Transparent Frame User Control v1.14
Quote:
Originally Posted by
edhanz
Hi Edgemeal,
i played with your TabStrip Demo For WinXP. i like this, but actually i wanted my form is resizeable and the tabstrip and the frame as well. but when i use Form_Resize, then the frame is error, saying Can't create AutoRedraw image..
is there a way to solve this?
thank you very much..
Might want to upload a demo of your code, in the meantime here is a quick re-size test I did and didn't see that problem.
Re: Simple Transparent Frame User Control v1.14
yes it works as i wanted.. :D
thank you very much..
Re: Simple Transparent Frame User Control v1.14
After years of searching, I finally found a transparent control.