For the window handling you should be able to use the following with the next build:
#define IPC_GETWND 260
/* (requires Winamp 2.9+)
** HWND h=SendMessage(hwnd_winamp,WM_WA_IPC,IPC_GETWND_xxx,IPC_GETWND);
** returns the HWND of the window specified.
** Note: this does not support the WACUP message addition
** of IPC_GETWND_MAIN since you have to use a valid
** main window HWND to start with, need I say more?
*/
#define IPC_GETWND_MAIN -1 // use one of these for the param
#define IPC_GETWND_EQ 0 // see api notes on what is valid
#define IPC_GETWND_PE 1 // (IPC_GETWND_MAIN new to WACUP)
//#define IPC_GETWND_MB 2 // deprecated from 5.22+ when the
// minibrowser support was killed
#define IPC_GETWND_VIDEO 3
#define IPC_GETWND_ML 4 // added WACUP 1.0.11+ but may not
// be applicable based on install!
#define IPC_ISWNDVISIBLE 261 // same param as IPC_GETWND
/* (requires Winamp 2.9+)
** This returns the current visible state of the window.
** Under WACUP using IPC_GETWND_MAIN as the param is
** supported & will return the main window state.
*/
#define IPC_SHOWWND 262 // same param as IPC_GETWND
/* (added WACUP 1.0.11+)
** This will show the specified window if its closed
** and it will return non-zero on success. If the
** window is already visible then nothing is done
** though the return is zero for you state usage.
*/
#define IPC_HIDEWND 263 // same param as IPC_GETWND
/* (added WACUP 1.0.11+)
** This will hide the specified window if its open
** and it will return non-zero on success. If the
** window is already hidden then nothing is done
** though the return is zero for you state usage.
*/
IPC_SHOWWND & IPC_HIDEWND are the main WACUP additions (the other change being some ML & main window specific stuff on the older APIs). That should allow you to hopefully open / close those windows as needed along with using the returned state & IPC_ISWNDVISIBLE if needed beforehand to deal with state persistence as needed.
Will provide the JTFE queue saving details once that's been finished.
-dro
Just to confirm:
All Hwnds and other methods work fine.
'What's playing' settings patch working.
Looking forward to the next beta with the JTFE queue manager modification!
Many thanks again.