Manialink Browser Features

Talk about ManiaLink development in this forum

Moderator: NADEO

Post Reply
zocka
Posts: 205
Joined: 15 Jun 2010, 17:56

Manialink Browser Features

Post by zocka »

I have some questions which are more related to the manialink browser itself I think. I guess you have more important things to do atm, but I'd like to see, what we can expect from the future.

1) I would like to know, if there is any way to suppress default actions to use for example the right click on a manialink.

2) To catch the ESC-key, I got a little hack working with EnableMenuNavigation and TriggerPageAction("quit") to emulate default behaviour, but I'm not sure yet, if there might be side-effects to that which I didn't encounter yet.

3) Can we expect any development towards the accessibility of the address bar (between TMT und MP4)?
3a) read address
3b) write fragment
3c) force-show/autohide the bar
manialink minigame shatter
my manialink: zockaml
my maniaflash: maniaflash?zocka
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: Manialink Browser Features

Post by Dommy »

2) This is only way I personally know too. I didn't noticed any side effects of using this in manialink browser.

1) You can use EnableMenuNavigation() for this, because it also disables RMB default action (afaik). Then it will be easy to make "custom event" on right click using MouseRightButton.

Code: Select all

declare PrevRMB = False;
while (True) {
    yield;
    if (MouseRightButton != PrevRMB) {
        PrevRMB = MouseRightButton;
        if (MouseRightButton) {
            // instructions
        }
    }
}
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
zocka
Posts: 205
Joined: 15 Jun 2010, 17:56

Re: Manialink Browser Features

Post by zocka »

I use

Code: Select all

EnableMenuNavigation(True, True, Page.GetFirstChild("esc"), 1);
which does not prevent the default RMB behaviour (still goes to previous page). I'm not sure about the parameters though even after I read this ^^
I think it's called the right way, since it catches Esc, but maybe it is simply not supposed to work.
manialink minigame shatter
my manialink: zockaml
my maniaflash: maniaflash?zocka
Post Reply

Return to “ManiaLink”

Who is online

Users browsing this forum: No registered users and 1 guest