Welcome![Sign In][Sign Up]
Location:
Search - OnEraseBkgnd

Search list

[Special Effectscatchscreen

Description: 把整个桌面屏幕截图,保存下来,然后把对话框设置全屏顶层窗口,然后把保存下来的位图,在OnEraseBkgnd中把整个位图贴到对话框上,然后用像皮筋类选择截取范围,看起来就像操作屏幕一样-entire desktop screenshots, preserved and then set up full-screen dialog top window, then the preservation of the bitmap, in which the entire OnEraseBkgnd Bitmap affixed to the box, then as fitting choice interception category, the screen looks like the same operation
Platform: | Size: 60045 | Author: | Hits:

[GUI DevelopGradualColorWnd

Description: 背景渐变的程序界面设计,基于MFC中的OnEraseBKgnd函数来实现
Platform: | Size: 14192 | Author: 肖月 | Hits:

[Dialog_Windowcatchscreen

Description: 程序是基于对话框,无标题栏,系统菜单,最小化框,最大化框,无边框....,程序初始化时,把整个桌面屏幕截图,保存下来,然后把对话框设置全屏顶层窗口,然后把保存下来的位图,在OnEraseBkgnd中把整个位图贴到对话框上,然后用像皮筋类选择截取范围,看起来就像操作屏幕一样 。
Platform: | Size: 68456 | Author: -- | Hits:

[GUI DevelopDlgWithBackground

Description: 使用位图作为对话框的背景,是一个MFC的程序,重载了OnEraseBkgnd的方法-Bitmap dialog as the background of an MFC procedures, the heavy load of OnEraseBkgnd
Platform: | Size: 115644 | Author: 余割 | Hits:

[GUI DevelopDlgWithBackground

Description: 使用位图作为对话框的背景,是一个MFC的程序,重载了OnEraseBkgnd的方法-Bitmap dialog as the background of an MFC procedures, the heavy load of OnEraseBkgnd
Platform: | Size: 115712 | Author: 余割 | Hits:

[Special Effectscatchscreen

Description: 把整个桌面屏幕截图,保存下来,然后把对话框设置全屏顶层窗口,然后把保存下来的位图,在OnEraseBkgnd中把整个位图贴到对话框上,然后用像皮筋类选择截取范围,看起来就像操作屏幕一样-entire desktop screenshots, preserved and then set up full-screen dialog top window, then the preservation of the bitmap, in which the entire OnEraseBkgnd Bitmap affixed to the box, then as fitting choice interception category, the screen looks like the same operation
Platform: | Size: 59392 | Author: | Hits:

[GUI DevelopGradualColorWnd

Description: 背景渐变的程序界面设计,基于MFC中的OnEraseBKgnd函数来实现-Gradient background of the program interface design, based on the MFC in OnEraseBKgnd function to realize
Platform: | Size: 14336 | Author: 肖月 | Hits:

[Dialog_Windowcatchscreen

Description: 程序是基于对话框,无标题栏,系统菜单,最小化框,最大化框,无边框....,程序初始化时,把整个桌面屏幕截图,保存下来,然后把对话框设置全屏顶层窗口,然后把保存下来的位图,在OnEraseBkgnd中把整个位图贴到对话框上,然后用像皮筋类选择截取范围,看起来就像操作屏幕一样 。-Procedure is based on the dialog box, and no title bar, system menu, minimize box, maximize the frame, no border ...., initialization procedure, the entire desktop screen shots, saved, and then the dialog box set the whole screen top-level window, and then save the bitmap, in OnEraseBkgnd in the whole bitmap paste it into the dialog box, and then used as the scope of the Interception of rubber band of choice, the screen looks like the same operation.
Platform: | Size: 68608 | Author: -- | Hits:

[GUI DevelopBdlg32

Description: 背景贴图的例子,微软出品,包含OnPaint方式、OnEraseBkGnd方式,另外还有Bitmap Button/Static,清晰好懂-Examples of background textures, Microsoft products, including OnPaint methods, OnEraseBkGnd way, there is another Bitmap Button/Static, clear and well understood
Platform: | Size: 321536 | Author: samenpan | Hits:

[Dialog_WindowBkgndSDI

Description: 在单文档框架结构的背景窗口上显示图案。重载视图OnEraseBkgnd函数,添加代码:if(!m_bAnimatedBkgnd) pDC->StretchBlt(0,0, rcClient.right-rcClient.left, rcClient.bottom-rcClient.top, &dcMem, 0,0, bm.bmWidth, bm.bmHeight, SRCCOPY) else { int x=0 int y=0 while(y<rcClient.bottom-rcClient.top) { while(x<rcClient.right-rcClient.left) { pDC->BitBlt(x,y, bm.bmWidth, bm.bmHeight, &dcMem, 0,0, SRCCOPY) x+=bm.bmWidth } x=0 y+=bm.bmHeight } }-Frame structure in a single document window to show the background patterns. View OnEraseBkgnd overloaded function, add the code: if (! M_bAnimatedBkgnd) pDC-
Platform: | Size: 217088 | Author: linxiuguo | Hits:

[Windows DevelopDirectoryList

Description: class CMyTreeCtrl : public CTreeCtrl { // Construction public: CMyTreeCtrl() // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyTreeCtrl) //}}AFX_VIRTUAL // Implementation public: CBitmap m_bitmap BOOL SetBKImage(LPCTSTR LpszResource) virtual ~CMyTreeCtrl() // Generated message map functions protected: //{{AFX_MSG(CMyTreeCtrl) afx_msg void OnPaint() afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd(CDC* pDC) afx_msg void OnMouseMove(UINT nFlags, CPoint point) afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) //}}AFX_MSG DECLARE_MESSAGE_MAP() } -class CMyTreeCtrl: public CTreeCtrl (//Constructionpublic: CMyTreeCtrl ()// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides// ((AFX_VIRTUAL (CMyTreeCtrl)//)) AFX_VIRTUAL// Implementationpublic: CBitmap m_bitmap BOOL SetBKImage (LPCTSTR LpszResource) virtual ~ CMyTreeCtrl ()// Generated message map functionsprotected:// ((AFX_MSG (CMyTreeCtrl) afx_msg void OnPaint () afx_msg void OnItemexpanded (NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd (CDC* pDC ) afx_msg void OnMouseMove (UINT nFlags, CPoint point) afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)//)) AFX_MSG DECLARE_MESSAGE_MAP ())
Platform: | Size: 186368 | Author: zhoujay | Hits:

[Windows Developchat

Description: class CMyTreeCtrl : public CTreeCtrl { // Construction public: CMyTreeCtrl() // Attributes public: // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMyTreeCtrl) //}}AFX_VIRTUAL // Implementation public: CBitmap m_bitmap BOOL SetBKImage(LPCTSTR LpszResource) virtual ~CMyTreeCtrl() // Generated message map functions protected: //{{AFX_MSG(CMyTreeCtrl) afx_msg void OnPaint() afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd(CDC* pDC) afx_msg void OnMouseMove(UINT nFlags, CPoint point) afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt) //}}AFX_MSG DECLARE_MESSAGE_MAP() } -class CMyTreeCtrl: public CTreeCtrl (//Constructionpublic: CMyTreeCtrl ()// Attributespublic:// Operationspublic:// Overrides// ClassWizard generated virtual function overrides// ((AFX_VIRTUAL (CMyTreeCtrl)//)) AFX_VIRTUAL// Implementationpublic: CBitmap m_bitmap BOOL SetBKImage (LPCTSTR LpszResource) virtual ~ CMyTreeCtrl ()// Generated message map functionsprotected:// ((AFX_MSG (CMyTreeCtrl) afx_msg void OnPaint () afx_msg void OnItemexpanded (NMHDR* pNMHDR, LRESULT* pResult) afx_msg BOOL OnEraseBkgnd (CDC* pDC ) afx_msg void OnMouseMove (UINT nFlags, CPoint point) afx_msg void OnVScroll (UINT nSBCode, UINT nPos, CScrollBar* pScrollBar) afx_msg BOOL OnMouseWheel (UINT nFlags, short zDelta, CPoint pt)//)) AFX_MSG DECLARE_MESSAGE_MAP ())
Platform: | Size: 73728 | Author: zhoujay | Hits:

[GUI DevelopGradualColorWnd

Description: 背景渐变的程序界面,重载了OnEraseBkgnd函数来实现在背景中显示颜色-Gradient background of the program interface, a heavy-duty OnEraseBkgnd function to realize in the background display color
Platform: | Size: 14336 | Author: 申晓东 | Hits:

[GUI DevelopDrawBackground

Description: 对多文档窗口应用程序中的主框架,可改变窗口的背景,使程序看起来更专业,窗口改变背景不能简单地用ClassWizard重载OnEraseBkgnd(CDC* pDC)函数的方法 实现。 因为多文档窗口应用程序中的主框架窗口的背景区是一个MDIClient类的窗口,因 此改变背 景与这个MDIClient类的窗口有关。MDIClient类的窗口的句柄是m_hWndMDIClient(在CMDIFrameWnd中)-Multi-document window in the application main frame, can change the window background, make the program look more professional, the window to change the background can not simply use ClassWizard overloaded OnEraseBkgnd (CDC* pDC) function of the method implementation. For multi-document window application the main frame window class background area is a MDIClient window, so to change the background of the window with this MDIClient the class. MDIClient class handle of the window is m_hWndMDIClient (in CMDIFrameWnd in)
Platform: | Size: 5714944 | Author: | Hits:

[Windows Developdialogbackground

Description: 采用3种方式(OnPaint()、OnEraseBkgnd()、OnCtlColor())实现对对话框背景的改写,并且比较3种方式的优缺点及三个函数的执行顺序。-With 3 ways (OnPaint (), OnEraseBkgnd (), OnCtlColor ()) to achieve the background of the dialog box rewritten, and compare the advantages and disadvantages of 3 ways the execution order of the three functions.
Platform: | Size: 19274752 | Author: 李春丽 | Hits:

[Windows Developskinlistdemo

Description: vc++ VC.NET三个版本的CListCtrl美化源码包,C++自绘标题栏和滚动条的CListCtrl,我写了Init( )函数。在这个函数中动态创建了scrollbars ,并且保证原始的scrollbar被隐藏了。还需要考虑到标题栏的大小,因为我们需要保证CStatic的scrollbars在PositionScrollBars()中的位置是正确的。如果窗口的外观发生变化,我需要保证scrollbars 还在正确的位置上。因为重载了OnEraseBkgnd和OnPainthandlers所以我们还要考虑避免list出现闪烁的问题。我也更改了CSkinListCtrl ()中每行的高亮色而不是用系统的颜色。这里就不展示了,自己去看源码吧。-vc++ VC.NET three versions of source package CListCtrl landscaping, C++ from the painting s title bar and scroll bars CListCtrl, I wrote Init () function. In this function dynamically creates scrollbars, and ensure that the original scrollbar is hidden. Also need to consider the size of the title bar, because we need to ensure that the scrollbars CStatic position PositionScrollBars () in is correct. If the appearance of the window changes, I still need to ensure that the correct position scrollbars. Because overloaded OnEraseBkgnd and OnPainthandlers avoid list so we have to consider the problem of flicker. I also changed the CSkinListCtrl () in each row instead of high-bright color system. Here is not to show that he went to see the source of it.
Platform: | Size: 13276160 | Author: kpudn20 | Hits:

[Dialog_Windowbeijingtouming

Description: 对话框的背景透明 关键在OnEraseBkgnd函数-dialog back is transparent OnEraseBkgnd
Platform: | Size: 1428480 | Author: 郭永星 | Hits:

CodeBus www.codebus.net