Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: l)ragon on September 06, 2003, 06:58 PM

Title: Form Transparency.
Post by: l)ragon on September 06, 2003, 06:58 PM
To anyone who wanted form transparency can use my dll if they wish.

http://www.thedragonmaster.net/dlls/dragon.dll

Public Declare Function MakeTransparent lib "dragon.dll" (byval FormsHWND as long, byval ZeroTo255 as long) as long

Ex.
MakeTransparent Form1.hWnd, 148

I recomend if you do use it not to actuly use 255 just because you will not see the Form whatsoever. anyway im to lazy to explain any further so have fun with it.

~l)ragon
Title: Re:Form Transparency.
Post by: Spht on September 06, 2003, 07:17 PM
Why's it so big (~150KB) for such a simple DLL?
Title: Re:Form Transparency.
Post by: l)ragon on September 06, 2003, 07:36 PM
Quote from: Spht on September 06, 2003, 07:17 PM
Why's it so big (~150KB) for such a simple DLL?

theres lots of other functions in it that i will document when it is working to my likeing.

ex.
public declare function MakeRTB lib "dragon.dll" (byval AppInstance as long, byval MainHwnd as long, byval x as long, byval y as long, byval w as long, byval h as long) as long

REBHwnd = MakeRTB(app.hinstance, form1.hwnd, 5, 5, 240, 500)

when the rest are to my likeing i will post them aswell.

~l)ragon
Title: Re:Form Transparency.
Post by: UserLoser on September 06, 2003, 07:37 PM
I found:

??0CDllTest@@QAE@XZ
??1CDllTest@@QAE@XZ
??4CDllTest@@QAEAAV0@ABV0@@Z
AddChat
AddToTray
AddUser
AppendTextEX
BuildArrayListing
CheckVersion
CreateAccount
DestroyLV
DestroyRTB
DownLoad
FreeTray
GetVersionInfo
HashData
InitTray
MakeImageList
MakeLV
MakeRTB
MakeTransparent
MyStringFunct
PasswordHash
PostListing
QueryConfigValue
RGamerBotINI
RSDREB
RemoveFromTray
?SayHello@CDllTest@@QAEXXZ
SendListViewMessage
TimeStamper
UpdateTrayIcon
UpdateTrayTip
WGamerBotINI
Title: Re:Form Transparency.
Post by: l)ragon on September 06, 2003, 07:42 PM
Quote from: UserLoser on September 06, 2003, 07:37 PM
I found:

??0CDllTest@@QAE@XZ
??1CDllTest@@QAE@XZ
??4CDllTest@@QAEAAV0@ABV0@@Z
AddChat
AddToTray
AddUser
AppendTextEX
BuildArrayListing
CheckVersion
CreateAccount
DestroyLV
DestroyRTB
DownLoad
FreeTray
GetVersionInfo
HashData
InitTray
MakeImageList
MakeLV
MakeRTB
MakeTransparent
MyStringFunct
PasswordHash
PostListing
QueryConfigValue
RGamerBotINI
RSDREB
RemoveFromTray
?SayHello@CDllTest@@QAEXXZ
SendListViewMessage
TimeStamper
UpdateTrayIcon
UpdateTrayTip
WGamerBotINI

Point being?
Title: Re:Form Transparency.
Post by: UserLoser on September 06, 2003, 07:44 PM
God, I'm just stating that there's a lot of functions, and Spht asked why it was so big for such a simple dll, which makes me think that he thought there was only one function.
Title: Re:Form Transparency.
Post by: l)ragon on September 06, 2003, 07:46 PM
Quote from: UserLoser on September 06, 2003, 07:44 PM
God, I'm just stating that there's a lot of functions, and Spht asked why it was so big for such a simple dll, which makes me think that he thought there was only one function.

For some reason I dont think he asked UserLoser why it was so big.
Title: Re:Form Transparency.
Post by: UserLoser on September 06, 2003, 07:49 PM
Just shut up.
Title: Re:Form Transparency.
Post by: l)ragon on September 06, 2003, 07:51 PM
Quote from: UserLoser on September 06, 2003, 07:49 PM
Just shut up.

Cough just stateing the facts as they are if you dont like it stay out of this thread.
Title: Re:Form Transparency.
Post by: UserLoser on September 06, 2003, 07:56 PM
Quote from: dRAgoN on September 06, 2003, 07:51 PM
what you want to start with me now you little shit.

http://www.andersonservices.com/angermgmtclasses.html
Title: Re:Form Transparency.
Post by: l)ragon on September 06, 2003, 08:01 PM
Quote from: UserLoser on September 06, 2003, 07:56 PM
Quote from: dRAgoN on September 06, 2003, 07:51 PM
what you want to start with me now you little shit.

http://www.andersonservices.com/angermgmtclasses.html

not your busness lol get off my thread.
Title: Re:Form Transparency.
Post by: Camel on September 06, 2003, 08:38 PM
Quote from: UserLoser on September 06, 2003, 07:56 PMhttp://www.andersonservices.com/angermgmtclasses.html
Good call, UserLoser.

dRAgoN, why would anybody want to use a dll for something that takes three API calls?
Title: Re:Form Transparency.
Post by: Adron on September 07, 2003, 06:18 AM
OK... dRAgoN, you suck for giving us free code but not documenting all of it!!!!!!!

Or, how about we show some appreciation for his offering of free code? I can agree that it wouldn't hurt to rip out all the irrelevant code if that's all it's supposed to do, but documenting is boring. If he wants to take it a little at a time, let him. Be happy for what you get when it's free!
Title: Re:Form Transparency.
Post by: Kp on September 07, 2003, 11:16 AM
Quote from: dRAgoN on September 06, 2003, 07:46 PMFor some reason I dont think he asked UserLoser why it was so big.
Correct.  He didn't address it to anyone; as such, most people would read it as being open for answering by anyone who knew.
Title: Re:Form Transparency.
Post by: OuTLawZGoSu on September 12, 2003, 08:22 PM
Not to get off the topic (The Argument) but how can i install the dll. i tryed to Brawse and select the dll through the Components in the vb menu but it keeps saying that the file is an invalid Active X Component. i dono what im doing worong but it has been a while since i used that feature. Help?
Title: Re:Form Transparency.
Post by: Camel on September 13, 2003, 01:36 AM
I havn't tried it, but it appears as though you can just declare the functions and call them directly.
Title: Re:Form Transparency.
Post by: OuTLawZGoSu on September 13, 2003, 09:39 AM
What you mean? Just put the dll somewhere and put in the declorations? ill try that anyway.


EDIT: Yep jus tlike you said.i pu thte dll in the same folder as the source code and i did all the declorations. works good too.
Title: Re:Form Transparency.
Post by: MrRaza on September 13, 2003, 09:19 PM
I Support This DLL.    :)




Title: Re:Form Transparency.
Post by: acidsky on September 13, 2003, 10:48 PM
will someone tell me why this isnt working
i enter


Public Declare Function MakeRTB Lib "dragon.dll" (ByVal AppInstance As Long, ByVal MainHwnd As Long, ByVal x As Long, ByVal y As Long, ByVal w As Long, ByVal h As Long) As Long

REBHwnd = MakeRTB(App.hInstance, Form1.hWnd, 5, 5, 240, 500)



into my form, but where do i put it
it says that only comments may go after but if it  put it after it makes an error on the word "app"