ExtPopupMenuWnd.cpp
上传用户:sesekoo
上传日期:2020-07-18
资源大小:21543k
文件大小:735k
- ASSERT( pSpecPopup != NULL );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 )
- nPos = nCountOfMenuItems;
- if( nPos > nCountOfMenuItems )
- {
- ASSERT( FALSE );
- return FALSE;
- }
- ASSERT( m_hWndCmdReceiver != NULL );
- ASSERT( ::IsWindow(m_hWndCmdReceiver) );
- MENUITEMDATA mi( this );
- mi.SetCmdReceiver( m_hWndCmdReceiver );
- pSpecPopup->m_bTopLevel = false;
- mi.SetPopup( nPos, sText, icon, pSpecPopup );
- ASSERT( mi.GetPopup()->m_pWndParentMenu == NULL ); // still not initialized
- ASSERT( !mi.GetPopup()->m_bTopLevel );
- mi.GetPopup()->m_pWndParentMenu = this;
- mi.SetDisplayed( true );
- _InsertItem( nPos, mi );
- if( m_bTopLevel )
- _SyncItems();
- else
- {
- ASSERT( m_pWndParentMenu != NULL );
- m_pWndParentMenu->_SyncItems();
- }
- return TRUE;
- }
- bool CExtPopupMenuWnd::ItemPaletteRowWrapGet(
- INT nPos
- ) const
- {
- ASSERT_VALID( this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return false;
- const MENUITEMDATA & mi = ItemGetInfo( nPos );
- bool bWrap = mi.IsToolWrap();
- return bWrap;
- }
- void CExtPopupMenuWnd::ItemPaletteRowWrapSet(
- INT nPos,
- bool bWrap // = true
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return;
- MENUITEMDATA & mi = ItemGetInfo( nPos );
- mi.SetToolWrap( bWrap );
- }
- bool CExtPopupMenuWnd::ItemToolLayoutGet(
- INT nPos
- ) const
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return false;
- const MENUITEMDATA & mi = ItemGetInfo( nPos );
- bool bToolButton = mi.IsToolButton();
- return bToolButton;
- }
- void CExtPopupMenuWnd::ItemToolLayoutSet(
- INT nPos,
- bool bToolButton // = true
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return;
- MENUITEMDATA & mi = ItemGetInfo( nPos );
- mi.SetToolButton( bToolButton );
- }
- bool CExtPopupMenuWnd::ItemEnabledGet(
- INT nPos
- ) const
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return false;
- const MENUITEMDATA & mi = ItemGetInfo( nPos );
- bool bEnabled = mi.IsEnabled();
- return bEnabled;
- }
- void CExtPopupMenuWnd::ItemEnabledSet(
- INT nPos,
- bool bEnabled // = true
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return;
- MENUITEMDATA & mi = ItemGetInfo( nPos );
- mi.Enable( bEnabled );
- }
- bool CExtPopupMenuWnd::ItemBoldGet(
- INT nPos
- ) const
- {
- ASSERT_VALID( this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return false;
- const MENUITEMDATA & mi = ItemGetInfo( nPos );
- bool bBold = mi.IsBold();
- return bBold;
- }
- void CExtPopupMenuWnd::ItemBoldSet(
- INT nPos,
- bool bBold // = true
- )
- {
- ASSERT_VALID( this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return;
- MENUITEMDATA & mi = ItemGetInfo( nPos );
- mi.SetBold( bBold );
- }
- bool CExtPopupMenuWnd::ItemDefaultGet(
- INT nPos
- ) const
- {
- ASSERT_VALID( this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return false;
- const MENUITEMDATA & mi = ItemGetInfo( nPos );
- bool bDefault = mi.IsDefault();
- return bDefault;
- }
- void CExtPopupMenuWnd::ItemDefaultSet(
- INT nPos,
- bool bDefault // = true
- )
- {
- ASSERT_VALID( this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return;
- MENUITEMDATA & mi = ItemGetInfo( nPos );
- mi.SetDefault( bDefault );
- mi.SetBold( bDefault );
- }
- INT CExtPopupMenuWnd::ItemDefaultFind() const
- {
- ASSERT_VALID( this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nCountOfMenuItems == 0 )
- return -1;
- for( INT nIndex = 0; nIndex < nCountOfMenuItems; nIndex++ )
- {
- if( ItemDefaultGet( nIndex ) )
- return nIndex;
- }
- return -1;
- }
- void CExtPopupMenuWnd::ItemDefaultUnset()
- {
- ASSERT_VALID( this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nCountOfMenuItems == 0 )
- return;
- for( INT nIndex = 0; nIndex < nCountOfMenuItems; nIndex++ )
- ItemDefaultSet( nIndex, false );
- }
- bool CExtPopupMenuWnd::ItemEnabledAppearanceGet(
- INT nPos
- ) const
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return false;
- const MENUITEMDATA & mi = ItemGetInfo( nPos );
- bool bEnabledAppearance = mi.IsEnabledAppearance();
- return bEnabledAppearance;
- }
- void CExtPopupMenuWnd::ItemEnabledAppearanceSet(
- INT nPos,
- bool bEnabledAppearance // = true
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 || nPos >= nCountOfMenuItems )
- return;
- MENUITEMDATA & mi = ItemGetInfo( nPos );
- mi.SetEnabledAppearance( bEnabledAppearance );
- }
- BOOL CExtPopupMenuWnd::ItemInsert(
- UINT nCmdID, // = TYPE_SEPARATOR,
- INT nPos, // = -1 // append
- __EXT_MFC_SAFE_LPCTSTR sText, // = NULL // for TYPE_POPUP only
- HICON hIcon, // = NULL // for TYPE_POPUP only
- HWND hWndSpecCmdReceiver // = NULL // specific command receiver
- )
- {
- ASSERT_VALID( this );
- CExtCmdIcon icon;
- if( hIcon != NULL )
- icon.AssignFromHICON( hIcon, false );
- return
- ItemInsert(
- nCmdID,
- nPos,
- sText,
- icon,
- hWndSpecCmdReceiver
- );
- }
- BOOL CExtPopupMenuWnd::ItemInsert(
- UINT nCmdID,
- INT nPos, // -1 - append
- __EXT_MFC_SAFE_LPCTSTR sText, // for TYPE_POPUP only
- const CExtCmdIcon & icon, // for TYPE_POPUP only
- HWND hWndSpecCmdReceiver // = NULL // specific command receiver
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 )
- nPos = nCountOfMenuItems;
- if( nPos > nCountOfMenuItems )
- {
- ASSERT( FALSE );
- return FALSE;
- }
- ASSERT( m_hWndCmdReceiver != NULL );
- ASSERT( ::IsWindow(m_hWndCmdReceiver) );
- MENUITEMDATA mi( this );
- mi.SetCmdReceiver(
- (hWndSpecCmdReceiver != NULL)
- ? hWndSpecCmdReceiver
- : m_hWndCmdReceiver
- );
- switch( nCmdID )
- {
- case TYPE_POPUP:
- mi.SetPopup( nPos, sText, icon );
- break; // case TYPE_POPUP
- case TYPE_SEPARATOR:
- mi.SetSeparator( nPos );
- break; // case TYPE_SEPARATOR
- default:
- {
- ASSERT( m_hWndCmdReceiver != NULL );
- ASSERT( ::IsWindow(m_hWndCmdReceiver) );
- CExtCmdItem * pCmdItem =
- g_CmdManager->CmdGetPtr(
- g_CmdManager->ProfileNameFromWnd(
- (hWndSpecCmdReceiver != NULL)
- ? hWndSpecCmdReceiver
- : m_hWndCmdReceiver
- ),
- nCmdID
- );
- ASSERT( pCmdItem != NULL );
- if( pCmdItem == NULL )
- return FALSE;
- VERIFY(
- mi.UpdateCmdManagerCommand(
- pCmdItem,
- nPos
- )
- );
- }
- break; // default
- } // switch( nCmdID )
- if( mi.IsPopup() )
- {
- ASSERT( mi.GetPopup()->m_pWndParentMenu == NULL ); // still not initialized
- mi.GetPopup()->m_pWndParentMenu = this;
- ASSERT( !mi.GetPopup()->m_bTopLevel );
- }
- _InsertItem( nPos, mi );
- if( m_bTopLevel )
- _SyncItems();
- else
- {
- //ASSERT( m_pWndParentMenu != NULL );
- //m_pWndParentMenu->_SyncItems();
- if( m_pWndParentMenu != NULL )
- m_pWndParentMenu->_SyncItems();
- }
- return TRUE;
- }
- BOOL CExtPopupMenuWnd::ItemInsertCommand( // no references to command manager
- UINT nCmdID, // = TYPE_SEPARATOR
- INT nPos, // = -1 // append
- __EXT_MFC_SAFE_LPCTSTR sItemText, // = NULL
- __EXT_MFC_SAFE_LPCTSTR sAccelText, // = NULL
- HICON hIcon, // = NULL
- bool bCopyIcon, // = true
- int nCheck, // = 0 // 0 - no check, 1 - checked, 2 - indeterminate, 3 - radio
- HWND hWndSpecCmdReceiver // = NULL
- )
- {
- CExtCmdIcon icon;
- if( hIcon != NULL )
- icon.AssignFromHICON( hIcon, bCopyIcon );
- BOOL bRetVal =
- ItemInsertCommand(
- nCmdID, nPos, sItemText, sAccelText,
- icon, nCheck, hWndSpecCmdReceiver
- );
- return bRetVal;
- }
- INT CExtPopupMenuWnd::ItemGetIndexOf(
- const CExtPopupMenuWnd::MENUITEMDATA * pMII
- ) const
- {
- ASSERT_VALID( this );
- if( pMII == NULL
- || pMII->GetOwner() != this
- )
- return -1;
- INT nIndex, nCount = ItemGetCount();
- for( nIndex = 0; nIndex < nCount; nIndex ++ )
- {
- const CExtPopupMenuWnd::MENUITEMDATA * pOwnMII = &( ItemGetInfo( nIndex ) );
- if( pOwnMII == pMII )
- return nIndex;
- }
- return -1;
- }
- BOOL CExtPopupMenuWnd::ItemInsertCommand( // no references to command manager
- UINT nCmdID,
- INT nPos, // -1 append
- __EXT_MFC_SAFE_LPCTSTR sItemText, // may be NULL
- __EXT_MFC_SAFE_LPCTSTR sAccelText, // may be NULL
- const CExtCmdIcon & icon,
- int nCheck, // = 0 // 0 - no check, 1 - checked, 2 - indeterminate, 3 - radio
- HWND hWndSpecCmdReceiver // = NULL
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT nCountOfMenuItems = ItemGetCount();
- if( nPos < 0 )
- nPos = nCountOfMenuItems;
- if( nPos > nCountOfMenuItems )
- {
- ASSERT( FALSE );
- return FALSE;
- }
- ASSERT( m_hWndCmdReceiver != NULL );
- ASSERT( ::IsWindow(m_hWndCmdReceiver) );
- MENUITEMDATA mi( this );
- mi.SetCmdReceiver(
- (hWndSpecCmdReceiver != NULL)
- ? hWndSpecCmdReceiver
- : m_hWndCmdReceiver
- );
- mi.SetNoCmdUI( true );
- switch( nCmdID )
- {
- case TYPE_POPUP:
- mi.SetPopup(
- nPos,
- (sItemText == NULL) ? _T("") : sItemText,
- NULL
- );
- mi.SetPopupIcon( icon );
- break; // case TYPE_POPUP
- case TYPE_SEPARATOR:
- mi.SetSeparator( nPos );
- break; // case TYPE_SEPARATOR
- default:
- {
- ASSERT( m_hWndCmdReceiver != NULL );
- ASSERT( ::IsWindow(m_hWndCmdReceiver) );
- mi.SetCmdID( nCmdID );
- mi.SetText( (sItemText == NULL) ? _T("") : sItemText );
- mi.SetAccelText( (sAccelText == NULL) ? _T("") : sAccelText );
- mi.AccelCharInit();
- mi.SetPopupIcon( icon );
- switch( nCheck )
- {
- case 1: mi.Check( true ); break;
- case 2: mi.Indeterminate( true ); break;
- case 3: mi.Radio( true ); break;
- } // switch( nCheck )
- mi.MeasureItem( NULL );
- }
- break; // default
- } // switch( nCmdID )
- mi.SetIndex( nPos );
- mi.SetDisplayed( true );
- if( mi.IsPopup() )
- {
- ASSERT( mi.GetPopup()->m_pWndParentMenu == NULL ); // still not initialized
- mi.GetPopup()->m_pWndParentMenu = this;
- ASSERT( !mi.GetPopup()->m_bTopLevel );
- }
- _InsertItem( nPos, mi );
- if( m_bTopLevel )
- _SyncItems();
- else
- {
- if( m_pWndParentMenu != NULL )
- m_pWndParentMenu->_SyncItems();
- }
- return TRUE;
- }
- void CExtPopupMenuWnd::SetLeftAreaWidth(
- UINT nWidth // = 0
- )
- {
- m_nLeftAreaWidth = nWidth;
- }
- UINT CExtPopupMenuWnd::GetLeftAreaWidth() const
- {
- return m_nLeftAreaWidth;
- }
- BOOL CExtPopupMenuWnd::CreatePopupMenu( HWND hWndCmdRecv )
- {
- ASSERT_VALID( this );
- ASSERT( ::IsWindow(hWndCmdRecv) );
- ASSERT( GetTrackingMenu() != this );
- if( ItemGetCount() != 0 )
- ItemRemove( -1 );
- if( m_pWndParentMenu != NULL
- //|| m_bTopLevel
- //|| ItemGetCount() != 0
- )
- {
- // already created
- ASSERT( FALSE );
- return FALSE;
- }
- m_sizeFullItems.cx = m_sizeFullItems.cy = 1;
- m_bTopLevel = true;
- m_pWndParentMenu = NULL;
- m_hWndCmdReceiver = hWndCmdRecv;
-
- return TRUE;
- }
- void CExtPopupMenuWnd::SetCmdTargetToAllItems(
- HWND hWndSpecCmdReceiver, // = NULL
- bool bOnlyThisLevel // = false
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetTrackingMenu() != this );
- INT iter = 0;
- for( ; iter < m_items_all.GetSize(); iter++)
- {
- MENUITEMDATA & mi = ItemGetInfo( iter );
- if( mi.IsSeparator() )
- continue;
- if( mi.IsPopup() )
- {
- if( !bOnlyThisLevel )
- mi.GetPopup()->SetCmdTargetToAllItems(
- hWndSpecCmdReceiver,
- true
- );
- }
- else
- {
- mi.SetCmdReceiver( hWndSpecCmdReceiver );
- }
- }
- }
- //CExtPopupMenuWnd::const_items_container_t &
- // CExtPopupMenuWnd::_GetItemsContaner() const
- //{
- // return m_items_all;
- //}
- //
- //CExtPopupMenuWnd::items_container_t &
- // CExtPopupMenuWnd::_GetItemsContaner()
- //{
- // return m_items_all;
- //}
- CExtPopupMenuWnd::MENUITEMDATA &
- CExtPopupMenuWnd::_GetItemRef(int nIndex)
- {
- ASSERT_VALID( this );
- ASSERT( nIndex >= 0 && nIndex < m_items_all.GetSize() );
- MENUITEMDATA & mi = m_items_all.ElementAt( nIndex );
- return mi;
- }
- const CExtPopupMenuWnd::MENUITEMDATA &
- CExtPopupMenuWnd::_GetItemRef(int nIndex) const
- {
- ASSERT_VALID( this );
- return
- ( const_cast < CExtPopupMenuWnd * > ( this ) ) ->
- _GetItemRef( nIndex );
- }
- void CExtPopupMenuWnd::_InsertItem(
- int nInsertBefore,
- MENUITEMDATA & mi,
- bool bNoRefToCmdMngr // = false
- )
- {
- ASSERT_VALID( this );
- bNoRefToCmdMngr;
- m_items_all.InsertAt(
- (nInsertBefore < 0)
- ? m_items_all.GetSize()
- : nInsertBefore
- ,
- mi
- );
- }
- void CExtPopupBaseWnd::_EndAnimation()
- {
- ASSERT_VALID( this );
- _SurfacesDelete();
- }
- void CExtPopupMenuWnd::_EndAnimation()
- {
- ASSERT_VALID( this );
- CExtPopupBaseWnd::_EndAnimation();
- Invalidate( FALSE );
- _SetCapture();
- if( _IsPopupWithShadowsDynamic() )
- {
- if( m_bHelperReCreateDynamicShadowAtTheEndOfNearestAnimation
- && m_ctrlShadow.GetSafeHwnd() != NULL
- )
- m_ctrlShadow.DestroyWindow();
- m_bHelperReCreateDynamicShadowAtTheEndOfNearestAnimation = false;
- if( m_ctrlShadow.GetSafeHwnd() == NULL )
- m_ctrlShadow.Create( m_hWnd, PmBridge_GetPM()->GetMenuShadowSize() );
- }
- }
- bool CExtPopupBaseWnd::_IsPopupWithShadows() const
- {
- if( ! CExtPopupMenuWnd::g_bMenuWithShadows )
- return false;
- if( m_ctrlShadow.IsAvailable() )
- return false;
- return true;
- }
- bool CExtPopupBaseWnd::_IsPopupWithShadowsDynamic() const
- {
- if( ! CExtPopupMenuWnd::g_bMenuWithShadows )
- return false;
- if( ! m_ctrlShadow.IsAvailable() )
- return false;
- return true;
- }
- bool CExtPopupMenuWnd::_IsPopupWithShadows() const
- {
- if( ! CExtPopupBaseWnd::_IsPopupWithShadows() )
- return false;
- DWORD dwTrackFlags = TrackFlagsGet();
- if( ( dwTrackFlags & TPMX_NO_SHADOWS ) != 0 )
- return false;
- // if( ( dwTrackFlags & TPMX_NO_DYNAMIC_SHADOWS ) == 0 )
- // return false; // replacement with dynamic shadow
- return true;
- }
- bool CExtPopupMenuWnd::_IsPopupWithShadowsDynamic() const
- {
- DWORD dwTrackFlags = TrackFlagsGet();
- if( ( dwTrackFlags & TPMX_NO_DYNAMIC_SHADOWS ) != 0 )
- return false;
- return CExtPopupBaseWnd::_IsPopupWithShadowsDynamic();
- }
- bool CExtPopupMenuWnd::_IsRibbonMode() const
- {
- DWORD dwTrackFlags = TrackFlagsGet();
- if( dwTrackFlags & TPMX_RIBBON_MODE )
- return true;
- if( m_pWndParentMenu != NULL )
- return m_pWndParentMenu->_IsRibbonMode();
- return false;
- }
- bool CExtPopupBaseWnd::_IsFadeOutAnimation() const
- {
- return false;
- }
- bool CExtPopupMenuWnd::_IsFadeOutAnimation() const
- {
- if( _ItemFocusChangingIsInProgress() )
- return false;
- if( ! g_PaintManager.m_bIsWin2000orLater )
- return false;
- if( g_PaintManager.m_pfnSetLayeredWindowAttributes == NULL )
- return false;
- if( m_nFadeOutAnimationStepCount <= 0
- || m_nFadeOutAnimationEllapse <= 0
- )
- return false;
- const CExtPopupMenuWnd * pTLP = GetTopLevelMenuWnd();
- if( pTLP == NULL )
- return false;
- DWORD dwTrackFlags = pTLP->TrackFlagsGet();
- if( dwTrackFlags & TPMX_NO_FADE_OUT_ANIMATION )
- return false;
- #if (!defined __EXT_MFC_NO_RIBBON_BAR)
- if( m_hWndNotifyMenuClosed != NULL
- && ::IsWindow( m_hWndNotifyMenuClosed )
- )
- {
- CWnd * pWnd = CWnd::FromHandlePermanent( m_hWndNotifyMenuClosed );
- if( pWnd != NULL )
- {
- CExtRibbonPage * pRibbonPage = DYNAMIC_DOWNCAST( CExtRibbonPage, pWnd );
- if( pRibbonPage != NULL
- && pRibbonPage->m_bHelperPopupMode
- )
- return false;
- }
- }
- #endif // (!defined __EXT_MFC_NO_RIBBON_BAR)
- if( dwTrackFlags & TPMX_RIBBON_MODE )
- return true;
- if( m_pWndParentMenu != NULL )
- return m_pWndParentMenu->_IsFadeOutAnimation();
- return false;
- }
- int CExtPopupBaseWnd::OnQueryMenuShadowSize() const
- {
- if( ! _IsPopupWithShadows() )
- return 0;
- //int nBitsPerPixel = CExtPaintManager::stat_GetBPP();
- // if( nBitsPerPixel <= 8 )
- // return 0;
- return PmBridge_GetPM()->GetMenuShadowSize();
- };
- #if (!defined __EXT_MFC_NO_CUSTOMIZE)
- void CExtPopupMenuWnd::_SetDropIndexBefore(
- int nIndex // = -1 // reset
- )
- {
- ASSERT_VALID( this );
- if( m_nHelperDropIndexBefore == nIndex )
- return;
- m_nHelperDropIndexBefore = nIndex;
- if( GetSafeHwnd() == NULL
- || (! ::IsWindow(GetSafeHwnd()) )
- )
- return;
- CClientDC dc( this );
- _DoPaint( dc );
- }
- // CExtCustomizeSite::ICustomizeDropTarget
- DROPEFFECT CExtPopupMenuWnd::OnCustomizeTargetOver(
- CExtCustomizeSite::CCmdDragInfo & _dragInfo,
- CPoint point,
- DWORD dwKeyState
- )
- {
- ASSERT_VALID( this );
- ASSERT( !_dragInfo.IsEmpty() );
- dwKeyState;
- point;
- if( _IsPalette() )
- return DROPEFFECT_NONE;
- if( m_pDragSrcNode != NULL )
- m_bHelperDragOverPassed = true;
- ASSERT_VALID( m_pNode );
- ASSERT_VALID( _dragInfo.m_pDropNodeC );
- if( m_pNode == _dragInfo.m_pDropNodeC
- || _dragInfo.m_pDropNodeC->IsChild( m_pNode )
- )
- return DROPEFFECT_NONE;
- // _DoResetChainPositions();
- if( ItemGetCount() == 0 )
- {
- if( (dwKeyState & MK_CONTROL) != NULL )
- return DROPEFFECT_COPY;
- return DROPEFFECT_MOVE;
- }
- int nIndex = _HitTest( point );
- if( nIndex < 0 )
- {
- if( nIndex == IDX_SCROLL_TOP
- || nIndex == IDX_SCROLL_BOTTOM
- )
- {
- HWND hWndOwn = m_hWnd;
- if( ! ::IsWindow( hWndOwn ) )
- return DROPEFFECT_NONE;
- _StartScrolling( nIndex );
- if( ! ::IsWindow( hWndOwn ) )
- return DROPEFFECT_NONE;
- }
- _SetDropIndexBefore();
- return DROPEFFECT_NONE;
- }
- MENUITEMDATA & miPreTest = CExtPopupMenuWnd::ItemGetInfo( nIndex );
- if( miPreTest.IsSeparator() )
- {
- if( nIndex == 0 )
- {
- ASSERT( FALSE );
- _SetDropIndexBefore();
- _ItemFocusCancel( TRUE );
- return DROPEFFECT_NONE;
- } // if( nIndex == 0 )
- nIndex--;
- } // if( miPreTest.IsSeparator() )
- MENUITEMDATA & mi = CExtPopupMenuWnd::ItemGetInfo( nIndex );
- if( mi.IsSeparator() )
- {
- ASSERT( FALSE );
- _SetDropIndexBefore();
- _ItemFocusCancel( TRUE );
- return DROPEFFECT_NONE;
- } // if( mi.IsSeparator() )
- CRect rcItem;
- _GetItemRect( nIndex, rcItem );
- int nMidY = rcItem.CenterPoint().y;
- if( point.y > nMidY )
- nIndex++;
- _SetDropIndexBefore( nIndex );
- if( mi.IsPopup() )
- {
- HWND hWndOwn = m_hWnd;
- _ItemFocusSet( mi.GetIndex(), TRUE, TRUE, FALSE );
- if( ! ::IsWindow( hWndOwn ) )
- return DROPEFFECT_NONE;
- }
- else
- {
- HWND hWndOwn = m_hWnd;
- _ItemFocusCancel( TRUE );
- if( ! ::IsWindow( hWndOwn ) )
- return DROPEFFECT_NONE;
- }
- if( (dwKeyState & MK_CONTROL) != NULL )
- return DROPEFFECT_COPY;
- return DROPEFFECT_MOVE;
- }
- void CExtPopupMenuWnd::OnCustomizeTargetLeave()
- {
- ASSERT_VALID( this );
- if( _IsPalette() )
- return;
- _SetDropIndexBefore();
- }
- bool CExtPopupMenuWnd::OnCustomizeTargetDrop(
- CExtCustomizeSite::CCmdDragInfo & _dragInfo,
- CPoint point,
- DROPEFFECT de
- )
- {
- ASSERT_VALID( this );
- ASSERT( !_dragInfo.IsEmpty() );
- _dragInfo;
- point;
- ASSERT(
- de == DROPEFFECT_NONE
- || de == DROPEFFECT_MOVE
- || de == DROPEFFECT_COPY
- );
- if( _IsPalette() )
- return false;
- int nItemCount = ItemGetCount();
- if( de == DROPEFFECT_NONE
- || ( nItemCount > 0 && m_nHelperDropIndexBefore < 0 )
- )
- {
- _SetDropIndexBefore();
- m_ptHelperDragStart.x = m_ptHelperDragStart.y = 0;
- return false;
- }
- CExtCustomizeSite * pSite = _FindCustomizeSite();
- ASSERT( pSite != NULL );
- ASSERT_VALID( m_pNode );
- ASSERT_VALID( _dragInfo.m_pDropNodeC );
- bool bRetVal = true;
- m_bHelperNoHideChild = true;
- int nNodeInsertPos = -1;
- CExtCustomizeCmdTreeNode * pClonedNode = _dragInfo.m_pDropNodeC->CloneNode( pSite );
- ASSERT_VALID( pClonedNode );
- if( _dragInfo.m_pDropNodeI != NULL )
- {
- ASSERT_VALID( _dragInfo.m_pDropNodeI );
- // reset basic command ID
- pClonedNode->SetCmdID( _dragInfo.m_pDropNodeI->GetCmdID( false ), false );
- pClonedNode->SetCmdID( _dragInfo.m_pDropNodeC->GetCmdID( true ), true );
- } // if( _dragInfo.m_pDropNodeI != NULL )
- if( nItemCount == 0 )
- {
- nNodeInsertPos = 0;
- pClonedNode->ModifyFlags( 0, __ECTN_GROUP_START );
- } // if( nItemCount == 0 )
- else
- {
- ASSERT( m_nHelperDropIndexBefore >= 0 && m_nHelperDropIndexBefore <= nItemCount );
- if( m_nHelperDropIndexBefore == nItemCount )
- {
- nNodeInsertPos = m_pNode->GetNodeCount();
- } // if( m_nHelperDropIndexBefore == nItemCount )
- else
- {
- if( m_nHelperDropIndexBefore == 0 )
- pClonedNode->ModifyFlags( 0, __ECTN_GROUP_START );
- MENUITEMDATA & miDropPos = ItemGetInfo( m_nHelperDropIndexBefore );
- bool bDropPosIsExactlyBeforeSeparator = miDropPos.IsSeparator();
- CExtCustomizeCmdTreeNode * pDropBeforeNode =
- bDropPosIsExactlyBeforeSeparator
- ? ( ItemGetInfo( m_nHelperDropIndexBefore + 1 ).GetCmdNode() )
- : ( miDropPos.GetCmdNode() )
- ;
- ASSERT_VALID( pDropBeforeNode );
- nNodeInsertPos = pDropBeforeNode->GetOwnIndex();
- if( (! bDropPosIsExactlyBeforeSeparator ) && (pDropBeforeNode->GetFlags() & __ECTN_GROUP_START) != 0 )
- {
- ASSERT( m_nHelperDropIndexBefore > 0 );
- pClonedNode->ModifyFlags( __ECTN_GROUP_START, 0 );
- pDropBeforeNode->ModifyFlags( 0, __ECTN_GROUP_START );
- }
- if( m_pDragSrcNode != NULL )
- {
- ASSERT( 0 <= m_nDragSrcIdx && m_nDragSrcIdx < nItemCount );
- if( pDropBeforeNode == m_pDragSrcNode )
- {
- delete pClonedNode;
- _SetDropIndexBefore();
- ASSERT( m_nDragSrcIdx >= 0 && m_nDragSrcIdx < nItemCount );
- HWND hWndOwn = m_hWnd;
- _ItemFocusSet( m_nDragSrcIdx, TRUE, TRUE, FALSE );
- if( ! ::IsWindow( hWndOwn ) )
- return true;
- m_bHelperNoHideChild = true;
- CClientDC dc( this );
- _DoPaint( dc );
- m_bHelperNoRemoveSrc = true;
- return true;
- } // if( pDropBeforeNode == m_pDragSrcNode )
- int nDragNodeIdx = m_pDragSrcNode->GetOwnIndex();
- if( nDragNodeIdx > 0 )
- {
- CExtCustomizeCmdTreeNode * pDragNodePr =
- m_pDragSrcNode->GetParentNode()->ElementAt( nDragNodeIdx-1 );
- ASSERT_VALID( pDragNodePr );
- if( pDragNodePr == m_pDragSrcNode )
- {
- delete pClonedNode;
- _SetDropIndexBefore();
- ASSERT( m_nDragSrcIdx >= 0 && m_nDragSrcIdx < nItemCount );
- HWND hWndOwn = m_hWnd;
- _ItemFocusSet( m_nDragSrcIdx, TRUE, TRUE, FALSE );
- if( ! ::IsWindow( hWndOwn ) )
- return true;
- m_bHelperNoHideChild = true;
- CClientDC dc( this );
- _DoPaint( dc );
- m_bHelperNoRemoveSrc = true;
- return true;
- } // if( pDragNodePr == m_pDragSrcNode )
- } // if( nDragNodeIdx > 0 )
- } // if( m_pDragSrcNode != NULL )
- } // else from if( m_nHelperDropIndexBefore == nItemCount )
- } // else from if( nItemCount == 0 )
- HWND hWndOwn = m_hWnd;
- _ItemFocusCancel( TRUE );
- if( ! ::IsWindow( hWndOwn ) )
- return true;
- ASSERT( 0 <= nNodeInsertPos && nNodeInsertPos <= m_pNode->GetNodeCount() );
- m_pNode->InsertNode( pSite, pClonedNode, nNodeInsertPos );
- MENUITEMDATA mi( this );
- mi.SetCmdReceiver( m_hWndCmdReceiver );
- VERIFY(
- mi.UpdateFromCmdTree(
- m_hWndCmdReceiver,
- pClonedNode,
- m_nHelperDropIndexBefore
- )
- );
- if( mi.IsPopup() )
- {
- mi.GetPopup()->m_hWndCmdReceiver = m_hWndCmdReceiver;
- mi.GetPopup()->UpdateFromCmdTree(
- m_hWndCmdReceiver,
- pClonedNode,
- false
- );
- mi.GetPopup()->m_pWndParentMenu = this;
- } // if( mi.IsPopup() )
- ASSERT( !mi.IsSeparator() );
- ASSERT( ((LPVOID)mi.GetCmdNode()) == ((LPVOID)pClonedNode) );
- _InsertItem( m_nHelperDropIndexBefore, mi );
- _SyncItems();
- ShowWindow( SW_HIDE );
- _RecalcLayoutImpl();
- VERIFY( SetWindowRgn( NULL, FALSE ) );
- ASSERT( !IsWindowVisible() );
- _FreeWinObjects();
- // adjust screen position
- CRect rcWnd = _CalcTrackRect();
- if( m_rgnWnd.GetSafeHandle() != NULL )
- {
- ASSERT( m_bExcludeAreaSpec );
- ASSERT( m_bCombineWithEA );
- ASSERT( m_eCombineAlign != __CMBA_NONE );
- CRgn rgnTmp;
- VERIFY( rgnTmp.CreateRectRgn(0,0,0,0) );
- rgnTmp.CopyRgn( &m_rgnWnd );
- ASSERT( rgnTmp.GetSafeHandle() != NULL );
- VERIFY(
- SetWindowRgn(
- (HRGN)rgnTmp.Detach(),
- FALSE
- )
- );
- } // if( m_rgnWnd.GetSafeHandle() != NULL )
- SetWindowPos(
- NULL,
- rcWnd.left, rcWnd.top, rcWnd.Width(), rcWnd.Height(),
- SWP_NOACTIVATE
- |SWP_NOZORDER //|SWP_NOOWNERZORDER
- );
- if( m_bScrollingAvailable )
- _RecalcLayoutImpl();
- ShowWindow( SW_SHOWNA );
- _SetDropIndexBefore();
- m_ptHelperDragStart.x = m_ptHelperDragStart.y = 0;
- return bRetVal;
- }
- // CExtCustomizeSite::ICustomizeDropSource
- void CExtPopupMenuWnd::OnCustomizeSourceDragComplete(
- DROPEFFECT de,
- bool bCanceled,
- bool * p_bNoResetActiveItem
- )
- {
- ASSERT_VALID( this );
- ASSERT(
- de == DROPEFFECT_NONE
- || de == DROPEFFECT_MOVE
- || de == DROPEFFECT_COPY
- );
- if( _IsPalette() )
- return;
- ASSERT( p_bNoResetActiveItem != NULL );
- // if( m_ptHelperDragStart.y != 0
- // && m_bHelperNoHideChild
- // && de != DROPEFFECT_NONE
- // )
- // {
- // m_ptHelperDragStart.x = m_ptHelperDragStart.y = 0;
- // return;
- // }
- m_ptHelperDragStart.x = m_ptHelperDragStart.y = 0;
- if( de == DROPEFFECT_NONE )
- _ItemFocusCancel( TRUE );
- if( GetSafeHwnd() != NULL && (!m_bHelperNoHideChild) )
- {
- HWND hWndOwn = m_hWnd;
- _ItemFocusCancel( TRUE );
- if( ! ::IsWindow( hWndOwn ) )
- return;
- }
- m_bHelperNoHideChild = false;
- CExtCustomizeSite * pSite = _FindCustomizeSite();
- ASSERT( pSite != NULL );
- if( (!m_bHelperDragOverPassed)
- && m_pDragSrcNode != NULL
- )
- m_bHelperNoRemoveSrc = true;
- if( bCanceled || m_bHelperNoRemoveSrc || de == DROPEFFECT_COPY )
- {
- m_bHelperNoRemoveSrc = false;
- if( pSite->IsCustomizeMode() )
- *p_bNoResetActiveItem = true;
- return;
- } // if( bCanceled || de == DROPEFFECT_COPY || m_bHelperAddRemSeparator )
- CExtCustomizeCmdTreeNode * pNode = pSite->DraggedNodeGet();
- ASSERT_VALID( pNode );
- ASSERT_VALID( m_pNode );
- ASSERT( ((LPVOID)pNode->GetParentNode()) == ((LPVOID)m_pNode) );
- int nItemCount = ItemGetCount();
- bool bPrevSeparator = false;
- int nItem = 0;
- for( nItem = 0; nItem < nItemCount; nItem++ )
- {
- MENUITEMDATA & mi = ItemGetInfo( nItem );
- if( mi.IsSeparator() )
- {
- ASSERT( !bPrevSeparator );
- bPrevSeparator = true;
- continue;
- }
- CExtCustomizeCmdTreeNode * pCurrNode = mi.GetCmdNode();
- ASSERT_VALID( pCurrNode );
- if( ((LPVOID)pCurrNode) == ((LPVOID)pNode) )
- break;
- bPrevSeparator = false;
- } // for( nItem = 0; nItem < nItemCount; nItem++ )
- ASSERT( nItem < nItemCount ); // should be found
- if( bPrevSeparator )
- {
- // ASSERT( (pNode->GetFlags() & __ECTN_GROUP_START) != 0 );
- MENUITEMDATA & miRemove2 = ItemGetInfo( nItem );
- if( miRemove2.IsPopup() )
- miRemove2.DestroyPopup();
- pNode->ModifyFlags( __ECTN_GROUP_START, 0 );
- ASSERT( nItem > 0 );
- MENUITEMDATA & miRemove = ItemGetInfo( nItem-1 );
- ASSERT( miRemove.IsSeparator() );
- pNode->ModifyFlags( 0, __ECTN_GROUP_START );
- m_items_all.RemoveAt( nItem-1, 2 );
- m_nCurIndex = -1;
- nItemCount -= 2;
- } // if( bPrevSeparator )
- else
- {
- // ASSERT( (pNode->GetFlags() & __ECTN_GROUP_START) == 0 );
- pNode->ModifyFlags( 0, __ECTN_GROUP_START );
- MENUITEMDATA & miRemove = ItemGetInfo( nItem );
- if( miRemove.IsPopup() )
- miRemove.DestroyPopup();
- m_items_all.RemoveAt( nItem, 1 );
- m_nCurIndex = -1;
- nItemCount--;
- } // else from if( bPrevSeparator )
- CExtCmdItem * pCmdItem =
- g_CmdManager->CmdGetPtr(
- g_CmdManager->ProfileNameFromWnd(m_hWnd),
- pNode->GetCmdID( false )
- );
- ASSERT( pCmdItem != NULL );
- pNode->RemoveSelf( pCmdItem );
- pSite->DraggedNodeSet( NULL );
- if( nItemCount > 0
- && ItemGetInfo(0).IsSeparator()
- )
- {
- m_items_all.RemoveAt( 0, 1 );
- m_nCurIndex = -1;
- m_pNode->ElementAt(0)->ModifyFlags( 0, __ECTN_GROUP_START );
- nItemCount--;
- } // if( nItemCount > 0 ...
- if( nItemCount > 0
- && ItemGetInfo(nItemCount-1).IsSeparator()
- )
- {
- m_items_all.RemoveAt( nItemCount-1, 1 );
- m_nCurIndex = -1;
- nItemCount--;
- } // if( nItemCount > 0 ...
- _SyncItems();
- _SetDropIndexBefore();
- if( m_hWnd == NULL || (! ::IsWindow(m_hWnd) ) )
- return;
- ShowWindow( SW_HIDE );
- _RecalcLayoutImpl();
- VERIFY( SetWindowRgn( NULL, FALSE ) );
- ASSERT( !IsWindowVisible() );
- _FreeWinObjects();
- // adjust screen position
- CRect rcWnd = _CalcTrackRect();
- if( m_rgnWnd.GetSafeHandle() != NULL )
- {
- ASSERT( m_bExcludeAreaSpec );
- ASSERT( m_bCombineWithEA );
- ASSERT( m_eCombineAlign != __CMBA_NONE );
- CRgn rgnTmp;
- VERIFY( rgnTmp.CreateRectRgn(0,0,0,0) );
- rgnTmp.CopyRgn( &m_rgnWnd );
- ASSERT( rgnTmp.GetSafeHandle() != NULL );
- VERIFY(
- SetWindowRgn(
- (HRGN)rgnTmp.Detach(),
- FALSE
- )
- );
- } // if( m_rgnWnd.GetSafeHandle() != NULL )
- SetWindowPos(
- NULL,
- rcWnd.left, rcWnd.top, rcWnd.Width(), rcWnd.Height(),
- SWP_NOACTIVATE
- |SWP_NOZORDER //|SWP_NOOWNERZORDER
- );
- if( m_bScrollingAvailable )
- _RecalcLayoutImpl();
- ShowWindow( SW_SHOWNA );
- }
- #endif // (!defined __EXT_MFC_NO_CUSTOMIZE)
- /////////////////////////////////////////////////////////////////////////////
- // CExtPopupColorMenuWnd
- IMPLEMENT_DYNCREATE(CExtPopupColorMenuWnd, CExtPopupMenuWnd)
- BEGIN_MESSAGE_MAP(CExtPopupColorMenuWnd, CExtPopupMenuWnd)
- //{{AFX_MSG_MAP(CExtPopupColorMenuWnd)
- //}}AFX_MSG_MAP
- ON_WM_QUERYNEWPALETTE()
- ON_WM_PALETTECHANGED()
- END_MESSAGE_MAP()
- const UINT CExtPopupColorMenuWnd::g_nMsgNotifyColorChanged =
- ::RegisterWindowMessage(
- _T("CExtPopupColorMenuWnd::g_nMsgNotifyColorChanged")
- );
- const UINT CExtPopupColorMenuWnd::g_nMsgNotifyColorChangedFinally =
- ::RegisterWindowMessage(
- _T("CExtPopupColorMenuWnd::g_nMsgNotifyColorChangedFinally")
- );
- const UINT CExtPopupColorMenuWnd::g_nMsgNotifyCustColor =
- ::RegisterWindowMessage(
- _T("CExtPopupColorMenuWnd::g_nMsgNotifyCustColor")
- );
- #define __N_CLR_DX 8
- #define __N_CLR_DY 5
- #define __N_CLR_COUNT (__N_CLR_DX*__N_CLR_DY)
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY::COLORREF_TABLE_ENTRY()
- : m_clrValue( RGB(0,0,0) )
- , m_nStrTblResID( 0 )
- {
- }
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY::COLORREF_TABLE_ENTRY(
- const CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY & other
- )
- : m_clrValue( RGB(0,0,0) )
- , m_nStrTblResID( 0 )
- {
- _AssignFromOther( other );
- }
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY::COLORREF_TABLE_ENTRY(
- UINT nStrTblResID,
- COLORREF clrValue,
- __EXT_MFC_SAFE_LPCTSTR strColorNameEnglish
- )
- : m_clrValue( clrValue )
- , m_strColorNameEnglish( strColorNameEnglish )
- , m_nStrTblResID( nStrTblResID )
- {
- nStrTblResID;
- }
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY::~COLORREF_TABLE_ENTRY()
- {
- }
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY &
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY:: operator = (
- const CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY & other
- )
- {
- _AssignFromOther( other );
- return (*this);
- }
- void CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY::_AssignFromOther(
- const CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY & other
- )
- {
- m_nStrTblResID = other.m_nStrTblResID;
- m_clrValue = other.m_clrValue;
- m_strColorNameEnglish = other.m_strColorNameEnglish;
- }
- CExtSafeString CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY::GetLocalColorName() const
- {
- __PROF_UIS_MANAGE_STATE;
- CExtSafeString _sColorNameLocal;
- if( m_nStrTblResID != 0 )
- {
- g_ResourceManager->LoadString( _sColorNameLocal, m_nStrTblResID );
- if( ! _sColorNameLocal.IsEmpty() )
- return _sColorNameLocal;
- }
- return CExtSafeString( m_strColorNameEnglish );
- }
- // table captured from color picker
- // control source by Chris Maunder
- const CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY
- CExtPopupColorMenuWnd::g_arrDefaultColors[ 40 ] =
- {
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BLACK, RGB(0x00, 0x00, 0x00), _T("Black") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BROWN, RGB(0xA5, 0x2A, 0x00), _T("Brown") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_OLIVE_GREEN, RGB(0x00, 0x40, 0x40), _T("Dark Olive Green") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_GREEN, RGB(0x00, 0x55, 0x00), _T("Dark Green") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_TEAL, RGB(0x00, 0x00, 0x5E), _T("Dark Teal") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_BLUE, RGB(0x00, 0x00, 0x8B), _T("Dark blue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_INDIGO, RGB(0x4B, 0x00, 0x82), _T("Indigo") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_GREY, RGB(0x28, 0x28, 0x28), _T("Dark grey") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_RED, RGB(0x8B, 0x00, 0x00), _T("Dark red") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_ORANGE, RGB(0xFF, 0x68, 0x20), _T("Orange") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_YELLOW, RGB(0x8B, 0x8B, 0x00), _T("Dark yellow") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_GREEN, RGB(0x00, 0x93, 0x00), _T("Green") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_TEAL, RGB(0x38, 0x8E, 0x8E), _T("Teal") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BLUE, RGB(0x00, 0x00, 0xFF), _T("Blue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BLUE_GREY, RGB(0x7B, 0x7B, 0xC0), _T("Blue-grey") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_GREY_50, RGB(0x66, 0x66, 0x66), _T("Grey - 50") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_RED, RGB(0xFF, 0x00, 0x00), _T("Red") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_LIGHT_ORANGE, RGB(0xFF, 0xAD, 0x5B), _T("Light orange") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_LIME, RGB(0x32, 0xCD, 0x32), _T("Lime") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_SEA_GREEN, RGB(0x3C, 0xB3, 0x71), _T("Sea green") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_AQUA, RGB(0x7F, 0xFF, 0xD4), _T("Aqua") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_LIGHT_BLUE, RGB(0x7D, 0x9E, 0xC0), _T("Light blue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_VIOLET, RGB(0x80, 0x00, 0x80), _T("Violet") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_GREY_40, RGB(0x7F, 0x7F, 0x7F), _T("Grey - 40") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_PINK, RGB(0xFF, 0xC0, 0xCB), _T("Pink") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_GOLD, RGB(0xFF, 0xD7, 0x00), _T("Gold") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_YELLOW, RGB(0xFF, 0xFF, 0x00), _T("Yellow") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BRIGHT_GREEN, RGB(0x00, 0xFF, 0x00), _T("Bright green") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_TURQUOISE, RGB(0x40, 0xE0, 0xD0), _T("Turquoise") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_SKYBLUE, RGB(0xC0, 0xFF, 0xFF), _T("Skyblue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_PLUM, RGB(0x48, 0x00, 0x48), _T("Plum") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_LIGHT_GREY, RGB(0xC0, 0xC0, 0xC0), _T("Light grey") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_ROSE, RGB(0xFF, 0xE4, 0xE1), _T("Rose") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_TAN, RGB(0xD2, 0xB4, 0x8C), _T("Tan") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_LIGHT_YELLOW, RGB(0xFF, 0xFF, 0xE0), _T("Light yellow") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_PALE_GREEN, RGB(0x98, 0xFB, 0x98), _T("Pale green ") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_PALE_TURQUOISE, RGB(0xAF, 0xEE, 0xEE), _T("Pale turquoise") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_PALE_BLUE, RGB(0x68, 0x83, 0x8B), _T("Pale blue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_LAVENDER, RGB(0xE6, 0xE6, 0xFA), _T("Lavender") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_WHITE, RGB(0xFF, 0xFF, 0xFF), _T("White") ),
- };
- const CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY
- CExtPopupColorMenuWnd::g_arrDefaultColorsLess[ 16 ] =
- {
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BLACK, RGB(0x00, 0x00, 0x00), _T("Black") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_GREY_50, RGB(0x66, 0x66, 0x66), _T("Grey - 50") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_RED, RGB(0x8B, 0x00, 0x00), _T("Dark red") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_YELLOW, RGB(0x8B, 0x8B, 0x00), _T("Dark yellow") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_GREEN, RGB(0x00, 0x93, 0x00), _T("Green") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_INDIGO, RGB(0x4B, 0x00, 0x82), _T("Indigo") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_BLUE, RGB(0x00, 0x00, 0x8B), _T("Dark blue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_DARK_TEAL, RGB(0x00, 0x00, 0x5E), _T("Dark Teal") ),
-
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_WHITE, RGB(0xFF, 0xFF, 0xFF), _T("White") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_LIGHT_GREY, RGB(0xC0, 0xC0, 0xC0), _T("Light grey") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_RED, RGB(0xFF, 0x00, 0x00), _T("Red") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_YELLOW, RGB(0xFF, 0xFF, 0x00), _T("Yellow") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BRIGHT_GREEN, RGB(0x00, 0xFF, 0x00), _T("Bright green") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_SKYBLUE, RGB(0xC0, 0xFF, 0xFF), _T("Skyblue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_BLUE, RGB(0x00, 0x00, 0xFF), _T("Blue") ),
- CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY( IDS_EXT_COLOR_NAME_ROSE, RGB(0xFF, 0xE4, 0xE1), _T("Rose") ),
- };
- CExtPopupColorMenuWnd::CExtPopupColorMenuWnd()
- : m_pClrValueFinal( NULL )
- , m_bHelperInNotifyColorChanged( false )
- , m_sizeColorItemCell( 16, 16 )
- , m_sizeColorItemSpaces( 2, 2 )
- , m_nColorIdxCurr( -1 )
- , m_nInitialColorIdx( -1 )
- , m_hWndNotifyColorChanged( NULL ) // - use command targed
- , m_clrInitial( COLORREF(-1) ) // unexisting
- , m_clrDefault( RGB( 0, 0, 0 ) )
- , m_bEnableBtnColorDefault( true )
- , m_bEnableBtnColorCustom( true )
- , m_rcDefColorText( 0, 0, 0, 0 )
- , m_rcCustColorText( 0, 0, 0, 0 )
- , m_lParamCookie( 0 )
- , m_nColorsInRow( 8 )
- {
- ASSERT(
- __N_CLR_COUNT ==
- ( sizeof( g_arrDefaultColors )
- / sizeof( g_arrDefaultColors[ 0 ] )
- )
- );
- if( ! g_ResourceManager->LoadString( m_sBtnTextColorDefault, IDS_COLOR_DEFAULT ) )
- m_sBtnTextColorDefault = _T("Default Color");
- if( ! g_ResourceManager->LoadString( m_sBtnTextColorCustom, IDS_COLOR_CUSTOM ) )
- m_sBtnTextColorCustom = _T("Custom Color ...");
- SetColors8x5();
- }
- CExtPopupColorMenuWnd::~CExtPopupColorMenuWnd()
- {
- _RemoveAllColorEntries();
- }
- void CExtPopupColorMenuWnd::_RemoveAllColorEntries()
- {
- int nIdx, nColorCellCount = (int)m_arrColors.GetSize();
- for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- {
- COLORREF_TABLE_ENTRY * pCTE = m_arrColors[ nIdx ];
- ASSERT( pCTE != NULL );
- delete pCTE;
- }
- m_arrColors.RemoveAll();
- }
- bool CExtPopupColorMenuWnd::IsAllItemsRarelyUsed() const
- {
- ASSERT_VALID( this );
- return false;
- }
- CExtPopupMenuTipWnd::e_tip_style_t CExtPopupColorMenuWnd::_CoolTipGetStyle() const
- {
- ASSERT_VALID( this );
- return g_eTtsColorMenu;
- }
- BOOL CExtPopupColorMenuWnd::OnQueryNewPalette()
- {
- ASSERT_VALID( this );
- Invalidate();
- return CWnd::OnQueryNewPalette();
- }
- void CExtPopupColorMenuWnd::OnPaletteChanged(CWnd* pFocusWnd)
- {
- ASSERT_VALID( this );
- CWnd::OnPaletteChanged(pFocusWnd);
- if( pFocusWnd->GetSafeHwnd() != GetSafeHwnd() )
- {
- Invalidate();
- }
- }
- CSize CExtPopupColorMenuWnd::_GetColorItemCellSize() const
- {
- ASSERT_VALID( this );
- ASSERT( m_sizeColorItemCell.cx > 0 );
- ASSERT( m_sizeColorItemCell.cy > 0 );
- return m_sizeColorItemCell;
- }
- CSize CExtPopupColorMenuWnd::_GetColorItemSpaces() const
- {
- ASSERT_VALID( this );
- ASSERT( m_sizeColorItemSpaces.cx >= 0 );
- ASSERT( m_sizeColorItemSpaces.cy >= 0 );
- return m_sizeColorItemSpaces;
- }
- int CExtPopupColorMenuWnd::_GetColorCellCount() const
- {
- ASSERT_VALID( this );
- return int(m_arrColors.GetSize());
- }
- int CExtPopupColorMenuWnd::_GetColorsInRow() const
- {
- ASSERT_VALID( this );
- ASSERT( m_nColorsInRow > 0 );
- return m_nColorsInRow;
- }
- void CExtPopupColorMenuWnd::_SetColorsInRow( int nColorsInRow )
- {
- ASSERT_VALID( this );
- ASSERT( nColorsInRow > 0 );
- m_nColorsInRow = nColorsInRow;
- }
- CSize CExtPopupColorMenuWnd::_GetColorDimension() const
- {
- ASSERT_VALID( this );
- int nColorCellCount = _GetColorCellCount();
- int nColorsInRow = _GetColorsInRow();
- int nRest = nColorCellCount % nColorsInRow;
- CSize _sizeDimension(
- nColorsInRow,
- nColorCellCount / nColorsInRow +
- ( ( nRest > 0 ) ? 1 : 0 )
- );
- if( _sizeDimension.cy == 1 )
- _sizeDimension.cx = nColorCellCount;
- return _sizeDimension;
- }
- const CExtPopupColorMenuWnd::COLORREF_TABLE_ENTRY *
- CExtPopupColorMenuWnd::_GetColorEntry( int nIndex ) const
- {
- ASSERT_VALID( this );
- if( nIndex < 0 || nIndex >= _GetColorCellCount() )
- {
- ASSERT( FALSE );
- return NULL;
- }
- const COLORREF_TABLE_ENTRY * pCTE = m_arrColors[ nIndex ];
- ASSERT( pCTE != NULL );
- return pCTE;
- }
- COLORREF CExtPopupColorMenuWnd::_GetColorValue( int nIndex ) const
- {
- ASSERT_VALID( this );
- const COLORREF_TABLE_ENTRY * pCTE = _GetColorEntry( nIndex );
- if( pCTE == NULL )
- return RGB( 0, 0, 0 );
- return pCTE->m_clrValue;
- }
- CExtSafeString CExtPopupColorMenuWnd::_GetLocalColorName( int nIndex ) const
- {
- ASSERT_VALID( this );
- const COLORREF_TABLE_ENTRY * pCTE = _GetColorEntry( nIndex );
- if( pCTE == NULL )
- return CExtSafeString( _T("") );
- return pCTE->GetLocalColorName();
- }
- int CExtPopupColorMenuWnd::_GetNextKeyColor(
- int nColorIndex,
- UINT nChar // VK_LEFT, VK_RIGHT, VK_UP and VK_DOWN
- )
- {
- ASSERT_VALID( this );
- int nColorCellCount = _GetColorCellCount();
- if( nColorCellCount == 0 )
- return -1;
- if( nColorIndex < 0 || nColorIndex >= nColorCellCount )
- return 0;
- int nColorsInRow = _GetColorsInRow();
- int nRest = nColorCellCount % nColorsInRow;
- CSize _sizeDimension(
- nColorsInRow,
- nColorCellCount / nColorsInRow +
- ( ( nRest > 0 ) ? 1 : 0 )
- );
- if( _sizeDimension.cy == 1 )
- _sizeDimension.cx = nColorCellCount;
- int nColNo = nColorIndex % nColorsInRow;
- ASSERT( 0 <= nColNo && nColNo < _sizeDimension.cx );
- int nRowNo = nColorIndex / nColorsInRow;
- ASSERT( 0 <= nRowNo && nRowNo < _sizeDimension.cy );
- switch( nChar )
- {
- case VK_LEFT:
- {
- if( _sizeDimension.cx == 1 )
- return nColorIndex;
- if( nColNo > 0 )
- nColNo --;
- else
- {
- int nCountInRow = _sizeDimension.cx;
- if( nRowNo == (_sizeDimension.cy-1) && nRest > 0 )
- nCountInRow = nRest;
- nColNo = nCountInRow - 1;
- }
- }
- break;
- case VK_RIGHT:
- {
- if( _sizeDimension.cx == 1 )
- return nColorIndex;
- int nCountInRow = _sizeDimension.cx;
- if( nRowNo == (_sizeDimension.cy-1) && nRest > 0 )
- nCountInRow = nRest;
- if( nColNo >= (nCountInRow-1) )
- nColNo = 0 ;
- else
- nColNo ++;
- }
- break;
- case VK_UP:
- {
- if( _sizeDimension.cy == 1 )
- return nColorIndex;
- if( nRowNo > 0 )
- nRowNo --;
- else
- {
- nRowNo = _sizeDimension.cy - 1;
- if( nRest > 0 && nColNo >= nRest )
- {
- nRowNo --;
- ASSERT( nRowNo >= 0 );
- }
- }
- }
- break;
- case VK_DOWN:
- {
- if( _sizeDimension.cy == 1 )
- return nColorIndex;
- nRowNo ++;
- if( nRowNo >= _sizeDimension.cy )
- nRowNo = 0;
- else if( nRowNo == (_sizeDimension.cy-1) && ( nRest > 0 ) )
- {
- if( nColNo >= nRest )
- nRowNo = 0;
- }
- }
- break;
- #ifdef _DEBUG
- default:
- {
- ASSERT( FALSE );
- }
- break;
- #endif // _DEBUG
- } // switch( nChar )
- nColorIndex = nRowNo * _sizeDimension.cx + nColNo;
- ASSERT( 0 <= nColorIndex && nColorIndex < nColorCellCount );
- return nColorIndex;
- }
- void CExtPopupColorMenuWnd::AddColor( COLORREF_TABLE_ENTRY * pCTE )
- {
- ASSERT_VALID( this );
- ASSERT( pCTE != NULL );
- m_arrColors.Add( pCTE );
- }
- void CExtPopupColorMenuWnd::RemoveAllColors()
- {
- ASSERT_VALID( this );
- _RemoveAllColorEntries();
- }
- void CExtPopupColorMenuWnd::SetColorsInRow( int nColorsInRow )
- {
- ASSERT_VALID( this );
- _SetColorsInRow( nColorsInRow );
- }
- void CExtPopupColorMenuWnd::SetColors8x5()
- {
- ASSERT_VALID( this );
- SetColorsInRow( 8 );
- RemoveAllColors();
- int nIdx, nColorCellCount = sizeof( g_arrDefaultColors ) / sizeof( g_arrDefaultColors[ 0 ] );
- for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- {
- const COLORREF_TABLE_ENTRY * pCTE = g_arrDefaultColors + nIdx;
- AddColor( new COLORREF_TABLE_ENTRY( *pCTE ) );
- } // for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- }
- void CExtPopupColorMenuWnd::SetColors8x2()
- {
- ASSERT_VALID( this );
- SetColorsInRow( 8 );
- RemoveAllColors();
- int nIdx, nColorCellCount = sizeof( g_arrDefaultColorsLess ) / sizeof( g_arrDefaultColorsLess[ 0 ] );
- for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- {
- const COLORREF_TABLE_ENTRY * pCTE = g_arrDefaultColorsLess + nIdx;
- AddColor( new COLORREF_TABLE_ENTRY( *pCTE ) );
- } // for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- }
- CSize CExtPopupColorMenuWnd::_CalcTrackSize()
- {
- ASSERT_VALID( this );
- CExtPaintManager * pPM = PmBridge_GetPM();
- ASSERT_VALID( pPM );
- CRect rcMB = OnQueryMenuBorderMetrics();
- int nMenuShadowSize = OnQueryMenuShadowSize();
- CSize _sizeColorItemCell = _GetColorItemCellSize();
- CSize _sizeColorItemSpaces = _GetColorItemSpaces();
- CSize _sizeDimension = _GetColorDimension();
- CSize _size(
- (_sizeColorItemCell.cx + _sizeColorItemSpaces.cx * 2 )
- * _sizeDimension.cx
- + rcMB.left + rcMB.right + nMenuShadowSize
- ,
- (_sizeColorItemCell.cy + _sizeColorItemSpaces.cy * 2 )
- * _sizeDimension.cy
- + rcMB.left + rcMB.right + nMenuShadowSize
- );
- bool bTearOff = _IsTearOff();
- int nTearOffCaptionHeight = bTearOff ? _GetTearOffCaptionHeight() : 0;
- if( m_bEnableBtnColorDefault )
- {
- _size.cy +=
- PmBridge_GetPM()->GetSeparatorHeight()
- + __EXT_MENU_GAP*2;
- CExtSafeString sMeasureText( m_sBtnTextColorDefault );
- sMeasureText.Replace( _T("&"), _T("") );
- CWindowDC dc(NULL);
- CFont * pOldFont =
- dc.SelectObject( &(PmBridge_GetPM()->m_FontNormal) );
- ASSERT( pOldFont != NULL );
- CRect rect(0,0,0,0);
- CSize _sizeDefColorText;
- _sizeDefColorText.cy = DrawText(
- dc.GetSafeHdc(),
- sMeasureText,
- sMeasureText.GetLength(),
- &rect,
- DT_CALCRECT|DT_SINGLELINE
- |DT_LEFT|DT_VCENTER
- );
- _sizeDefColorText.cx = rect.Width();
- dc.SelectObject( pOldFont );
- _sizeDefColorText.cx += pPM->UiScalingDo( __EXT_MENU_GAP * 2, CExtPaintManager::__EUIST_X );
- INT nMenuMinHeight = pPM->UiScalingDo( __EXT_MENU_MIN_HEIGHT, CExtPaintManager::__EUIST_Y );
- if( _sizeDefColorText.cy < nMenuMinHeight )
- _sizeDefColorText.cy = nMenuMinHeight;
- _size.cy += _sizeDefColorText.cy;
- if( _size.cx < _sizeDefColorText.cx )
- _size.cx = _sizeDefColorText.cx;
- CPoint pt(
- rcMB.left + __EXT_MENU_GAP,
- rcMB.top + __EXT_MENU_GAP
- );
- m_rcDefColorText.SetRect(
- pt,
- pt
- +
- CSize(
- max( _size.cx , _sizeDefColorText.cx )
- - __EXT_MENU_GAP*2
- - rcMB.left - rcMB.right
- - nMenuShadowSize
- ,
- _sizeDefColorText.cy
- )
- );
- if( bTearOff )
- m_rcDefColorText.OffsetRect( 0, nTearOffCaptionHeight );
- } // if( m_bEnableBtnColorDefault )
- if( m_bEnableBtnColorCustom )
- {
- _size.cy +=
- PmBridge_GetPM()->GetSeparatorHeight()
- + __EXT_MENU_GAP*2
- + 1 // + 2.28
- ;
- CExtSafeString sMeasureText( m_sBtnTextColorCustom );
- sMeasureText.Replace( _T("&"), _T("") );
- CWindowDC dc(NULL);
- CFont * pOldFont =
- dc.SelectObject( &(PmBridge_GetPM()->m_FontNormal) );
- ASSERT( pOldFont != NULL );
- CRect rect(0,0,0,0);
- CSize _sizeCustColorText;
- _sizeCustColorText.cy = DrawText(
- dc.GetSafeHdc(),
- sMeasureText,
- sMeasureText.GetLength(),
- &rect,
- DT_CALCRECT|DT_SINGLELINE
- |DT_LEFT|DT_VCENTER
- );
- _sizeCustColorText.cx = rect.Width();
- dc.SelectObject( pOldFont );
- _sizeCustColorText.cx += __EXT_MENU_GAP * 2;
- INT nMenuMinHeight = pPM->UiScalingDo( __EXT_MENU_MIN_HEIGHT, CExtPaintManager::__EUIST_Y );
- if( _sizeCustColorText.cy < nMenuMinHeight )
- _sizeCustColorText.cy = nMenuMinHeight;
- _size.cy += _sizeCustColorText.cy;
- if( _size.cx < _sizeCustColorText.cx )
- _size.cx = _sizeCustColorText.cx;
- CPoint pt(
- rcMB.left + __EXT_MENU_GAP,
- rcMB.top + __EXT_MENU_GAP
- );
- m_rcCustColorText.SetRect(
- pt,
- pt
- +
- CSize(
- max( _size.cx , _sizeCustColorText.cx )
- - __EXT_MENU_GAP*2
- - rcMB.left - rcMB.right
- - nMenuShadowSize
- ,
- _sizeCustColorText.cy
- )
- );
- if( m_bEnableBtnColorDefault )
- m_rcCustColorText.OffsetRect(
- 0,
- m_rcCustColorText.Height()
- + __EXT_MENU_GAP*2
- + PmBridge_GetPM()->GetSeparatorHeight()
- );
- m_rcCustColorText.OffsetRect(
- 0,
- rcMB.top +
- ( _sizeColorItemCell.cy + _sizeColorItemSpaces.cy * 2 )
- * _sizeDimension.cy
- + _sizeColorItemSpaces.cy
- );
- if( bTearOff )
- m_rcCustColorText.OffsetRect( 0, nTearOffCaptionHeight );
- } // if( m_bEnableBtnColorCustom )
- _size.cx += m_nLeftAreaWidth;
- return _size;
- }
- CPoint CExtPopupColorMenuWnd::_GetColorItemCoord( int nIdx )
- {
- ASSERT_VALID( this );
- CSize _sizeDimension = _GetColorDimension();
- ASSERT( nIdx >= 0 && nIdx < _GetColorCellCount() );
- int nX = nIdx % _sizeDimension.cx;
- ASSERT( nX < _sizeDimension.cx );
- int nY = nIdx / _sizeDimension.cx;
- ASSERT( nY < _sizeDimension.cy );
- return CPoint( nX, nY );
- }
- CRect CExtPopupColorMenuWnd::_GetColorItemRect(int nIdx)
- {
- ASSERT_VALID( this );
- ASSERT( nIdx >= 0 && nIdx < _GetColorCellCount() );
- CPoint ptCoord = _GetColorItemCoord( nIdx );
- CRect rcMB = OnQueryMenuBorderMetrics();
- CSize _sizeColorItemCell = _GetColorItemCellSize();
- CSize _sizeColorItemSpaces = _GetColorItemSpaces();
- CRect rcItem(
- CPoint(
- rcMB.left +
- ( _sizeColorItemCell.cx + _sizeColorItemSpaces.cx*2)
- * ptCoord.x
- + _sizeColorItemSpaces.cx
- ,
- rcMB.top +
- ( _sizeColorItemCell.cy + _sizeColorItemSpaces.cy * 2 )
- * ptCoord.y
- + _sizeColorItemSpaces.cy
- ),
- _sizeColorItemCell
- );
- if( m_bEnableBtnColorDefault )
- {
- rcItem.OffsetRect(
- 0,
- m_rcDefColorText.Height()
- + PmBridge_GetPM()->GetSeparatorHeight()
- + __EXT_MENU_GAP*2
- );
- }
- CRect rcClient;
- _GetClientRect( &rcClient );
- rcItem.OffsetRect( rcClient.TopLeft() );
- rcItem.OffsetRect( m_nLeftAreaWidth, 0 );
- if( _IsTearOff() )
- {
- int nTearOffCaptionHeight =
- _GetTearOffCaptionHeight();
- rcItem.OffsetRect( 0, nTearOffCaptionHeight );
- }
- return rcItem;
- }
- CRect CExtPopupColorMenuWnd::_CalcTrackRect()
- {
- ASSERT_VALID( this );
- return CExtPopupMenuWnd::_CalcTrackRect();
- }
- bool CExtPopupColorMenuWnd::_CreateHelper(
- CWnd * pWndCmdReceiver
- )
- {
- ASSERT_VALID( this );
- if( ! CExtPopupMenuWnd::_CreateHelper(
- pWndCmdReceiver
- )
- )
- return false;
- int nIdx =
- _FindCellByColorRef( m_clrInitial );
- if( nIdx >= 0 )
- {
- m_nInitialColorIdx = nIdx;
- m_nColorIdxCurr = nIdx;
- Invalidate();
- }
- CRect rcClient;
- _GetClientRect( &rcClient );
- if( m_bEnableBtnColorDefault )
- {
- m_rcDefColorText.OffsetRect( rcClient.TopLeft() );
- m_rcDefColorText.OffsetRect( m_nLeftAreaWidth, 0 );
- }
- if( m_bEnableBtnColorCustom )
- {
- m_rcCustColorText.OffsetRect( rcClient.TopLeft() );
- m_rcCustColorText.OffsetRect( m_nLeftAreaWidth, 0 );
- }
- return true;
- }
- void CExtPopupColorMenuWnd::_DoPaint( CDC & dcPaint, bool bUseBackBuffer /*= true*/ )
- {
- ASSERT_VALID( this );
- ASSERT_VALID( (&dcPaint) );
- ASSERT( dcPaint.GetSafeHdc() != NULL );
- CRect rcRealClient;
- GetClientRect( &rcRealClient );
- rcRealClient.OffsetRect( OnQueryMenuShadowSize(), 0 );
- CRect rcClient;
- _GetClientRect( &rcClient );
- // Select and realize the palette
- CPalette * pOldPalette = NULL;
- if( ::GetDeviceCaps(dcPaint.m_hDC,RASTERCAPS) & RC_PALETTE )
- {
- pOldPalette = dcPaint.SelectPalette( &PmBridge_GetPM()->m_PaletteWide, FALSE );
- dcPaint.RealizePalette();
- }
- CExtMemoryDC mdc;
- if( bUseBackBuffer )
- {
- mdc.__InitMemoryDC(
- &dcPaint,
- &rcClient,
- CExtMemoryDC::MDCOPT_TO_MEMORY|CExtMemoryDC::MDCOPT_FILL_SURFACE|CExtMemoryDC::MDCOPT_FORCE_DIB
- );
- } // if( bUseBackBuffer )
- CDC & dcDummyRef = mdc;
- CDC & dc = bUseBackBuffer ? dcDummyRef : dcPaint;
- CFont * pOldFont = (CFont *) dc.SelectObject( &PmBridge_GetPM()->m_FontNormal );
- COLORREF clrFill = PmBridge_GetPM()->GetMenuFrameFillColor( this );
- if( clrFill != COLORREF(-1L) )
- dc.FillSolidRect( &rcClient, clrFill );
- PmBridge_GetPM()->PaintMenuBorder( dc, rcClient, this );
- ASSERT( !m_bExpandAvailable );
- ASSERT( !m_bScrollingAvailable );
- CRect rcMB = OnQueryMenuBorderMetrics();
- int nMenuShadowSize = OnQueryMenuShadowSize();
- if( rcClient.top >= rcRealClient.top )
- {
- CRect rcExcludePart(rcRealClient);
- rcExcludePart.bottom =
- rcClient.top + rcMB.top;
- dc.ExcludeClipRect( rcExcludePart );
- }
- if( rcClient.bottom <= rcRealClient.bottom )
- {
- CRect rcExcludePart(rcRealClient);
- rcExcludePart.top =
- rcClient.bottom - rcMB.bottom;
- dc.ExcludeClipRect( rcExcludePart );
- }
- // paint default color button
- if( m_bEnableBtnColorDefault )
- {
- bool bSelected =
- (m_nColorIdxCurr == IDX_DEFAULT_COLOR_BTN) ?
- true : false;
- CExtPaintManager::PAINTPUSHBUTTONDATA _ppbd(
- this,
- true,
- m_rcDefColorText,
- m_sBtnTextColorDefault,
- NULL,
- true,
- bSelected,
- false, // bSelected,
- false,
- true,
- bSelected,
- false,
- false,
- CExtPaintManager::__ALIGN_HORIZ_CENTER|CExtPaintManager::__ALIGN_VERT_CENTER,
- NULL,
- false,
- 0,
- !bSelected
- );
- PmBridge_GetPM()->PaintPushButton( dc, _ppbd );
- CRect rcItem( m_rcDefColorText );
- rcItem.OffsetRect( 0, rcItem.Height() + __EXT_MENU_GAP );
- rcItem.bottom = rcItem.top + PmBridge_GetPM()->GetSeparatorHeight();
- rcItem.top += rcItem.Height()/2;
- rcItem.bottom = rcItem.top+1;
- PmBridge_GetPM()->PaintSeparator( dc, rcItem, false, true, this );
- }
- CSize _sizeColorItemSpaces = _GetColorItemSpaces();
- if( m_bEnableBtnColorCustom )
- {
- bool bSelected = ( m_nColorIdxCurr == IDX_CUSTOM_COLOR_BTN ) ? true : false;
- CExtPaintManager::PAINTPUSHBUTTONDATA _ppbd(
- this,
- true,
- m_rcCustColorText,
- m_sBtnTextColorCustom,
- NULL,
- true,
- bSelected,
- false, // bSelected,
- false,
- true,
- bSelected,
- false,
- false,
- CExtPaintManager::__ALIGN_HORIZ_CENTER|CExtPaintManager::__ALIGN_VERT_CENTER,
- NULL,
- false,
- 0,
- !bSelected
- );
- PmBridge_GetPM()->PaintPushButton( dc, _ppbd );
- CRect rcItem( m_rcCustColorText );
- rcItem.OffsetRect( 0, - _sizeColorItemSpaces.cy );
- rcItem.bottom = rcItem.top;
- rcItem.top -= PmBridge_GetPM()->GetSeparatorHeight();
- rcItem.top += rcItem.Height()/2;
- rcItem.bottom = rcItem.top+1;
- PmBridge_GetPM()->PaintSeparator( dc, rcItem, false, true, this );
- }
- // paint color buttons
- COLORREF clrColorBorder =
- PmBridge_GetPM()->GetColor( COLOR_3DDKSHADOW, this );
- int nIdx, nColorCellCount = _GetColorCellCount();
- for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- {
- bool bSelected = ( m_nColorIdxCurr == nIdx || m_nInitialColorIdx == nIdx ) ? true : false;
- CRect rcItem = _GetColorItemRect( nIdx );
- CExtPaintManager::PAINTPUSHBUTTONDATA _ppbd(
- this,
- true,
- rcItem,
- _T(""),
- NULL,
- true,
- bSelected,
- bSelected,
- false,
- true,
- bSelected,
- false,
- false,
- CExtPaintManager::__ALIGN_HORIZ_CENTER|CExtPaintManager::__ALIGN_VERT_CENTER,
- NULL,
- false,
- 0,
- !bSelected
- );
- _ppbd.m_bHelperColorCellButton = true;
- PmBridge_GetPM()->PaintPushButton( dc, _ppbd );
- rcItem.DeflateRect( _sizeColorItemSpaces.cx, _sizeColorItemSpaces.cy );
- dc.FillSolidRect( &rcItem, _GetColorValue( nIdx ) );
- dc.Draw3dRect( &rcItem, clrColorBorder,clrColorBorder );
- } // for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- if( m_nLeftAreaWidth > 0 )
- {
- CRect rcLeftArea( rcClient );
- rcLeftArea.right = rcLeftArea.left + m_nLeftAreaWidth;
- rcLeftArea.OffsetRect( rcMB.left, 0 );
- rcLeftArea.DeflateRect( 0, rcMB.top, 0, rcMB.bottom );
- DRAWLEFTAREADATA _DrawLeftAreaData( &dc, &rcLeftArea, this );
- _DrawLeftAreaData.DoOwnerDrawPainting();
- }
- if( _IsTearOff() )
- {
- CPoint point( 0, 0 );
- if( ::GetCursorPos( &point ) )
- ScreenToClient( &point );
- CRect rcTearOff;
- _GetItemRect( IDX_TEAROFF, rcTearOff, false );
- bool bHover =
- (rcTearOff.PtInRect(point))? true : false;
- if( bHover && _FindCustomizeMode() )
- bHover = false;
- bool bPushed = bHover;
- PmBridge_GetPM()->PaintMenuTearOffButton( dc, rcTearOff, bHover, bPushed, this );
- } // if( m_bExpandAvailable )
- CPoint point( 0, 0 );
- ::GetCursorPos( &point );
- ScreenToClient( &point );
- dc.SelectClipRgn( NULL );
- dcPaint.SelectClipRgn( NULL );
- CRgn _rgnCli;
- if( _rgnCli.CreateRectRgnIndirect( &rcClient ) )
- dcPaint.SelectClipRgn( &_rgnCli );
- if( m_bCombineWithEA )
- {
- ASSERT( m_eCombineAlign != __CMBA_NONE );
- dc.SelectClipRgn(NULL);
- CRect rcExcludeClient( m_rcExcludeArea );
- ScreenToClient( &rcExcludeClient );
- CRgn _rgn;
- if( _rgn.CreateRectRgnIndirect( &rcExcludeClient ) )
- dcPaint.SelectClipRgn( &_rgn, RGN_OR );
- PmBridge_GetPM()->PaintMenuCombinedArea( dc, rcExcludeClient, rcClient, m_eCombineAlign, this );
- if( m_pCbPaintCombinedContent != NULL )
- {
- CExtMemoryDC dcCA( &dc, &rcExcludeClient, CExtMemoryDC::MDCOPT_TO_MEMORY|CExtMemoryDC::MDCOPT_FILL_BITS|CExtMemoryDC::MDCOPT_RTL_COMPATIBILITY );
- m_pCbPaintCombinedContent( m_pCbPaintCombinedCookie, dcCA, *this, m_rcExcludeArea, m_eCombineAlign );
- }
- } // if( m_bCombineWithEA )
- dc.SelectObject( pOldFont );
- if( bUseBackBuffer )
- {
- CRgn _rgn;
- if( _rgn.CreateRectRgnIndirect( &rcClient ) )
- dcPaint.SelectClipRgn( &_rgn, RGN_OR );
- ASSERT( mdc.GetSafeHdc() != NULL );
- mdc.__Flush();
- dcPaint.SelectClipRgn( NULL );
- }
- if( _IsPopupWithShadows()
- && m_bAnimFinished
- && nMenuShadowSize > 0
- )
- { // if we need to paint shadow for client area (and combined exclude area)
- dcPaint.SelectClipRgn(NULL);
- CRect
- rcExcludeClient( 0,0,0,0 ),
- rcExcludeScreen( 0,0,0,0 ),
- rcBaseScreen( 0,0,0,0 );
- if( m_bCombineWithEA )
- {
- if( _IsPopupWithShadows()
- && m_bAnimFinished
- && nMenuShadowSize > 0
- )
- { // if we need to paint shadow for combined exclude area
- rcExcludeScreen = m_rcExcludeArea;
- rcExcludeClient = rcExcludeScreen;
- ScreenToClient( &rcExcludeClient );
- dcPaint.ExcludeClipRect( &rcClient );
- rcBaseScreen = rcClient;
- ClientToScreen( &rcBaseScreen );
- VERIFY(
- m_ShadowCMBA.Paint(
- PmBridge_GetPM(),
- dcPaint,
- rcExcludeClient,
- rcExcludeScreen,
- rcBaseScreen,
- nMenuShadowSize
- )
- );
- dcPaint.SelectClipRgn(NULL);
- } // if we need to paint shadow for combined exclude area
- CRect rcExcludePart( m_rcExcludeArea );
- ScreenToClient( &rcExcludePart );
- dcPaint.ExcludeClipRect( &rcExcludePart );
- } // if( m_bCombineWithEA )
- VERIFY(
- m_ShadowMain.Paint(
- PmBridge_GetPM(),
- dcPaint,
- rcClient,
- rcBaseScreen,
- rcExcludeScreen,
- nMenuShadowSize
- )
- );
- } // if we need to paint shadow for client area (and combined exclude area)
- if( pOldPalette != NULL )
- dcPaint.SelectPalette( pOldPalette, FALSE );
- }
- int CExtPopupColorMenuWnd::_ColorItemHitTest(
- const CPoint & point
- )
- {
- ASSERT_VALID( this );
- int nIdx, nColorCellCount = _GetColorCellCount();
- for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- {
- CRect rcItem = _GetColorItemRect( nIdx );
- if( rcItem.PtInRect(point) )
- return nIdx;
- } // for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- if( m_rcDefColorText.PtInRect(point) )
- return IDX_DEFAULT_COLOR_BTN;
- if( m_rcCustColorText.PtInRect(point) )
- return IDX_CUSTOM_COLOR_BTN;
- return -1;
- }
- bool CExtPopupColorMenuWnd::_CanStartLevelTracking()
- {
- ASSERT_VALID( this );
- if( _FindHelpMode() )
- return false;
- if( _FindCustomizeMode() )
- return false;
- return true;
- }
- bool CExtPopupColorMenuWnd::_OnMouseWheel(
- WPARAM wParam,
- LPARAM lParam,
- bool & bNoEat
- )
- {
- ASSERT_VALID( this );
- TranslateMouseWheelEventData_t _td( this, wParam, lParam, bNoEat );
- if( _td.Notify() )
- {
- bNoEat = _td.m_bNoEat;
- return true;
- }
- return true;
- }
- bool CExtPopupColorMenuWnd::_OnMouseMove(
- UINT nFlags,
- CPoint point,
- bool & bNoEat
- )
- {
- ASSERT_VALID( this );
- if( GetSafeHwnd() == NULL )
- return false;
- if( GetSite().GetAnimated() != NULL )
- return true;
- TranslateMouseMoveEventData_t _td( this, nFlags, point, bNoEat );
- if( _td.Notify() )
- {
- bNoEat = _td.m_bNoEat;
- return true;
- }
- CPoint ptScreenClick( point );
- ClientToScreen( &ptScreenClick );
- HWND hWndFromPoint = ::WindowFromPoint( ptScreenClick );
- if( hWndFromPoint != NULL
- && (::__EXT_MFC_GetWindowLong(hWndFromPoint,GWL_STYLE)&WS_CHILD) != NULL
- && ::GetParent(hWndFromPoint) == m_hWnd
- )
- {
- return false; // inplace edit
- }
- if( ! _PtInWndArea( point ) )
- {
- if( m_pWndParentMenu != NULL
- && m_pWndParentMenu->GetSafeHwnd() != NULL
- )
- {
- ASSERT_VALID( m_pWndParentMenu );
- ClientToScreen( &point );
- m_pWndParentMenu->ScreenToClient( &point );
- if( m_pWndParentMenu->_OnMouseMove(
- nFlags,
- point,
- bNoEat
- )
- )
- {
- if( bNoEat )
- return false;
- _OnCancelMode();
- return true;
- }
- }
- return false;
- }
- if( _IsTearOff() )
- {
- if( CExtPopupMenuWnd::_HitTest(point) == IDX_TEAROFF )
- {
- HWND hWndOwn = m_hWnd;
- _ItemFocusCancel( TRUE, FALSE );
- if( ! ::IsWindow( hWndOwn ) )
- return true;
- _SetCapture();
- HCURSOR hCursor = ::LoadCursor( NULL, IDC_SIZEALL );
- ASSERT( hCursor != NULL );
- ::SetCursor( hCursor );
- if( g_bMenuShowCoolTips
- && GetSite().GetCapture() == this
- )
- {
- CRect rcItem;
- _GetItemRect(IDX_TEAROFF,rcItem);
- ClientToScreen( &rcItem );
- bool bShowTip = (!m_bSuspendTips);
- CExtPopupMenuTipWnd & _tipWnd = GetTip();
- if( _tipWnd.GetSafeHwnd() != NULL )
- {
- CRect rcExcludeArea = _tipWnd.GetExcludeArea();
- if( rcExcludeArea == rcItem )
- bShowTip = false;
- }
- if( bShowTip )
- {
- CExtSafeString sTipText;
- g_ResourceManager->LoadString( sTipText, ID_EXT_TEAR_OFF_MENU_TIP );
- if( sTipText.IsEmpty() )
- sTipText = _T("Drag to make this menu float");
- _tipWnd.SetText( sTipText );
- _tipWnd.SetTipStyle( _CoolTipGetStyle() );
- VERIFY(
- _tipWnd.Show(
- this,
- rcItem
- )
- );
- }
- }
- return true;
- }
- HCURSOR hCursor = ::LoadCursor( NULL, IDC_ARROW );
- ASSERT( hCursor != NULL );
- ::SetCursor( hCursor );
- }
- bool bHoverChanged = false;
- int nColorIdxCurr = _ColorItemHitTest(point);
- if( m_nColorIdxCurr != nColorIdxCurr )
- {
- m_nColorIdxCurr = nColorIdxCurr;
- bHoverChanged = true;
- if( m_nColorIdxCurr != IDX_CUSTOM_COLOR_BTN )
- _NotifyColorChanged();
- Invalidate();
- }
- if( m_nColorIdxCurr >= 0 )
- {
- if( g_bMenuShowCoolTips
- && (! m_bSuspendTips )
- && bHoverChanged
- )
- {
- CExtSafeString sTipText =
- _GetLocalColorName( m_nColorIdxCurr );
- if( !sTipText.IsEmpty()
- && GetSite().GetCapture() == this
- && ( GetSite().GetAnimated() == NULL )
- )
- {
- CRect rcItem =
- _GetColorItemRect(m_nColorIdxCurr);
- ClientToScreen( &rcItem );
- CExtPopupMenuTipWnd & _tipWnd = GetTip();
- _tipWnd.SetText( sTipText );
- _tipWnd.SetTipStyle( _CoolTipGetStyle() );
- VERIFY(
- _tipWnd.Show(
- this,
- rcItem
- )
- );
- }
- } // if( nOldCurIndex != nCurIndex )
- }
- else
- {
- HWND hWndOwn = m_hWnd;
- _CoolTipHide();
- if( ! ::IsWindow( hWndOwn ) )
- return true;
- }
- return true;
- }
- bool CExtPopupColorMenuWnd::_OnMouseClick(
- UINT nFlags,
- CPoint point,
- bool & bNoEat
- )
- {
- ASSERT_VALID( this );
- bNoEat;
- if( GetSafeHwnd() == NULL )
- return false;
- if( GetSite().GetAnimated() != NULL )
- return true;
- TranslateMouseClickEventData_t _td( this, nFlags, point, bNoEat );
- if( _td.Notify() )
- {
- bNoEat = _td.m_bNoEat;
- return true;
- }
- bool bLButtonUpCall =
- (nFlags==WM_LBUTTONUP || nFlags==WM_NCLBUTTONUP)
- ? true : false;
- if( m_eCombineAlign != __CMBA_NONE
- && m_bTopLevel
- )
- {
- CRect rcExcludeAreaTest( m_rcExcludeArea );
- ScreenToClient( &rcExcludeAreaTest );
- if( rcExcludeAreaTest.PtInRect( point ) )
- {
- if( !bLButtonUpCall )
- {
- _OnCancelMode();
- return true;
- }
- return false;
- } // if( rcExcludeAreaTest.PtInRect( point ) )
- } // if( m_eCombineAlign != __CMBA_NONE ...
- if( _IsTearOff() && CExtPopupMenuWnd::_HitTest(point) == IDX_TEAROFF )
- {
- if( ! bLButtonUpCall )
- _DoTearOff();
- return true;
- }
- if( ! bLButtonUpCall )
- return false;
- bool bEndSequence = false;
- HWND hWndOwn = GetSafeHwnd();
- ASSERT( hWndOwn != NULL && ::IsWindow(hWndOwn) );
- int m_nColorIdxCurr = _ColorItemHitTest(point);
- if( ( m_nColorIdxCurr >= 0
- || m_nColorIdxCurr == IDX_DEFAULT_COLOR_BTN
- || m_nColorIdxCurr == IDX_CUSTOM_COLOR_BTN
- )
- && ( ! _FindCustomizeMode() )
- )
- {
- bEndSequence = true;
- _NotifyColorChanged( true );
- g_SoundPlayer->PlaySound( CExtSoundPlayer::__ON_MENU_CMD_CLICKED );
- }
- if( ! ::IsWindow(hWndOwn) )
- return true;
- CPoint ptScreenClick( point );
- ClientToScreen( &ptScreenClick );
- HWND hWndFromPoint = ::WindowFromPoint( ptScreenClick );
- if( hWndFromPoint != NULL
- && hWndFromPoint == m_pWndParentMenu->GetSafeHwnd()
- )
- {
- m_pWndParentMenu->ScreenToClient( &ptScreenClick );
- return
- m_pWndParentMenu->_OnMouseClick(
- nFlags,
- ptScreenClick,
- bNoEat
- );
- }
- if( bEndSequence || ( ! bLButtonUpCall ) )
- {
- COLORREF clr = (COLORREF)__ECST_NONE;
- switch( m_nColorIdxCurr )
- {
- case IDX_DEFAULT_COLOR_BTN:
- clr = (COLORREF)__ECST_BUTTON_DEFAULT;
- break;
- case IDX_CUSTOM_COLOR_BTN:
- clr = (COLORREF)__ECST_BUTTON_CUSTOM;
- break;
- default:
- clr = _GetColorValue( m_nColorIdxCurr );
- break;
- }
- _EndSequence( clr );
- // _EndSequence( 0xFFFF );
- }
- return true;
- }
- bool CExtPopupColorMenuWnd::_OnKeyDown(
- UINT nChar,
- UINT nRepCnt,
- UINT nFlags,
- bool & bNoEat
- )
- {
- ASSERT_VALID( this );
- nRepCnt;
- nFlags;
- bNoEat;
- if( GetSafeHwnd() == NULL )
- return true; //false;
- if( GetSite().GetAnimated() != NULL )
- return true;
- TranslateKeyboardEventData_t _td( this, nChar, nRepCnt, nFlags, bNoEat );
- if( _td.Notify() )
- {
- bNoEat = _td.m_bNoEat;
- return true;
- }
- bool bEat = false;
- switch( nChar )
- {
- case VK_RETURN:
- {
- HWND hWndThis = GetSafeHwnd();
- if( ( m_nColorIdxCurr >= 0
- || m_nColorIdxCurr == IDX_DEFAULT_COLOR_BTN
- || m_nColorIdxCurr == IDX_CUSTOM_COLOR_BTN
- )
- && ( ! _FindCustomizeMode() )
- )
- {
- _NotifyColorChanged( true );
- g_SoundPlayer->PlaySound( CExtSoundPlayer::__ON_MENU_CMD_CLICKED );
- }
- if( !::IsWindow(hWndThis) )
- return true;
- COLORREF clr = (COLORREF)__ECST_NONE;
- switch( m_nColorIdxCurr )
- {
- case IDX_DEFAULT_COLOR_BTN:
- clr = (COLORREF)__ECST_BUTTON_DEFAULT;
- break;
- case IDX_CUSTOM_COLOR_BTN:
- clr = (COLORREF)__ECST_BUTTON_CUSTOM;
- break;
- default:
- clr = _GetColorValue( m_nColorIdxCurr );
- break;
- }
- _EndSequence( clr );
- return true;
- } // VK_RETURN
-
- case VK_MENU:
- _EndSequence();
- return true;
-
- case VK_ESCAPE:
- if( m_bTopLevel )
- _EndSequence();
- else
- {
- int nParentCurIndex =
- m_pWndParentMenu->_GetCurIndex();
- ASSERT(
- nParentCurIndex >= 0
- &&
- nParentCurIndex <=
- m_pWndParentMenu->ItemGetCount()
- );
- HWND hWndOwn = m_hWnd;
- m_pWndParentMenu->_SetCapture();
- m_pWndParentMenu->_ItemFocusCancel(
- FALSE
- );
- m_pWndParentMenu->_ItemFocusSet(
- nParentCurIndex,
- FALSE,
- TRUE
- );
- if( ! ::IsWindow( hWndOwn ) )
- return true;
- m_pWndParentMenu->_SetCapture();
- }
- return true;
- // case VK_RIGHT:
- // bEat = true;
- // if( m_nColorIdxCurr < 0 )
- // m_nColorIdxCurr = 0;
- // else
- // {
- // CPoint ptCoord =
- // _GetColorItemCoord( m_nColorIdxCurr );
- // ptCoord.x++;
- // CSize _sizeDimension = _GetColorDimension();
- // if( ptCoord.x >= _sizeDimension.cx )
- // ptCoord.x = 0;
- // m_nColorIdxCurr =
- // ptCoord.x + ptCoord.y * _sizeDimension.cx;
- // }
- // break;
- // case VK_LEFT:
- // bEat = true;
- // if( m_nColorIdxCurr < 0 )
- // m_nColorIdxCurr = 0;
- // else
- // {
- // CPoint ptCoord =
- // _GetColorItemCoord( m_nColorIdxCurr );
- // ptCoord.x--;
- // CSize _sizeDimension = _GetColorDimension();
- // if( ptCoord.x < 0 )
- // ptCoord.x = _sizeDimension.cx - 1;
- // m_nColorIdxCurr =
- // ptCoord.x + ptCoord.y * _sizeDimension.cx;
- // }
- // break;
- // case VK_DOWN:
- // bEat = true;
- // if( m_nColorIdxCurr < 0 )
- // m_nColorIdxCurr = 0;
- // else
- // {
- // CPoint ptCoord =
- // _GetColorItemCoord( m_nColorIdxCurr );
- // ptCoord.y++;
- // CSize _sizeDimension = _GetColorDimension();
- // if( ptCoord.y >= _sizeDimension.cy )
- // ptCoord.y = 0;
- // m_nColorIdxCurr =
- // ptCoord.x + ptCoord.y * _sizeDimension.cx;
- // }
- // break;
- // case VK_UP:
- // bEat = true;
- // if( m_nColorIdxCurr < 0 )
- // m_nColorIdxCurr = 0;
- // else
- // {
- // CPoint ptCoord =
- // _GetColorItemCoord( m_nColorIdxCurr );
- // ptCoord.y--;
- // CSize _sizeDimension = _GetColorDimension();
- // if( ptCoord.y < 0 )
- // ptCoord.y = _sizeDimension.cy - 1;
- // m_nColorIdxCurr =
- // ptCoord.x + ptCoord.y * _sizeDimension.cx;
- // }
- // break;
- case VK_LEFT:
- case VK_RIGHT:
- case VK_UP:
- case VK_DOWN:
- case VK_TAB:
- {
- if( nChar == VK_TAB )
- {
- bool bAlt =
- ( (::GetAsyncKeyState(VK_MENU)&0x8000) != 0 )
- ? true : false;
- bool bCtrl =
- ( (::GetAsyncKeyState(VK_CONTROL)&0x8000) != 0 )
- ? true : false;
- if( bCtrl || bAlt )
- break;
- bool bShift =
- ( (::GetAsyncKeyState(VK_SHIFT)&0x8000) != 0 )
- ? true : false;
- nChar = bShift ? VK_LEFT : VK_RIGHT;
- }
- int nOldIdx = m_nColorIdxCurr;
- m_nColorIdxCurr = _GetNextKeyColor( nOldIdx, nChar );
- bEat = ( m_nColorIdxCurr != nOldIdx ) ? true : false;
- }
- break;
- } // switch( nChar )
- if( bEat )
- {
- HWND hWndOwn = m_hWnd;
- _CoolTipHide();
- if( ! ::IsWindow( hWndOwn ) )
- return true;
- _NotifyColorChanged();
- Invalidate();
- }
- return bEat;
- }
- HWND CExtPopupColorMenuWnd::_GetWndNotifyColorChanged()
- {
- ASSERT_VALID( this );
- if( m_hWndNotifyColorChanged != NULL )
- {
- ASSERT( ::IsWindow(m_hWndNotifyColorChanged) );
- return m_hWndNotifyColorChanged;
- }
- ASSERT( m_hWndCmdReceiver != NULL );
- ASSERT( ::IsWindow(m_hWndCmdReceiver) );
- return m_hWndCmdReceiver;
- }
- void CExtPopupColorMenuWnd::_NotifyColorChanged(
- bool bFinal // = false
- )
- {
- ASSERT_VALID( this );
- if( m_bHelperInNotifyColorChanged )
- return;
- m_bHelperInNotifyColorChanged = true;
- HWND hWndNotify = _GetWndNotifyColorChanged();
- ASSERT( hWndNotify != NULL );
- ASSERT( ::IsWindow(hWndNotify) );
- COLORREF clr = RGB(0,0,0);
- if( m_nColorIdxCurr == IDX_CUSTOM_COLOR_BTN )
- {
- if( bFinal && m_pClrValueFinal != NULL )
- (*m_pClrValueFinal) = (COLORREF)__ECST_BUTTON_CUSTOM;
- // if the following pSite->OnColorItemCustom method invoke return false the method will continue
- // but the popup menu object may be invalid because of it can be closed
- HWND hWnd = m_hWnd;
- LPARAM lParamCookie = m_lParamCookie;
- #if (!defined __EXT_MFC_NO_CUSTOMIZE)
- if( m_pNode != NULL )
- {
- ASSERT_VALID( m_pNode );
- CExtCustomizeSite * pSite = _FindCustomizeSite();
- if( pSite != NULL
- && pSite->OnColorItemCustom( m_pNode )
- )
- {
- if( ! ::IsWindow(hWnd) )
- return;
- m_bHelperInNotifyColorChanged = false;
- return;
- }
- } // if( m_pNode != NULL )
- #endif // (!defined __EXT_MFC_NO_CUSTOMIZE)
-
- ::PostMessage(
- hWndNotify,
- g_nMsgNotifyCustColor,
- 0,
- lParamCookie
- );
- if( hWnd != NULL
- && ::IsWindow( hWnd )
- )
- m_bHelperInNotifyColorChanged = false;
- return;
- } // if( m_nColorIdxCurr == IDX_CUSTOM_COLOR_BTN )
- else if( m_nColorIdxCurr == IDX_DEFAULT_COLOR_BTN )
- clr = m_clrDefault;
- else
- {
- if( m_nColorIdxCurr < 0 )
- {
- clr = m_clrInitial;
- //m_bHelperInNotifyColorChanged = false;
- //return;
- // if( bFinal )
- // {
- // m_bHelperInNotifyColorChanged = false;
- // return;
- // }
- // clr = m_clrInitial;
- }
- else
- clr = _GetColorValue( m_nColorIdxCurr );
- }
- if( bFinal && m_pClrValueFinal != NULL )
- (*m_pClrValueFinal) = clr;
- #if (!defined __EXT_MFC_NO_CUSTOMIZE)
- if( m_pNode != NULL )
- {
- ASSERT_VALID( m_pNode );
- CExtCustomizeSite * pSite = _FindCustomizeSite();
- if( pSite != NULL
- && pSite->OnColorItemChanged(
- NULL,
- m_pNode,
- bFinal,
- clr,
- m_lParamCookie
- )
- )
- {
- m_bHelperInNotifyColorChanged = false;
- return;
- }
- } // if( m_pNode != NULL )
- #endif // (!defined __EXT_MFC_NO_CUSTOMIZE)
- ::PostMessage(
- hWndNotify,
- bFinal
- ? g_nMsgNotifyColorChangedFinally
- : g_nMsgNotifyColorChanged
- ,
- (WPARAM)clr,
- m_lParamCookie
- );
- m_bHelperInNotifyColorChanged = false;
- }
- int CExtPopupColorMenuWnd::_FindCellByColorRef(COLORREF clr)
- {
- ASSERT_VALID( this );
- int nIdx, nColorCellCount = _GetColorCellCount();
- for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- {
- if( _GetColorValue( nIdx ) == clr )
- return nIdx;
- } // for( nIdx = 0; nIdx < nColorCellCount; nIdx++ )
- return -1;
- }
- #if (!defined __EXT_MFC_NO_CUSTOMIZE)
- // CExtCustomizeSite::ICustomizeDropTarget
- DROPEFFECT CExtPopupColorMenuWnd::OnCustomizeTargetOver(
- CExtCustomizeSite::CCmdDragInfo & _dragInfo,
- CPoint point,
- DWORD dwKeyState
- )
- {
- ASSERT_VALID( this );
- ASSERT( !_dragInfo.IsEmpty() );
- _dragInfo;
- point;
- dwKeyState;
- return DROPEFFECT_NONE;
- }
- void CExtPopupColorMenuWnd::OnCustomizeTargetLeave()
- {
- ASSERT_VALID( this );
- }
- bool CExtPopupColorMenuWnd::OnCustomizeTargetDrop(
- CExtCustomizeSite::CCmdDragInfo & _dragInfo,
- CPoint point,
- DROPEFFECT de
- )
- {
- ASSERT_VALID( this );
- ASSERT( !_dragInfo.IsEmpty() );;
- _dragInfo;
- point;
- de;
- return false;
- }
- // CExtCustomizeSite::ICustomizeDropSource
- void CExtPopupColorMenuWnd::OnCustomizeSourceDragComplete(
- DROPEFFECT de,
- bool bCanceled,
- bool * p_bNoResetActiveItem
- )
- {
- ASSERT_VALID( this );
- ASSERT( p_bNoResetActiveItem != NULL );
- de;
- bCanceled;
- p_bNoResetActiveItem;
- }
- #endif // (!defined __EXT_MFC_NO_CUSTOMIZE)
- /////////////////////////////////////////////////////////////////////////////
- // CExtPopupMenuWnd::CInPlaceEditWnd
- const UINT CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgDeleteSelection =
- ::RegisterWindowMessage(
- _T("CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgDeleteSelection")
- );
- const UINT CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgSelectAll =
- ::RegisterWindowMessage(
- _T("CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgSelectAll")
- );
- CExtPopupMenuWnd::CInPlaceEditWnd::CInPlaceEditWnd(
- CExtSafeString * pStr,
- CExtPopupMenuWnd::pCbVerifyTextInput pCbVerify, // = NULL
- CExtPopupMenuWnd::pCbPutTextInputResult pCbResult, // = NULL
- CExtPopupMenuWnd::pCbInplaceEditWndProc pCbWndProc, // = NULL
- LPVOID pCbCookie // = NULL
- )
- : m_pStr( pStr )
- , m_pCbVerifyTextInput( pCbVerify )
- , m_pCbPutTextInputResult( pCbResult )
- , m_pCbWndProc( pCbWndProc )
- , m_pCbCookie( pCbCookie )
- , m_bNoCancelAtKillFocus( false )
- {
- ASSERT( m_pStr != NULL );
- }
- CExtPopupMenuWnd::CInPlaceEditWnd::~CInPlaceEditWnd()
- {
- }
- #ifdef _DEBUG
- void CExtPopupMenuWnd::CInPlaceEditWnd::AssertValid() const
- {
- CEdit::AssertValid();
- ASSERT( m_pStr != NULL );
- }
- #endif // _DEBUG
- bool CExtPopupMenuWnd::CInPlaceEditWnd::Create(
- CExtPopupMenuWnd * pPopup,
- CRect rc,
- UINT nDlgCtrlID
- )
- {
- ASSERT_VALID( this );
- ASSERT_VALID( pPopup );
- ASSERT( pPopup->GetSafeHwnd() != NULL && ::IsWindow(pPopup->GetSafeHwnd()) );
- m_bNoCancelAtKillFocus = false;
- m_sTextSaved = *m_pStr;
-
- bool bRTL = pPopup->OnQueryLayoutRTL();
- if( ! CEdit::Create(
- WS_CHILD|ES_LEFT|ES_AUTOHSCROLL,
- rc,
- pPopup,
- nDlgCtrlID
- )
- )
- {
- ASSERT( FALSE );
- return false;
- }
- SetFont( & pPopup->PmBridge_GetPM()->m_FontNormal );
- SetWindowText( *m_pStr );
- SetSel( 0, -1 ); // SetSel( 0, 0 );
- if( bRTL )
- ModifyStyleEx( 0, WS_EX_LAYOUTRTL, SWP_FRAMECHANGED );
- return true;
- }
- LRESULT CExtPopupMenuWnd::CInPlaceEditWnd::WindowProc(
- UINT message,
- WPARAM wParam,
- LPARAM lParam
- )
- {
- if( m_pCbWndProc != NULL )
- {
- LRESULT lResult = 0L;
- if( m_pCbWndProc(
- lResult,
- message,
- wParam,
- lParam,
- *this,
- m_pCbCookie
- )
- )
- return lResult;
- } // if( m_pCbWndProc != NULL )
- if( message == WM_NCCALCSIZE )
- {
- NCCALCSIZE_PARAMS * pNCCSP =
- reinterpret_cast < NCCALCSIZE_PARAMS * > ( lParam );
- ASSERT( pNCCSP != NULL );
- CRect rcInBarWnd( pNCCSP->rgrc[0] );
- //rcInBarWnd.DeflateRect( 2, 2, 0, 2 );
- rcInBarWnd.DeflateRect( 1, 1, 0, 2 );
- ::CopyRect( &(pNCCSP->rgrc[0]), rcInBarWnd );
- return 0;
- } // if( message == WM_NCCALCSIZE )
- if( message == WM_NCPAINT )
- {
- CRect rcInBarWnd, rcInBarClient;
- GetWindowRect( &rcInBarWnd );
- GetClientRect( &rcInBarClient );
- ClientToScreen( &rcInBarClient );
- if( rcInBarWnd == rcInBarClient )
- return 0;
- CPoint ptDevOffset = -rcInBarWnd.TopLeft();
- rcInBarWnd.OffsetRect( ptDevOffset );
- rcInBarClient.OffsetRect( ptDevOffset );
- CWindowDC dc( this );
- ASSERT( dc.GetSafeHdc() != NULL );
- dc.ExcludeClipRect( &rcInBarClient );
- dc.FillSolidRect(
- rcInBarWnd,
- GetPopupMenu()->PmBridge_GetPM()->GetColor( COLOR_WINDOW, this )
- );
- return 0;
- } // if( message == WM_NCPAINT )
- if( message == WM_GETDLGCODE )
- return DLGC_WANTALLKEYS|DLGC_WANTCHARS|DLGC_WANTTAB;
- if( message == WM_RBUTTONDOWN
- || message == WM_RBUTTONUP
- || message == WM_RBUTTONDBLCLK
- || message == WM_CONTEXTMENU
- )
- return 0;
-
- if( message == WM_KEYDOWN )
- {
- ASSERT( m_pStr != NULL );
- if( int(wParam) == VK_SHIFT
- || int(wParam) == VK_CONTROL
- || int(wParam) == VK_MENU
- )
- return CEdit::WindowProc( message, wParam, lParam );
- if( int(wParam) == VK_ESCAPE || int(wParam) == VK_MENU )
- {
- // if( m_pCbVerifyTextInput != NULL )
- // {
- // if( m_pCbVerifyTextInput(
- // *this,
- // m_pCbCookie,
- // m_sTextSaved.IsEmpty() ? _T("") : ((LPCTSTR)m_sTextSaved),
- // m_sTextSaved.IsEmpty() ? _T("") : ((LPCTSTR)m_sTextSaved)
- // )
- // )
- // {
- // if( m_pCbPutTextInputResult != NULL )
- // m_pCbPutTextInputResult(
- // *this,
- // m_pCbCookie,
- // m_sTextSaved.IsEmpty() ? _T("") : ((LPCTSTR)m_sTextSaved)
- // );
- // else
- // *m_pStr = m_sTextSaved;
- // }
- // } // if( m_pCbVerifyTextInput != NULL )
- // else
- // {
- // if( m_pCbPutTextInputResult != NULL )
- // m_pCbPutTextInputResult(
- // *this,
- // m_pCbCookie,
- // m_sTextSaved.IsEmpty() ? _T("") : ((LPCTSTR)m_sTextSaved)
- // );
- // else
- // *m_pStr = m_sTextSaved;
- // } // else from if( m_pCbVerifyTextInput != NULL )
- if( int(wParam) == VK_MENU )
- {
- GetPopupMenu()->PostMessage( WM_CANCELMODE );
- return 0;
- }
- CExtPopupMenuWnd * pPopup = GetPopupMenu();
- int nCurIndex = pPopup->_GetCurIndex();
- ASSERT(
- 0 <= nCurIndex
- && nCurIndex < pPopup->ItemGetCount()
- );
- pPopup->SetFocus();
- HWND hWndOwn = m_hWnd;
- pPopup->_ItemFocusCancel( FALSE );
- if( ! ::IsWindow( hWndOwn ) )
- return 0;
- pPopup->_ItemFocusSet( nCurIndex, FALSE, TRUE );
- if( ! ::IsWindow( hWndOwn ) )
- return 0;
- return 0;
- } // if( int(wParam) == VK_ESCAPE || int(wParam) == VK_MENU )
- if( int(wParam) == VK_RETURN )
- {
- ASSERT( m_pStr != NULL );
- m_bNoCancelAtKillFocus = true;
- CString sText;
- GetWindowText( sText );
- HWND hWndThis = GetSafeHwnd();
- ASSERT( hWndThis != NULL && ::IsWindow(hWndThis) );
- if( m_pCbVerifyTextInput != NULL )
- {
- if( m_pCbVerifyTextInput(
- *this,
- m_pCbCookie,
- sText.IsEmpty() ? _T("") : ((LPCTSTR)sText),
- sText.IsEmpty() ? _T("") : ((LPCTSTR)sText)
- )
- )
- {
- if( ! ::IsWindow(hWndThis) )
- return 0;
- if( m_pCbPutTextInputResult != NULL )
- m_pCbPutTextInputResult(
- *this,
- m_pCbCookie,
- sText.IsEmpty() ? _T("") : ((LPCTSTR)sText)
- );
- else
- *m_pStr = sText;
- }
- } // if( m_pCbVerifyTextInput != NULL )
- else
- {
- if( ! ::IsWindow(hWndThis) )
- return 0;
- if( m_pCbPutTextInputResult != NULL )
- m_pCbPutTextInputResult(
- *this,
- m_pCbCookie,
- sText.IsEmpty() ? _T("") : ((LPCTSTR)sText)
- );
- else
- *m_pStr = sText;
- } // else from if( m_pCbVerifyTextInput != NULL )
- if( ! ::IsWindow(hWndThis) )
- return 0;
- CExtPopupMenuWnd * pPopup = GetPopupMenu();
- pPopup->PostMessage( WM_CANCELMODE );
- return 0;
- } // if( int(wParam) == VK_RETURN )
- bool bAlt =
- ( (::GetAsyncKeyState(VK_MENU)&0x8000) != 0 )
- ? true : false;
- if( bAlt )
- {
- GetPopupMenu()->PostMessage( WM_CANCELMODE );
- return 0;
- }
-
- ASSERT( m_pStr != NULL );
- CString sTextOld;
- GetWindowText( sTextOld );
- DWORD dwSelSaved = CEdit::GetSel();
- CEdit::SetRedraw( FALSE );
- LRESULT lResult = CEdit::WindowProc( message, wParam, lParam );
- CString sTextNew;
- GetWindowText( sTextNew );
- if( m_pCbVerifyTextInput != NULL )
- {
- if( m_pCbVerifyTextInput(
- *this,
- m_pCbCookie,
- sTextOld.IsEmpty() ? _T("") : ((LPCTSTR)sTextOld),
- sTextNew.IsEmpty() ? _T("") : ((LPCTSTR)sTextNew)
- )
- )
- {
- //*m_pStr = sTextNew;
- }
- else
- {
- CEdit::SetSel( 0, -1 );
- CEdit::ReplaceSel( sTextOld );
- CEdit::SetSel( dwSelSaved );
- }
- } // if( m_pCbVerifyTextInput != NULL )
- //else
- //*m_pStr = sTextNew;
- CEdit::SetRedraw( TRUE );
- Invalidate();
- UpdateWindow();
-
- return lResult;
- } // if( message == WM_KEYDOWN )
- else if( message == WM_CHAR )
- {
- if( wParam == VK_RETURN )
- return 0;
- ASSERT( m_pStr != NULL );
- CString sTextOld;
- GetWindowText( sTextOld );
- DWORD dwSelSaved = CEdit::GetSel();
- CEdit::SetRedraw( FALSE );
- LRESULT lResult = CEdit::WindowProc( message, wParam, lParam );
- CString sTextNew;
- GetWindowText( sTextNew );
- if( m_pCbVerifyTextInput != NULL )
- {
- if( m_pCbVerifyTextInput(
- *this,
- m_pCbCookie,
- sTextOld.IsEmpty() ? _T("") : ((LPCTSTR)sTextOld),
- sTextNew.IsEmpty() ? _T("") : ((LPCTSTR)sTextNew)
- )
- )
- {
- //*m_pStr = sTextNew;
- }
- else
- {
- CEdit::SetSel( 0, -1 );
- CEdit::ReplaceSel( sTextOld );
- CEdit::SetSel( dwSelSaved );
- }
- } // if( m_pCbVerifyTextInput != NULL )
- //else
- //*m_pStr = sTextNew;
- CEdit::SetRedraw( TRUE );
- Invalidate();
- UpdateWindow();
- return lResult;
- } // else if( message == WM_CHAR )
- else if( message == CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgDeleteSelection )
- {
- //int nChrStart = 0, nChrEnd = 0;
- //CEdit::GetSel( nChrStart, nChrEnd );
- DWORD dwSelSaved = CEdit::GetSel();
- int nChrStart = int(LOWORD(dwSelSaved));
- int nChrEnd = int(HIWORD(dwSelSaved));
- if( m_pCbVerifyTextInput != NULL )
- {
- CString sTextOld, sTextNew;
- GetWindowText( sTextOld );
- SetRedraw( FALSE );
- if( nChrStart != nChrEnd )
- CEdit::ReplaceSel( _T("") );
- else
- {
- nChrEnd = nChrStart + 1;
- SetSel( nChrStart, nChrEnd );
- CEdit::ReplaceSel( _T("") );
- SetSel( nChrStart, nChrStart );
- } // else from if( nChrStart != nChrEnd )
- GetWindowText( sTextNew );
- if( m_pCbVerifyTextInput(
- *this,
- m_pCbCookie,
- sTextOld.IsEmpty() ? _T("") : ((LPCTSTR)sTextOld),
- sTextNew.IsEmpty() ? _T("") : ((LPCTSTR)sTextNew)
- )
- )
- {
- //*m_pStr = sTextNew;
- }
- else
- {
- CEdit::SetSel( 0, -1 );
- CEdit::ReplaceSel( sTextOld );
- CEdit::SetSel( dwSelSaved );
- }
- SetRedraw( TRUE );
- Invalidate();
- } // if( m_pCbVerifyTextInput != NULL )
- // if( nChrStart != nChrEnd )
- // CEdit::ReplaceSel( _T("") );
- // else
- // {
- // nChrEnd = nChrStart + 1;
- // SetRedraw( FALSE );
- // SetSel( nChrStart, nChrEnd );
- // CEdit::ReplaceSel( _T("") );
- // SetSel( nChrStart, nChrStart );
- // SetRedraw( TRUE );
- // Invalidate();
- // } // else from if( nChrStart != nChrEnd )
- return 0;
- } // else if( message == CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgDeleteSelection )
- else if( message == CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgSelectAll )
- {
- CEdit::SetSel( 0, -1 );
- return 0;
- } // else if( message == CExtPopupMenuWnd::CInPlaceEditWnd::g_nMsgSelectAll )
- else if( message == WM_KILLFOCUS )
- {
- ASSERT( m_pStr != NULL );
- ShowWindow( SW_HIDE );
- if( !m_bNoCancelAtKillFocus )
- SetWindowText( *m_pStr );
- // ASSERT( m_pStr != NULL );
- // CString sText;
- // if( m_bNoCancelAtKillFocus )
- // GetWindowText( sText );
- // else
- // sText = (LPCTSTR)m_sTextSaved;
- // if( m_pCbVerifyTextInput != NULL )
- // {
- // if( m_pCbVerifyTextInput(
- // *this,
- // m_pCbCookie,
- // sText.IsEmpty() ? _T("") : ((LPCTSTR)sText),
- // sText.IsEmpty() ? _T("") : ((LPCTSTR)sText)
- // )
- // )
- // {
- // if( m_pCbPutTextInputResult != NULL )
- // m_pCbPutTextInputResult(
- // *this,
- // m_pCbCookie,
- // sText.IsEmpty() ? _T("") : ((LPCTSTR)sText)
- // );
- // else
- // *m_pStr = sText;
- // }
- // } // if( m_pCbVerifyTextInput != NULL )
- // else
- // {
- // if( m_pCbPutTextInputResult != NULL )
- // m_pCbPutTextInputResult(
- // *this,
- // m_pCbCookie,
- // sText.IsEmpty() ? _T("") : ((LPCTSTR)sText)
- // );
- // else
- // *m_pStr = sText;
- // } // else from if( m_pCbVerifyTextInput != NULL )
- } // else if( message == WM_KILLFOCUS )
- return CEdit::WindowProc( message, wParam, lParam );
- }
- void CExtPopupMenuWnd::CInPlaceEditWnd::PostNcDestroy()
- {
- ASSERT_VALID( this );
- delete this;
- }
- CExtPopupMenuWnd * CExtPopupMenuWnd::CInPlaceEditWnd::GetPopupMenu()
- {
- ASSERT_VALID( this );
- ASSERT( GetSafeHwnd() != NULL && ::IsWindow(GetSafeHwnd()) );
- CWnd * pWndParent = GetParent();
- ASSERT_VALID( pWndParent );
- ASSERT_KINDOF( CExtPopupMenuWnd, pWndParent );
- ASSERT( pWndParent->GetSafeHwnd() != NULL && ::IsWindow(pWndParent->GetSafeHwnd()) );
- return STATIC_DOWNCAST( CExtPopupMenuWnd, pWndParent );
- }
- /////////////////////////////////////////////////////////////////////////////
- // CExtShadowCtrl
- IMPLEMENT_DYNCREATE( CExtShadowCtrl, CWnd );
- CExtShadowCtrl::CExtShadowCtrl()
- : m_rcOuterPadding( 0, 0, 0, 0 )
- , m_rcRenderingPaddingData( 0, 0, 0, 0 )
- , m_hWndParent( NULL )
- {
- }
- CExtShadowCtrl::~CExtShadowCtrl()
- {
- }
- bool CExtShadowCtrl::IsAvailable() const
- {
- ASSERT_VALID( this );
- if( ! g_PaintManager.m_bIsWin2000orLater )
- return false;
- // if( ! CExtPopupMenuWnd::g_bMenuWithShadows )
- // return false;
- if( g_PaintManager.m_pfnSetLayeredWindowAttributes == NULL
- || g_PaintManager.m_pfnUpdateLayeredWindow == NULL
- || CExtPaintManager::stat_GetBPP() < 15
- )
- return false;
- return true;
- }
- bool CExtShadowCtrl::Create(
- HWND hWndParent,
- INT nShadowSize
- )
- { ////// return false;
- ASSERT_VALID( this );
- ASSERT( m_hWnd == NULL );
- ASSERT( nShadowSize >= 0 );
- if( ! IsAvailable() )
- return false;
- ASSERT( g_PaintManager.m_bIsWin2000orLater );
- ASSERT( g_PaintManager.m_pfnSetLayeredWindowAttributes != NULL );
- ASSERT( g_PaintManager.m_pfnUpdateLayeredWindow != NULL );
- if( hWndParent == NULL
- || (! ::IsWindow( hWndParent ) )
- )
- {
- ASSERT( FALSE );
- return false;
- }
- __EXT_MFC_LONG_PTR dwParentStyle = ::__EXT_MFC_GetWindowLong( hWndParent, GWL_STYLE );
- if( ( dwParentStyle & WS_CHILD ) != 0 )
- {
- ASSERT( FALSE );
- return false;
- }
- static TCHAR strShadowClassName[] = _T("Professional Shadow");
- static bool g_bWndClassRegistered = false;
- if( ! g_bWndClassRegistered )
- {
- WNDCLASS _wndClassInfo;
- HINSTANCE hInst = ::AfxGetInstanceHandle();
- if( ! ::GetClassInfo( hInst, strShadowClassName, &_wndClassInfo ) )
- {
- _wndClassInfo.style = __SHADOW_WNDCLASS_STYLES__;
- _wndClassInfo.lpfnWndProc = ::DefWindowProc;
- _wndClassInfo.cbClsExtra = _wndClassInfo.cbWndExtra = 0;
- _wndClassInfo.hInstance = hInst;
- _wndClassInfo.hIcon = NULL;
- _wndClassInfo.hCursor = ::LoadCursor( NULL, IDC_ARROW );
- ASSERT( _wndClassInfo.hCursor != NULL );
- _wndClassInfo.hbrBackground = NULL;
- _wndClassInfo.lpszMenuName = NULL;
- _wndClassInfo.lpszClassName = strShadowClassName;
- if( !::AfxRegisterClass( & _wndClassInfo ) )
- {
- ASSERT( FALSE );
- return false;
- }
- }
- g_bWndClassRegistered = true;
- } // if( ! g_bWndClassRegistered )
- if( m_bmpLayerSource.IsEmpty() )
- {
- static BYTE g_arrBmpBytes1x1[] =
- {
- 0x42,0x4D,0x36,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x01,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,
- 0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x2B,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0x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,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x0E,0x0E
- };
- static BYTE g_arrBmpBytes2x2[] =
- {
- 0x42,0x4D,0x36,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x01,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,
- 0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x2B,0x00,0x00,0x00,0x0E,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,
- 0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x3A,0x00,0x00,0x00,0x13,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,
- 0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xF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00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- };
- static BYTE g_arrBmpBytes3x3[] =
- {
- 0x42,0x4D,0x36,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x01,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x06,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0x22,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,
- 0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x22,0x00,0x00,0x00,0x11,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x3D,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,
- 0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x3D,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x1A,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,
- 0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x4D,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x1A,0xFF,0xFF,0xF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F,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00
- };
- static BYTE g_arrBmpBytes4x4[] =
- {
- 0x42,0x4D,0x36,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x01,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x0B,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x1C,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,
- 0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x1C,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x0E,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,
- 0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,
- 0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,
- 0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x1E,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,
- 0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x1F,0xFF,0xFF,0xFF,0x00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F,0x00,0xFF,0xFF,
- 0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x04,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,
- 0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x01
- };
- static BYTE g_arrBmpBytes5x5[] =
- {
- 0x42,0x4D,0x36,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x01,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,
- 0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x0B,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x1C,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,
- 0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x1C,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x0B,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x0E,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,
- 0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x23,0x00,0x00,0x00,0x18,0x00,0x00,0x00,0x0E,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,
- 0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x44,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x34,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,
- 0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x4A,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x1E,0x00,0x00,0x00,0x12,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xF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FF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,
- 0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x01
- };
- static BYTE g_arrBmpBytes6x6[] =
- {
- 0x42,0x4D,0x36,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x01,0x00,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x0D,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x1D,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,
- 0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x1D,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x0D,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x1A,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,
- 0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2D,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x1A,0x00,0x00,0x00,0x13,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x08,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x0F,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,
- 0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x38,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x28,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x17,0x00,0x00,0x00,0x0F,0x00,0x00,0x00,0x09,0x00,0x00,0x00,0x0B,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x35,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,
- 0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x35,0x00,0x00,0x00,0x2E,0x00,0x00,0x00,0x25,0x00,0x00,0x00,0x1B,0x00,0x00,0x00,0x12,0x00,0x00,0x00,0x0B,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x1D,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,
- 0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x47,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x41,0x00,0x00,0x00,0x3B,0x00,0x00,0x00,0x33,0x00,0x00,0x00,0x29,0x00,0x00,0x00,0x1D,0x00,0x00,0x00,0x14,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x0C,0x00,0x00,0x00,0x15,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x49,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,
- 0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x4B,0x00,0x00,0x00,0x49,0x00,0x00,0x00,0x45,0x00,0x00,0x00,0x3F,0x00,0x00,0x00,0x36,0x00,0x00,0x00,0x2C,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x15,0x00,0x00,0x00,0x0C,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,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xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,
- 0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x05,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x03,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,
- 0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x00,0x00
- };
- LPBYTE pArrBmpBytes = NULL;
- INT nBmpBytesCount = 0;
- CRect _rcOuterPadding( 0, 0, 0, 0 ), _rcRenderingPaddingData( 0, 0, 0, 0 );
- switch( nShadowSize )
- {
- case 0:
- return false;
- case 1:
- pArrBmpBytes = g_arrBmpBytes1x1;
- nBmpBytesCount = INT( sizeof( g_arrBmpBytes1x1 ) / sizeof( g_arrBmpBytes1x1[0] ) );
- _rcOuterPadding.SetRect( 0, 0, 1, 1 );
- _rcRenderingPaddingData.SetRect( 3, 3, 3, 3 );
- break;
- case 2:
- pArrBmpBytes = g_arrBmpBytes2x2;
- nBmpBytesCount = INT( sizeof( g_arrBmpBytes2x2 ) / sizeof( g_arrBmpBytes2x2[0] ) );
- _rcOuterPadding.SetRect( 0, 0, 2, 2 );
- _rcRenderingPaddingData.SetRect( 4, 4, 4, 4 );
- break;
- case 3:
- pArrBmpBytes = g_arrBmpBytes3x3;
- nBmpBytesCount = INT( sizeof( g_arrBmpBytes3x3 ) / sizeof( g_arrBmpBytes3x3[0] ) );
- _rcOuterPadding.SetRect( 0, 0, 3, 3 );
- _rcRenderingPaddingData.SetRect( 6, 6, 6, 6 );
- break;
- case 4:
- pArrBmpBytes = g_arrBmpBytes4x4;
- nBmpBytesCount = INT( sizeof( g_arrBmpBytes4x4 ) / sizeof( g_arrBmpBytes4x4[0] ) );
- _rcOuterPadding.SetRect( 0, 0, 4, 4 );
- _rcRenderingPaddingData.SetRect( 8, 8, 8, 8 );
- break;
- case 5:
- pArrBmpBytes = g_arrBmpBytes5x5;
- nBmpBytesCount = INT( sizeof( g_arrBmpBytes5x5 ) / sizeof( g_arrBmpBytes5x5[0] ) );
- _rcOuterPadding.SetRect( 0, 0, 5, 5 );
- _rcRenderingPaddingData.SetRect( 8, 8, 8, 8 );
- break;
- default:
- nShadowSize = 6;
- pArrBmpBytes = g_arrBmpBytes6x6;
- nBmpBytesCount = INT( sizeof( g_arrBmpBytes6x6 ) / sizeof( g_arrBmpBytes6x6[0] ) );
- _rcOuterPadding.SetRect( 0, 0, 6, 6 );
- _rcRenderingPaddingData.SetRect( 10, 10, 10, 10 );
- break;
- } // switch( nShadowSize )
- ASSERT( pArrBmpBytes != NULL );
- ASSERT( nBmpBytesCount > 0 );
- if( ! m_bmpLayerSource.LoadBMP_Buffer( pArrBmpBytes, nBmpBytesCount, true ) )
- {
- ASSERT( FALSE );
- return false;
- }
- m_rcOuterPadding = _rcOuterPadding;
- m_rcRenderingPaddingData = _rcRenderingPaddingData;
- } // if( m_bmpLayerSource.IsEmpty() )
- CRect rcWnd;
- ::GetWindowRect( hWndParent, &rcWnd );
- rcWnd.InflateRect(
- m_rcOuterPadding.left,
- m_rcOuterPadding.top,
- m_rcOuterPadding.right,
- m_rcOuterPadding.bottom
- );
- CSize _sizeWnd = rcWnd.Size();
- if( m_bmpLayerData.GetSafeHandle() == NULL )
- {
- CExtBitmap _bmpColored;
- CExtBitmap * pBmpSrc = &m_bmpLayerSource;
- COLORREF clrShadow = g_PaintManager->GetShadowAdjustColor();
- if( clrShadow != COLORREF(-1L) )
- {
- _bmpColored = (*pBmpSrc);
- if( ! _bmpColored.IsEmpty() )
- {
- _bmpColored.AdjustHLS( COLORREF(-1L), RGB(0,0,0), 0.0, 0.30, 0.5 );
- _bmpColored.ColorizeMono( COLORREF(-1L), clrShadow );
- pBmpSrc = &_bmpColored;
- }
- } // if( clrShadow != COLORREF(-1L) )
- pBmpSrc->PreMultiplyRGBChannels();
- CWindowDC dcDesktop(NULL);
- BITMAPINFOHEADER bih;
- bih.biSize = sizeof(BITMAPINFOHEADER);
- bih.biWidth = _sizeWnd.cx;
- bih.biHeight = _sizeWnd.cy;
- bih.biPlanes = 1;
- bih.biBitCount = 32;
- bih.biCompression = BI_RGB;
- bih.biSizeImage = bih.biWidth*bih.biHeight;
- bih.biXPelsPerMeter = 0;
- bih.biYPelsPerMeter = 0;
- bih.biClrUsed = 0;
- bih.biClrImportant = 0;
- COLORREF * pClrSurface = NULL;
- HBITMAP hDIB =
- ::CreateDIBSection(
- dcDesktop.GetSafeHdc(),
- (LPBITMAPINFO)&bih,
- DIB_RGB_COLORS,
- (void **)&pClrSurface,
- NULL,
- NULL
- );
- if( hDIB == NULL )
- {
- ASSERT( FALSE );
- return false;
- }
- ASSERT( pClrSurface != NULL );
- CDC dc;
- if( ! dc.CreateCompatibleDC( &dcDesktop ) )
- {
- ASSERT( FALSE );
- return false;
- }
- HGDIOBJ hOld = dc.SelectObject( hDIB );
- CRect rcPadding = m_rcRenderingPaddingData;
- if( ( rcPadding.left + rcPadding.right ) >= _sizeWnd.cx )
- rcPadding.left = rcPadding.right = 0;
- if( ( rcPadding.top + rcPadding.bottom ) >= _sizeWnd.cy )
- rcPadding.top = rcPadding.bottom = 0;
- CWnd * pWndPermanent = CWnd::FromHandlePermanent( hWndParent );
- bool bDefaultSimpleShadow = true;
- if( pWndPermanent != NULL )
- {
- ASSERT_VALID( pWndPermanent );
- CExtPopupMenuWnd * pPopup = DYNAMIC_DOWNCAST( CExtPopupMenuWnd, pWndPermanent );
- if( pPopup != NULL )
- {
- if( pPopup->_IsCombineWithEA() )
- {
- bDefaultSimpleShadow = false;
- CRect rcClient, rcExcludeArea = pPopup->GetExcludeArea();
- pPopup->ScreenToClient( &rcExcludeArea );
- pPopup->_GetClientRect( &rcClient );
- dc.ExcludeClipRect( &rcExcludeArea );
- dc.ExcludeClipRect( &rcClient );
- rcExcludeArea.InflateRect( 0, 0, nShadowSize, nShadowSize );
- rcClient.InflateRect( 0, 0, nShadowSize, nShadowSize );
- pBmpSrc->AlphaBlendSkinParts(
- dc.GetSafeHdc(),
- rcExcludeArea,
- rcPadding,
- CExtBitmap::__EDM_STRETCH,
- true
- );
- pBmpSrc->AlphaBlendSkinParts(
- dc.GetSafeHdc(),
- rcClient,
- rcPadding,
- CExtBitmap::__EDM_STRETCH,
- true
- );
- } // if( pPopup->_IsCombineWithEA() )
- } // if( pPopup != NULL )
- } // if( pWndPermanent != NULL )
- if( bDefaultSimpleShadow )
- {
- CRect rcDst( 0, 0, _sizeWnd.cx, _sizeWnd.cy );
- pBmpSrc->AlphaBlendSkinParts(
- dc.GetSafeHdc(),
- rcDst,
- rcPadding,
- CExtBitmap::__EDM_STRETCH,
- true
- );
- } // if( bDefaultSimpleShadow )
- dc.SelectObject( hOld );
- m_bmpLayerData.Attach( hDIB );
- } // if( m_bmpLayerData.GetSafeHandle() == NULL )
- if( ! CWnd::CreateEx(
- WS_EX_TOPMOST
- |__EXT_MFC_WS_EX_LAYERED
- | WS_EX_TRANSPARENT
- | ( g_PaintManager.m_bIsWin2000orLater
- ? (WS_EX_NOINHERITLAYOUT)
- : 0
- )
- ,
- strShadowClassName,
- NULL,
- WS_POPUP|WS_CLIPSIBLINGS|WS_CLIPCHILDREN,
- rcWnd.left,
- rcWnd.top,
- _sizeWnd.cx,
- _sizeWnd.cy,
- hWndParent,
- (HMENU)NULL
- )
- )
- {
- ASSERT( FALSE );
- return false;
- }
- if( UpdateWindowLayer( (BYTE)255 ) )
- {
- ::SetWindowPos(
- m_hWnd, hWndParent, 0, 0, 0, 0,
- SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE
- |SWP_SHOWWINDOW
- |SWP_NOSENDCHANGING
- |SWP_NOREDRAW
- //|SWP_NOCOPYBITS
- );
- }
- m_hWndParent = hWndParent;
- //SetupHookWndSink( m_hWndParent );
- return true;
- }
- bool CExtShadowCtrl::UpdateWindowLayer(
- BYTE nConstantAlpha
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetSafeHwnd() != NULL );
- ASSERT( g_PaintManager.m_bIsWin2000orLater );
- ASSERT( g_PaintManager.m_pfnSetLayeredWindowAttributes != NULL );
- ASSERT( g_PaintManager.m_pfnUpdateLayeredWindow != NULL );
- return UpdateWindowLayer( m_bmpLayerData, nConstantAlpha );
- }
- bool CExtShadowCtrl::UpdateWindowLayer(
- CBitmap & _bmpLayer,
- BYTE nConstantAlpha
- )
- {
- ASSERT_VALID( this );
- ASSERT( GetSafeHwnd() != NULL );
- ASSERT( g_PaintManager.m_bIsWin2000orLater );
- ASSERT( g_PaintManager.m_pfnSetLayeredWindowAttributes != NULL );
- ASSERT( g_PaintManager.m_pfnUpdateLayeredWindow != NULL );
- if( _bmpLayer.GetSafeHandle() == NULL )
- return false;
- bool bRetVal = false;
- CWindowDC dcDesktop( NULL );
- CDC dcMem;
- if( dcMem.CreateCompatibleDC( &dcDesktop ) )
- {
- CBitmap * pOldBmp = dcMem.SelectObject( &_bmpLayer );
- BITMAP _bi;
- ::memset( &_bi, 0, sizeof(BITMAP) );
- _bmpLayer.GetBitmap( &_bi );
- CExtPaintManager::CExtPaintManagerAutoPtr::__EXT_MFC_BLENDFUNCTION _bf =
- {
- __EXT_MFC_AC_SRC_OVER,
- 0,
- nConstantAlpha,
- __EXT_MFC_AC_SRC_ALPHA
- };
- CRect rcWnd;
- GetWindowRect( &rcWnd );
- CPoint ptSrc( 0, 0 ), ptDst( rcWnd.TopLeft() );
- CSize sizeDst = rcWnd.Size();
- bRetVal =
- g_PaintManager.m_pfnUpdateLayeredWindow(
- GetSafeHwnd(),
- dcDesktop,
- &ptDst,
- &sizeDst,
- dcMem,
- &ptSrc,
- 0,
- &_bf,
- __EXT_MFC_ULW_ALPHA
- ) ? true : false;
- dcMem.SelectObject( pOldBmp );
- } // if( dcMem.CreateCompatibleDC( &dcDesktop ) )
- return bRetVal;
- }
- LRESULT CExtShadowCtrl::WindowProc(
- UINT message,
- WPARAM wParam,
- LPARAM lParam
- )
- {
- switch( message )
- {
- case WM_NCCALCSIZE:
- return 0;
- case WM_NCDESTROY:
- case WM_DESTROY:
- m_hWndParent = NULL;
- // RemoveAllWndHooks();
- if( m_bmpLayerData.GetSafeHandle() != NULL )
- m_bmpLayerData.DeleteObject();
- break;
- } // switch( message )
- LRESULT lResult = CWnd::WindowProc( message, wParam, lParam );
- return lResult;
- }
- //bool CExtShadowCtrl::OnHookWndMsg(
- // LRESULT & lResult,
- // HWND hWndHooked,
- // UINT nMessage,
- // WPARAM & wParam,
- // LPARAM & lParam
- // )
- //{
- //__PROF_UIS_MANAGE_STATE;
- // if( hWndHooked == m_hWndParent && GetSafeHwnd() != NULL )
- // {
- // switch( nMessage )
- // {
- // case WM_DESTROY:
- // case WM_NCDESTROY:
- // DestroyWindow();
- // break;
- // } // switch( nMessage )
- // } // if( hWndHooked == m_hWndParent ...
- //bool bRetVal =
- // CExtHookSink::OnHookWndMsg(
- // lResult,
- // hWndHooked,
- // nMessage,
- // wParam,
- // lParam
- // );
- // return bRetVal;
- //}
- void CExtPopupMenuWnd::_ForceCancelCallbacs()
- {
- ASSERT_VALID( this );
- }