The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development

Reply
 
Thread Tools Display Modes
Old 07-02-2004, 03:25 PM   #1
I got the rhythm.
 
Danceheaven's Avatar
 
Join Date: May 2002
Location: Essex, UK'er
Vehicle: Mitsibushi FTO GPX V6
Posts: 664
My Photos: (0)
How do i accomplish this?

Hi all im embedding winamps Video / Visulisation window into a vb app does anybody know how to remove the frames around these windows, when it embeds it still has the frame despite what size it is scaled too. ive tried making my own skin with tranparency skin files, it dont work!
__________________
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Danceheaven is offline   Reply With Quote
Sponsored Links
Old 07-02-2004, 03:54 PM   #2
9 Fingered Administrator
Lesbian
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Vehicle: 1998 Ranger/1991 Sunbird
Posts: 9,852
My Photos: (0)
Code:
Private Sub Command1_Click() Dim lStyle As Long lStyle = GetWindowLong(dhwnd, GWL_STYLE) lStyle = lStyle And (Not MY_WS_DOCK) SetWindowLong dhwnd, GWL_STYLE, lStyle SetParent dhwnd, Picture1.hwnd MoveWindow dhwnd, 0, 0, Picture1.ScaleWidth / Screen.TwipsPerPixelX, Picture1.ScaleHeight / Screen.TwipsPerPixelY, True End Sub Public Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long Public Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" (ByVal hwnd As Long, ByVal nIndex As Long) As Long Public Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long Public Declare Function GetParent Lib "user32" (ByVal hwnd As Long) As Long Public Declare Function MoveWindow Lib "user32" (ByVal hwnd As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal bRepaint As Long) As Long Public Const WS_CAPTION = &HC00000 'Window with a title bar and border Public Const WS_THICKFRAME = &H40000 'Create a window with a sizing border. Public Const WS_SYSMENU = &H80000 'Create a window with a system menu on its 'Title bar. Must be combined with WS_CAPTION Public Const MY_WS_DOCK = WS_CAPTION Or WS_THICKFRAME Or WS_SYSMENU Public Const GWL_STYLE = (-16)


That will remove the window border for destinator, should be same principle.
__________________
FrodoPlayer.com
TeaBaggins.com
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 07-02-2004, 03:57 PM   #3
I got the rhythm.
 
Danceheaven's Avatar
 
Join Date: May 2002
Location: Essex, UK'er
Vehicle: Mitsibushi FTO GPX V6
Posts: 664
My Photos: (0)
Aha Thanks Frodo, is this based on garrys (confused) code?
__________________
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Danceheaven is offline   Reply With Quote
Old 07-02-2004, 04:00 PM   #4
9 Fingered Administrator
Lesbian
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Vehicle: 1998 Ranger/1991 Sunbird
Posts: 9,852
My Photos: (0)
Quote: Originally Posted by Danceheaven
Aha Thanks Frodo, is this based on garrys (confused) code?

yes
__________________
FrodoPlayer.com
TeaBaggins.com
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 07-02-2004, 04:01 PM   #5
I got the rhythm.
 
Danceheaven's Avatar
 
Join Date: May 2002
Location: Essex, UK'er
Vehicle: Mitsibushi FTO GPX V6
Posts: 664
My Photos: (0)
Quote: Originally Posted by frodobaggins
yes

Thought so...
__________________
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Danceheaven is offline   Reply With Quote
Old 07-04-2004, 04:27 AM   #6
I got the rhythm.
 
Danceheaven's Avatar
 
Join Date: May 2002
Location: Essex, UK'er
Vehicle: Mitsibushi FTO GPX V6
Posts: 664
My Photos: (0)
Hi frodo i tried that code, it didnt work
it basically did the same thing as the code i was already using just displayed the vid or visuals in my pic box but with the frames still attached around the window, i managed to loose the frames by simple offsetting the image by - 10 to the left and - 20 above then strching the image past the pciture box as the box by + 20 and + 40 respectivly i know this is not the best way but it works do you know of any other ways?
__________________
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Danceheaven is offline   Reply With Quote
Old 07-04-2004, 04:52 AM   #7
9 Fingered Administrator
Lesbian
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Vehicle: 1998 Ranger/1991 Sunbird
Posts: 9,852
My Photos: (0)
Quote: Originally Posted by Danceheaven
Hi frodo i tried that code, it didnt work
it basically did the same thing as the code i was already using just displayed the vid or visuals in my pic box but with the frames still attached around the window, i managed to loose the frames by simple offsetting the image by - 10 to the left and - 20 above then strching the image past the pciture box as the box by + 20 and + 40 respectivly i know this is not the best way but it works do you know of any other ways?


Well I was assuming the frame was a window border. I haven't actually seen what you are referring to.
__________________
FrodoPlayer.com
TeaBaggins.com
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 07-04-2004, 04:56 AM   #8
I got the rhythm.
 
Danceheaven's Avatar
 
Join Date: May 2002
Location: Essex, UK'er
Vehicle: Mitsibushi FTO GPX V6
Posts: 664
My Photos: (0)
Aha this is very true frodo,
ok rather than me explaing it if you have a copy of winamp installed change the skin to winamp classic so that original looking skin that winamp came supplied with and then run either the video window or the visualisation windows and thats the borders / frames i want to loose around those windows.
__________________
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Danceheaven is offline   Reply With Quote
Old 07-04-2004, 05:07 AM   #9
9 Fingered Administrator
Lesbian
 
frodobaggins's Avatar
 
Join Date: Jan 2003
Location: Ruston, LA
Vehicle: 1998 Ranger/1991 Sunbird
Posts: 9,852
My Photos: (0)
I would stick to the way you are doing it.
__________________
FrodoPlayer.com
TeaBaggins.com
[H]4 Life
My next generation Front End is right on schedule.
It will be done sometime in the next generation.
I'm a lesbian too.
I am for hire!
frodobaggins is offline   Reply With Quote
Old 07-04-2004, 05:27 AM   #10
I got the rhythm.
 
Danceheaven's Avatar
 
Join Date: May 2002
Location: Essex, UK'er
Vehicle: Mitsibushi FTO GPX V6
Posts: 664
My Photos: (0)
Well it does work that way but.. its cheating a bit, dont you think.
i was speaking to confused last night and he said the coyote did it with out this shifting around trick im using plus he used an overlay or someway of exiting full screen visuals by tapping top right section of the viduals to exit
__________________
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Danceheaven is offline   Reply With Quote
Sponsored Links
Old 07-18-2004, 06:41 AM   #11
Raw Wave
 
Laidback's Avatar
 
Join Date: Oct 2003
Location: Madrid
Vehicle: Jeep GC
Posts: 1,966
My Photos: (0)
I was just looking for this thread and I found this... http://www.mp3car.com/vbulletin/show...+winamp+window ... which may be of use.
__________________
Laidback

Laidback Carputer
Laidback is offline   Reply With Quote
Old 07-19-2004, 04:48 PM   #12
I got the rhythm.
 
Danceheaven's Avatar
 
Join Date: May 2002
Location: Essex, UK'er
Vehicle: Mitsibushi FTO GPX V6
Posts: 664
My Photos: (0)
Many thanks laidback, we have got around this problem now however using built in features within milkdrop etc
__________________
Co Develper of A.I.M.E.E Automotive Intelligent Multimedia Entertainment Engine
www.aimee.cc
Danceheaven is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT -5. The time now is 07:34 PM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics