|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 8
|
close winamp in vb.net
how do i close winamp when i press exit button on form
in vb.net |
|
|
|
|
|
#2 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,210
|
you just need to send WM_CLOSE to it as a sendmessage
-daz |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2005
Posts: 8
|
and how do i do that????
|
|
|
|
|
|
#4 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,210
|
SendMessage(hwnd_winamp,WM_CLOSE,0,0)
i don't know the syntax for that in vb but that's the plain c version of doing it (guess you have to do whatever declarations are needed to use SendMessage and all that) -daz |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|