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

Search list

[GDI-BitmapCBitmap对象操作

Description: 这是关于CBitmap的类操作,包括BMP位图的打开、保存、图像处理等各项操作,是位图编程的基础-CBitmap This is the type of operation, including BMP bitmap open, preservation, image processing and other operations, bitmap based programming
Platform: | Size: 140627 | Author: 邵文坤 | Hits:

[Graph programCBitmap

Description: CBitmap类(位图类)-CBitmap type (bitmap)
Platform: | Size: 3657 | Author: hrg | Hits:

[Graph programCBitmap

Description: CBitmap类(位图类)-CBitmap type (bitmap)
Platform: | Size: 3072 | Author: hrg | Hits:

[GDI-Bitmap位图类

Description: 这个从Cbitmap派生的位图类使你可以通过指定一种颜色把一幅位图变透明,而它的使用差不多同Cbitamp一样简单。-Cbitmap derived from the bitmap type so you can designate an colors of a bitmap transparent change, and its use with Cbitamp almost as simple.
Platform: | Size: 1024 | Author: 张雨 | Hits:

[GDI-BitmapCBitmap对象操作

Description: 这是关于CBitmap的类操作,包括BMP位图的打开、保存、图像处理等各项操作,是位图编程的基础-CBitmap This is the type of operation, including BMP bitmap open, preservation, image processing and other operations, bitmap based programming
Platform: | Size: 1375232 | Author: 邵文坤 | Hits:

[Graph programBmpProc定义

Description: BMP位图处理类定义头文件,注意:类CBmpProc是从CBitmap类公有继承而来的,但最好不要使用类CBitmap中的函数!如果使用了(尤其是读入或创建型的函数),则就不要再使用CBmpProc类中的函数,以免混乱。-from Bitmap class definition files, Note : Class CBmpProc from CBitmap category inherited from the public, it is best not to use the category CBitmap function! If you use (especially read or create the type function), then not again use CBmpProc type of function, in order to avoid confusion.
Platform: | Size: 21504 | Author: 峰云 | Hits:

[GUI DevelopCISBitmap通过指定一种颜色把一幅位图变透明

Description: 通过指定一种颜色把一幅位图变透明,这个从Cbitmap派生的位图类使你可以通过指定一种颜色把一幅位图变透明,而它的使用差不多同Cbitamp一样简单。-through a designated colors of a bitmap transparent change, this Cbitmap derived from the bitmap type so you can designate an colors of a bitmap transparent change, while its use with Cbitamp almost as simple.
Platform: | Size: 1024 | Author: 张军毅 | Hits:

[Graph program2006022006413831087

Description: 在VC中操作图形文件,并对所读取的图形实现常规的处理是件很头痛的事。CBmpProc类提供了对图形文件的读取操作,并且对已经读入的图形进行处理,包括:取某区域的内容、将区域的内容复制到剪粘板、将剪粘板的内容复制出来……。 CBmpProc类由BmpProc.cpp和BmpProc.h两个文件组成。继承与CBitmap类。 这里同时提供了使用该类的演示程序及CBmpProc类的使用说明。-in VC operation graphics files, as well as read by the graphics conventional treatment is a very troublesome thing. CBmpProc category provides graphic documentation of the read operations, and to have read the graphics processing, including : from a certain region, the contents of the region to copy the sticky scissors, scissors sticky content duplicated .... CBmpProc BmpProc.cpp by category and BmpProc.h two documents. Inheritance and CBitmap category. Here to provide a demonstration of the use of such procedures and CBmpProc category of use.
Platform: | Size: 165888 | Author: 嘎嘎 | Hits:

[GDI-Bitmaptransparentdib

Description: 本程序实现了画出一个透明位图的功能。它把透明技术包含进了CBitmap类。而且它可以显示和画几种格式,包括PNG和GIF。-this program achieved paint a transparent bitmap functions. Put it transparent technology for inclusion in the category CBitmap. It can display and painting several formats, including GIF and PNG.
Platform: | Size: 1363968 | Author: kyo | Hits:

[Dialog_WindowBeautifulFace

Description: 一个华丽的界面 使用方法 方法一: ModifyStyle( WS_CAPTION, WS_MINIMIZEBOX, SWP_DRAWFRAME ) //设置图标 方法二: 不用上面的,但是要去掉对话框的title属性 void CPageDlg::OnPaint() { if (IsIconic()) { ... } else { // CDialog::OnPaint() //一定要去掉该句 CPaintDC dc(this) //对话框的dc CDC dcMem dcMem.CreateCompatibleDC(&dc) //创建与对话框dc兼容的内存dc CRect rect GetClientRect(&rect) BITMAP bitMap m_bmpBackground.GetBitmap(&bitMap) CBitmap *pbmpOld=dcMem.SelectObject(&m_bmpBackground) //将背景位图选入内存dc中 dc.StretchBlt(0,0,rect.Width(),rect.Height(),&dcMem,0,0,bitMap.bmWidth,bitMap.bmHeight,SRCCOPY) //将内存dc中的位图拉伸显示在对话框的dc中 //dc.BitBlt(0,0,rect.Width(),rect.Height(),&dcMem,0,0,SRCCOPY) } } -a gorgeous interface to use a method : ModifyStyle (WS_CAPTION, WS_MINIMIZEBOX. SWP_DRAWFRAME)// Settings icon two ways : not above, However, to remove the title attribute dialog void CPageDlg : : OnPaint () (if (IsIconic ()) (...) else (//CDia log : : OnPaint ()// must remove the sentence CPaintDC dc (this)// Dialog dc CDC dcMem dcMem.CreateCompatibleDC (
Platform: | Size: 148480 | Author: 黄景天 | Hits:

[Special EffectsbitmapEx_source

Description: 一种向CBitmap对象读取“*.bmp”文件的快捷方式。 1、建立自己的CBitmap派生类。 2、增加一个“Load from bitmap”的函数: BOOL CMyBitmap::LoadBitmap(LPCTSTR szFileName) { DeleteObject() HBITMAP hBitmap=NULL hBitmap=(HBITMAP)LoadImage(NULL,szFileName,IMAGE_BITMAP,0,0,LR_LOADFROMFILE|LR_CREATEDIBSECTION|LR_DEFAULTSIZE) return Attach(hBitmap) }-CBitmap object to a reading of "*. bmp" file shortcuts. One, to build their own CBitmap derived class. 2, add a "Load from bitmap" function : BOOL CMyBitmap : : LoadBitmap (LPCTSTR szFileName) (DeleteObje ct () HBITMAP hBitmap = NULL hBitmap = (HBITMAP) LoadImage (NULL, szFileName, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE | LR_CREATEDIBSECTION | LR_D EFAULTSIZE) return Attach (hBitmap);)
Platform: | Size: 5120 | Author: 李明 | Hits:

[2D GraphicPicTest

Description: VC/MFC 常见的几种图像显示的方法: 1.使用CBitMap,在OnPaint 中绘制 2.用picturn控件绘制 3.用背景图 4.用KoDak控件(需要已经安装) -VC/MFC common image shows several ways : 1. CBitMap use. Drawing the OnPaint 2. Controls used picturn drawing three. use background Figure 4. charged with KoDak pieces (need to have installed)
Platform: | Size: 1181696 | Author: 朱某某 | Hits:

[OtherCBitmap_To_Bmp

Description: 这是一个将CBitmap写到Bmp文件里的函数 首先,这个函数只能针对24色的bitmap.-This is a CBitmap wrote to document a function of Bmp First of all, this function can be made only for 24-color bitmap.
Platform: | Size: 1024 | Author: 高一 | Hits:

[Graph programCISBitmap

Description: 这个从Cbitmap派生的位图类使你可以通过指定一种颜色把一幅位图变透明,而它的使用差不多同Cbitamp一样简单。-This Cbitmap derived from the bitmap type you can specify a color to a transparent bitmap variable, and its use is almost as simple as with Cbitamp.
Platform: | Size: 1024 | Author: sunhuiyong | 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:

[Compress-Decompress algrithmsbmp

Description: 在用vc做程序时候,经常需要把输出的文本和图形保存到位图文件,当然可以有现成的控件来实现,但总不能如自己所愿,还是自己动手写吧!如下图: 一、实现方法   要把文本和图形保存到位图文件,只要对掌握位图结构有一定的了解,一切都ok呢。先必须要创建内存设备环境,然后内存设备环境创建的DIB区域,别忘了还要创建个CBitmap对象,CBitmap对象必须和DIB区域关联起来,把CBitmap对象选择到当前设备环境,然后在当前设备环境输出文本和图形就可以了。 -Vc procedures used to do often need to output text and graphics preservation plan in place, and of course, can have ready-made controls to achieve, but not as his own wish, or write your own hands! The following graph: First, the realization method of text and graphics to put in place plans to preserve documents, as long as the structure of the master bitmap have a certain understanding, everything is ok then. First need to create a memory device environment, and then memory devices DIB created regional environment, do not forget to also create a CBitmap object, CBitmap object must be associated with DIB region to choose CBitmap object to the current equipment, the environment, and then in the current environment equipment output text and graphics on it.
Platform: | Size: 5120 | Author: | Hits:

[Windows DevelopCBitmap

Description: 自己整理的一个关于CBitmap位图操作大集合-CBitmap bitmap operations Collection
Platform: | Size: 3072 | Author: 茄茄 | Hits:

[GUI DevelopSectionDIB

Description: It s a new class that makes using DIB Sections as simple as using a CBitmap and it provids a programm for you.
Platform: | Size: 137216 | Author: youjie | Hits:

[Picture ViewerCBitMap

Description: 利用底层代码实现图像的显示,能够很真切的揭示了bmp图像的特点-The realization of the underlying code to use the display image, can reveal the real features of bmp images
Platform: | Size: 35840 | Author: 凯文 | Hits:
« 12 3 4 5 »

CodeBus www.codebus.net