Go Back   CodingForums.com > :: Computing & Sciences > Computer Programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-11-2004, 03:18 PM   PM User | #1
donald
New to the CF scene

 
Join Date: May 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
donald is an unknown quantity at this point
popup out from a txt-file

hi,
i'm working with borland c++ for the first time and i have a problem with it.
and this is my code:
char * HtmlFile_List = "filelisting";
and a methode getList():

void getList()
{
struct find_t ffblk;
int done;
char tbuffer[200];
done = _dos_findfirst("I2C\\*.i2c",_A_NORMAL,&ffblk);
strcat(HtmlPage,"<TABLE BORDER=\"1\" BORDERCOLOR=\"darkblue\" CELLSPACING=\"0\">");

while(!done)
{
strcat(HtmlPage,"<TR>");
printf("%s\n",ffblk.name);
sprintf(tbuffer,"<TD><a href=filelisting?%s>%s </a></TD>",ffblk.name,ffblk.name);
strcat(HtmlPage,tbuffer);
done = _dos_findnext(&ffblk);
strcat(HtmlPage,"</TR>");
//strcat(HtmlPage ,"TABLE BORDER=\"1\" BORDERCOLOR=\"darkblue\" CELLSPACING=\"0\">");
}

strcat(HtmlPage,"</TABLE>");
}
it puts the filelisting into a table on the HTML page and are links.
i have txt file with the description about the .i2c pargramme's.
i want that if i move with the mouse over a i2c programme(links) that there wille be a popup(toolbox) with the description out the txt-file(every link has a different desription)
the txt-files looks like:
example:donald.i2c (programme) informationa about this programme(description)
i don't know how to do that. please help my
greeting Donald
donald is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:04 PM.


Advertisement
Log in to turn off these ads.