equal
deleted
inserted
replaced
509 const TBool KFaded = aCmd.SetFaded->Faded(); |
509 const TBool KFaded = aCmd.SetFaded->Faded(); |
510 static_cast<CWsClientWindow*>(this)->SetFaded(KFaded, blackMap, whiteMap, KNotifyObserver); |
510 static_cast<CWsClientWindow*>(this)->SetFaded(KFaded, blackMap, whiteMap, KNotifyObserver); |
511 } |
511 } |
512 } |
512 } |
513 break; |
513 break; |
514 case EWsWinOpEnableAdvancedPointers: |
514 case EWsWinOpEnableAdvancedPointers: |
515 if(!IsActivated()) |
515 User::LeaveIfError(IsActivated()?KErrInUse:KErrNone); |
516 { |
516 iBaseWinFlags |= EBaseWinAdvancedPointersEnabled; |
517 // Must call this BEFORE activating the window. |
517 break; |
518 iBaseWinFlags |= EBaseWinAdvancedPointersEnabled; |
|
519 } |
|
520 else |
|
521 { |
|
522 // Called after activation, so panic the client. |
|
523 OwnerPanic(EWservPanicUnableToEnableAdvPointer); |
|
524 } |
|
525 break; |
|
526 default: |
518 default: |
527 return(EFalse); |
519 return(EFalse); |
528 } |
520 } |
529 return(ETrue); |
521 return(ETrue); |
530 } |
522 } |