04-21-2003, 02:17 PM -
Quote:GraphicsHere is definition of draw function:
Does TLB simply allocate a square of bar for the plugin icon to
appear in?.. or is it a complex interaction, where TLB does the
actual display of various component icons on behalf of the plugin?
Code:
STDMETHODIMP ITlbButton::Draw(HANDLE hDC, RECT *rcItem)
Code:
Does TLB pass mouse click data to the plugin (say for the
Winamp plugin, where there are various buttons?) Â Or is the
plugin detecting and acting on these by itself?
Code:
STDMETHODIMP OnMouseOver(long keys, int x, int y);
STDMETHODIMP OnMouseLeave(long keys);
STDMETHODIMP OnMouseEnter(long keys, int x, int y);
STDMETHODIMP OnLButtonDown(long key, int x, int y);
STDMETHODIMP OnLButtonUp(long key, int x, int y);
Quote:I assume plugin configuration dialogues are entirelyAll dialogs and windows are independant of TLB. The only thing TLB supply plugins is stream to save and load data of plugins:
independant of TLB?
Code:
STDMETHODIMP Load(IStream *data);
STDMETHODIMP Save(IStream *data);
The TORDEX Team
http://www.tordex.com
http://www.tordex.com