HTML link in a dialog

Ask for Help on Using the Language With Memory Hacking Software

Moderators: g3nuin3, SpeedWing, WhiteHat, mezzo

HTML link in a dialog

Postby liqmysaq » Tue Jan 20, 2009 8:25 am

is there a way to put a link in my LSS trainer so when its clicked it will send them to an internet address (the post i released it in) via their browser? i've looked through the help file and around the forum but i havent seen anything about doing that. I imagine i can code a button to send them but i have no clue what the coding would be, though i would rather have a normal link like in a web page.

Also, is there a way to put a picture in a trainer? ok, im sure there is a way.. could u spoon feed me plz lol. looking through the helpfile i find stuff about making rectangles, lines, and pixels color but nothing about adding in a picture.
User avatar
liqmysaq
I Know Your Poop
 
Posts: 538
Joined: Tue Jan 01, 2008 2:02 am

Postby lxcid » Thu Jan 22, 2009 1:06 am

In C/C++, to open an url in default browser, we used this...

Code: Select all
if ( PathIsURL( url ) )
{
    ShellExecute(NULL, "open", url, NULL, NULL, SW_SHOWNORMAL);
}


But I checked, lss doesn't support ShellExecute function. I guess you could request it from L. Spiro. :)

As for image, i'm not sure. I did some research and seems like there isn't any direct support for it.

If you are desperate, there's i/o functions and setpixel.
You will then have to write your own image parser.

Though I suspect you might face with problem when the image you drew have being invalidated.
lxcid
I Ask A Lot Of Questions
 
Posts: 13
Joined: Tue Jan 20, 2009 2:07 am

Postby L. Spiro » Thu Jan 22, 2009 7:26 am

You can expect both functions in the next release.


L. Spiro
Our songs remind you of songs you’ve never heard.
User avatar
L. Spiro
L. Spiro
 
Posts: 3129
Joined: Mon Jul 17, 2006 10:14 pm
Location: Tokyo, Japan

Postby lxcid » Thu Jan 22, 2009 9:48 am

That's great to hear. :D
lxcid
I Ask A Lot Of Questions
 
Posts: 13
Joined: Tue Jan 20, 2009 2:07 am

Postby liqmysaq » Thu Jan 22, 2009 10:58 am

awesome, thx guys. :D
User avatar
liqmysaq
I Know Your Poop
 
Posts: 538
Joined: Tue Jan 01, 2008 2:02 am


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron