Old 1st October 2003, 21:59   #1
artificial
Junior Member
 
Join Date: Oct 2003
Posts: 3
Right click playlist selection

While it's quite clear how to get the name of the item from the playlist that is currently playing I don't see how to get the name of the item that I have just _right_ clicked. It seems that it should be a simple process since many of the items on the right click menu seem to capture this information (e.g. "File info", "Playlist entry", etc.).


To clarify, this is what I'm using for the current item:

index = SendMessage(plugin.hwndParent, WM_USER, 0, IPC_GETLISTPOS);
name = (char*)SendMessage(plugin.hwndParent, WM_USER, index, IC_GETPLAYLISTFILE);
MessageBox(plugin.hwndParent, name, "", MB_OK);

BUT I would like the index of the item that has just been right clicked on.

Thanks in advance.
artificial is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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