Hi,

>>Did you notice that dhtml scrolls have to be done by rollover because
>>  keeping the mouse over the button cause the contect menu to appear ?
>>  Sometimes I wonder if Mac's mouses were engineered to be used by humans.
>>  We've got 5 fingers. Most of us.


OnDynAPI(1)/ MacOS I have managed make the contextual menus not to
appear in this way:

- addind a boolean (bPtrDn) that indicate if the mouse is click down
on a button.

- in the function pTestActive():

//############
function AX8pTestActive() {
        if (is.ie)
                return false;

        var b = false;
        b = b || (this.useV && (this.barV.bDragActiv ||
this.barV.lyrs.box.slideActive || this.barV.bPtrDn));//modif
        b = b || (this.fen.lyrs.content.slideActive);
        b = b || (this.btnUp.bPtrDn || this.btnDn.bPtrDn);//modif
        b = b && this.bActiv;
        return b;

}
//############

- in the document event handler

//############
...
vaFonc = function(){
        return !AX4wpTxtScrollTestActive();
        //wrapper function that returns Instance.pTestActive()
}

AX3gpMouseDownTrm = AX3gpMouseMoveTrm = vaFonc;

if (is.ns) {
        window.document.captureEvents(Event.MOUSEUP |
Event.MOUSEOVER);                       }

window.document.onmousemove = AX3gpMouseMove;
window.document.onmouseup = AX3gpMouseUp;
...
//############


--
Jean-Pierre DENYS
téls.
(+ 33) 6 80 14 43 35
(+ 33) 1 44 65 02 69
(+ 34) 93 221 63 50
[EMAIL PROTECTED]
[EMAIL PROTECTED]


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to