[ Home | CW Bug Reports | Mail ]

LEventDispatcher::EventMouseDown()で ProxyIconの caseが含まれていない
Subject: BUG -- LEventDispatcher::EventMouseDown() and ProxyIcon
 
---------------------------------------------------------------------------
METROWERKS PRODUCT AND USAGE SECTION
 
Product name :            [ CodeWarrior Professional for Mac ]
Product version :         [ Pro 5 ]
Component name :          [ PowerPlant 2.0 ]
Generating:               [ Mac OS 68K / Mac OS PowerPC ]
Purpose:                  [ application ]
 
---------------------------------------------------------------------------
 
BUG DESCRIPTION SECTION
 
Reason for this report:   [ lack of flexibility ]
Bug severity:             [ cosmetic problem ]
Reproducibility:          [ always ]
Problem summary:
 
LEventDispatcher::EventMouseDown() should pass the inProxyIcon part
message to LWindow object. Supporting correct ProxyIcon behavior is
quite difficult without this.
 
void
LEventDispatcher::EventMouseDown(
    const EventRecord&  inMacEvent)
{
    WindowPtr   macWindowP;
    SInt16      thePart = ::MacFindWindow(inMacEvent.where, &macWindowP);
 
    switch (thePart) {
 
        case inMenuBar:
            ClickMenuBar(inMacEvent);
            break;
 
        case inSysWindow:
            ::SystemClick(&inMacEvent, macWindowP);
            break;
 
        case inDesk:            // Only happens when a truly modal window
            ::SysBeep(1);       //   is in front and the user clicks on
            break;              //   the desktop
 
        case inContent:
            LCommander::SetUpdateCommandStatus(true);
            // Fall Thru
        case inDrag:
        case inGrow:
        case inGoAway:
        case inZoomIn:
        case inZoomOut:
        case inCollapseBox:
        case inProxyIcon:       // <<<<<<<<<<<<<<<<<<<<<<


この Pageは MacOS X + Radio UserLand で作っています。