Active HTML link

Posted By: laci

Active HTML link - 06/01/10 12:31

Hi,

how can I make an active HTML link on a panel?

User clicked on it --> default browser starts in windows.

thx - laci
Posted By: Joey

Re: Active HTML link - 06/01/10 12:42

look up button and exec.
Posted By: laci

Re: Active HTML link - 06/04/10 08:29

"exec" can open a HTML link, from version 7.82.

I have version 7.5...

laci
Posted By: Quad

Re: Active HTML link - 06/04/10 08:40

well then you can upgrade for free, so..
Posted By: Razoron

Re: Active HTML link - 06/04/10 12:20

7.5 sounds like a SYBEX version.
Posted By: Helghast

Re: Active HTML link - 06/04/10 12:22

or you can use a batch file that opens the browser + website using exec.

EDIT:
make the batch file using START.

Code:
START http://google.com


this opens the default browser with google's homepage.
Posted By: Quad

Re: Active HTML link - 06/04/10 13:04

also,

add this lines right after #include <acknex.h>
Code:
#include <windows.h>
long WINAPI ShellExecute(long hwnd ,long lpOperation ,long lpFile ,long lpParameters ,long lpDirectory ,long nShowCmd);



then call it like:

ShellExecute(NULL, "open", "http://www.google.com", NULL, NULL, SW_SHOWNORMAL);
Posted By: laci

Re: Active HTML link - 06/04/10 15:21

>7.5 sounds like a SYBEX version.

Yes, I've a SYBEX version. I bougth it before one week. Can I update this version also?

thx - Laci
Posted By: Rei_Ayanami

Re: Active HTML link - 06/04/10 15:25

No, for that version you have to pay for updates...

But A8 will come out this summer...
© 2024 lite-C Forums