Tutorial or SDK reference or HOWTO?
Started by JCinDE


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


6 posts in this topic
JCinDE
Junior Member
**


0
6 posts 3 threads Joined: May 2004
05-09-2004, 04:47 PM -
#1
Anyone know where I can find a reference or tutorial for writing plugins?
HorusUK
Senior Member
****


0
458 posts 40 threads Joined: Dec 2003
05-09-2004, 05:23 PM -
#2
Try downloading the True Launch Bar SDK for starters. Big Grin
Back once again...
JCinDE
Junior Member
**


0
6 posts 3 threads Joined: May 2004
05-09-2004, 06:01 PM -
#3
HorusUK Wrote:Try downloading the True Launch Bar SDK for starters. Big Grin
Thanks. Got that already, though. It's just a little...bewildering. Some sort of documentation for it is what I'm after. Or a SIMPLE tutorial project that implements it and provides source code comments...
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
05-12-2004, 11:07 AM -
#4
Tutorial is under construction still Sad You can ask any question dirrectly to me.
The TORDEX Team
http://www.tordex.com
JCinDE
Junior Member
**


0
6 posts 3 threads Joined: May 2004
05-19-2004, 10:31 AM -
#5
Yuri Kobets Wrote:Tutorial is under construction still Sad You can ask any question dirrectly to me.
Heh...you may not like my question then.

How do I start? =)

For instance, how do I create a plugin that's just a clickable button that pops up a MessageBox?

I've looked at the source of several sample plugins but they all seem to do things differently.
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
05-21-2004, 02:57 PM -
#6
OK. Open memmon sample change or remove code from CMemMonBtn:Big Grinraw where you must draw your button. And add MessageBox into CMemMonBtn::Run()

Code:
STDMETHODIMP CMemMonBtn::Run()
{
    if(m_container)
    {
        HWND hWndBand = m_container->GetBandWND(); // get the toolbar window
        MessageBox(hWndBand, "You've clicked me!", "Title", MB_OK); // Show message box
    }
    return S_OK;
}

and change the value of CLSID_MemMonitorButton in the guid.h using guidgen utility from PSDK.
The TORDEX Team
http://www.tordex.com


Forum Jump:


Users browsing this thread: 1 Guest(s)