Go Back   Winamp Forums > Developer Center > Winamp Development

Reply
Thread Tools Search this Thread Display Modes
Old 29th September 2005, 12:52   #1
mike-wigan
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
mike-wigan is offline   Reply With Quote
Old 29th September 2005, 13:01   #2
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,210
you just need to send WM_CLOSE to it as a sendmessage

-daz
DrO is offline   Reply With Quote
Old 30th September 2005, 08:33   #3
mike-wigan
Junior Member
 
Join Date: Sep 2005
Posts: 8
and how do i do that????
mike-wigan is offline   Reply With Quote
Old 30th September 2005, 08:38   #4
DrO
-
 
DrO's Avatar
 
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
DrO is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump