I'm trying to make a clipboard hook, but I dont know how to get the
data thats selected..
my hook looks something like:
static void Custom_Clipboard_Func(void) {
register char **a2 __asm("a2"); char
**array = a2;
register char **a1 __asm("a1"); char
**new_entry = a1;
register struct Hook *a0 __asm("a0"); struct Hook
*hook = a0;
array[0]="test";
array[1]="4";
}
const struct Hook Custom_Clipboard_Hook = { { NULL,NULL },
(ULONG(*)())Custom_Clipboard_Func, NULL,NULL };
and I'm using it in my NList object like so:
MUIA_NList_CopyColumnToClipHook, &Custom_Clipboard_Hook,
.... its copying "test" to the clipboard just fine.. now I want to
make it use real values..
I cant understand the autodocs.. what structure or type or whatever
do I use for "a1" ? I cant seem to figure it out..
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/16uqlB/TM
--------------------------------------------------------------------~->
Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/MUI/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/