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 Browser Features
Moderator: NADEO
- Dommy
- Translator
- Posts: 1866
- Joined: 25 Aug 2011, 21:45
- Manialink: exchange
- Location: Poland
- Contact:
Re: Manialink Browser Features
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.
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
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT
Contact me via GALAXY & PURSUIT DISCORD
Re: Manialink Browser Features
I use
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.
Code: Select all
EnableMenuNavigation(True, True, Page.GetFirstChild("esc"), 1);
I think it's called the right way, since it catches Esc, but maybe it is simply not supposed to work.
Who is online
Users browsing this forum: No registered users and 1 guest