What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » Winamp 2 Scrolling > Patch and Matty figure it out

Winamp 2 Scrolling > Patch and Matty figure it out
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin?
quote:
Originally posted by Patchou
code:
HWND hWinamp = FindWindow(_T("Winamp v1.x"), NULL);
if(hWinamp)
{
    TCHAR sTitle[1024]; ZeroMemory(sTitle, 1024*sizeof(TCHAR));
    GetWindowText(hWinamp, sTitle, 1024);
    if(sTitle[0] != '\\0')
    {
        //Remove everything after the WinAmp marker
        for(int i = _tcsclen(sTitle)-9; i > 0; i--)
        {
            if(_tcsnicmp(sTitle+i, _T(" - Winamp"), 9) == 0)
            {
                sTitle[i] = '\\0';
                break;
            }
        }
    }
}



i dunno what to say patch, our code is identicle in everyway (except mine is vb and yours is c++ but i will post an image and show you it)

take a look at the forms caption and look at the first item in my taskbar , the winamp title is scrolling

and yes im aware of the 
code:
TheText = Replace(TheText, " [Paused]", "")
is there twice

.gif File Attachment: 1.gif (57.81 KB)
This file has been downloaded 163 time(s).

This post was edited on 10-17-2003 at 06:55 PM by matty.
10-17-2003 06:46 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Winamp 2 Scrolling > Patch and Matty figure it out - by matty on 10-16-2003 at 07:10 PM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by Patchou on 10-17-2003 at 07:01 AM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by matty on 10-17-2003 at 02:47 PM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by Patchou on 10-17-2003 at 05:35 PM
RE: RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by matty on 10-17-2003 at 06:46 PM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by Patchou on 10-17-2003 at 11:38 PM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by matty on 10-18-2003 at 12:08 AM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by Patchou on 10-18-2003 at 12:36 AM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by matty on 10-18-2003 at 12:46 AM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by Patchou on 10-18-2003 at 01:42 AM
RE: RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by matty on 10-18-2003 at 03:25 AM
RE: Winamp 2 Scrolling > Any VB Coder wanna finish the plugin? - by dotNorma on 10-18-2003 at 01:48 AM
RE: Winamp 2 Scrolling > Patch and Matty figure it out - by Wabz on 10-18-2003 at 12:29 PM
RE: Winamp 2 Scrolling > Patch and Matty figure it out - by dotNorma on 10-18-2003 at 03:02 PM
RE: RE: Winamp 2 Scrolling > Patch and Matty figure it out - by matty on 10-18-2003 at 03:47 PM
RE: Winamp 2 Scrolling > Patch and Matty figure it out - by chris on 10-18-2003 at 05:59 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On