|
|
|
|
#1 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
Please Help
Hello All! I'm Zuba,developer of Winamp plugins;I have write very good plugin(Input) but I have some problems:
1.When Winamp maximize,I can't catch his event(event of maximize,I have overload Winamp Procedure); I desire restrict Winamp fullscreen! ![]() 2.When Winamp Main Window is hide(not minimize,Alt+W or deactivate "Main Window" CheckBox),I cant catch his event (also when Winamp restore with Alt+W or activate "Main Window" CheckBox); Please Help!! Beforehand thanks(sorry my bad english )
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
|
check events with spy++, I think it comes with windows platform SDK tools.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
Winamp don't have standart windows platform messages
and spy++ is feeble in this moment |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
|
From the SDK I don't know what it is but I saw some WM_SIZE messages relative to screen size, If I am thinking what you are thinking then I think it is not a good idea to do what you want to do.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
Winamp process only this WM_SIZE messages:
1.SIZE_MINIMIZED 2.SIZE_RESTORED (not SIZE_MAXIMIZED) |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
And also one question:
How I can get played track full info? (Title,Artist,Album,Album Artist,Year,Genre,Comment,Composer,Publisher) I can get only track title,duration and artist. Please Help! |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
|
Look at IPC_GET_EXTENDED_FILE_INFO in wa_ipc.h and also this link may be of help http://forums.winamp.com/showthread.php?postid=2350085
|
|
|
|
|
|
#8 | |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
Quote:
|
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
How I can set Winamp main Dialog window width and heigth?
MoveWindow,SetWindowPos,SetWindowPlacement and other windows functions don't set it |
|
|
|
|
|
#10 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,270
|
you can't since that all depends on the skin you're using (with the classic skins it's fixed at 275 x 116 from what i remember) and modern skins (which have a different window handle from what's passed in the plugin structure) working a completely different manner which is defined by the parameters stored in it's xml/maki files.
-daz |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
When I set Winamp sizes(MoveWindow for example),it works but when I move Winamp, it winking!
What this? Please Help! |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Aug 2008
Posts: 114
|
How does it wink? like this
? stick to what dro said.
|
|
|
|
|
|
#13 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,270
|
i'll take 'winking' as being the window snapping back to where it was before you tried to override it's position. and MoveWindow(..) is definitely the wrong api to be using since that's re-triggering Winamp's positioning code. you can do it with some lower-level windows message overrides but messing around with the position of a window instead of the user doing it isn't a good idea imho plus you can't make it work reliably for all skin types (going on my own experience from a few years back).
-daz |
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
How to analyze spectrum data in visualyzer plugin? I desire
drawing it with OpenGL! |
|
|
|
|
|
#15 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,270
|
you're best having a look at the vis_avs and vis_milk source code (from their respective sub-forums) on going about handling data in vis plugins - as for opengl then that's going to have to be down to you to work out (i can't remember much of anything about the opengl stuff i used to do many many moons ago).
-daz |
|
|
|
|
|
#16 |
|
Junior Member
Join Date: Mar 2009
Location: Georgia
Posts: 12
|
I wish drawing spectrum data as colors(using Red,Green,Blue)
it type is unsigned char(0,255),but when I draw colors, it not correct! Please, say how to draw colors! |
|
|
|
|
|
#17 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,270
|
sorry but i've no experience with the visualation plugin api so i can't really suggest anything.
-daz |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|