A Combobox with bitmaps

时间:2013-07-20 09:12:24
【文件属性】:
文件名称:A Combobox with bitmaps
文件大小:21KB
文件格式:ZIP
更新时间:2013-07-20 09:12:24
combo box,bitmaps 能显示位图列表的组合框控件类. Usage: 1、Include CBitmapPickerCombo.cpp and CBitmapPickerCombo.h in your project 2、In the resource editor create a regular combobox with at least the following styles: DropList, OwnerDraw Variable, Has Strings 3、Create a control member variable for the combobox in VC's classwizard 4、Replace CComboBox with CBitmapPickerCombo in your dialog's .h file 5、In OnInitDialog use the AddBitmap or InsertBitmap member functions to add CBitmaps (and optional strings) to the combobox
【文件预览】:
BitmapPickerDoc.h
BitmapPicker.cpp
BitmapPickerView.h
StdAfx.cpp
resource.h
BitmapPicker.dsw
BitmapPickerCombo.h
BitmapPicker.rc
BitmapPickerView.cpp
MainFrm.h
BitmapPickerDoc.cpp
BitmapPicker.h
StdAfx.h
file.bmp
MainFrm.cpp
BitmapPicker.dsp
PickerDialog.h
PickerDialog.cpp
BitmapPickerCombo.cpp
res
----BitmapPicker.rc2(404B)
----BitmapPicker.ico(1KB)
----BitmapPickerDoc.ico(1KB)
access.bmp
class.bmp
proto.bmp

网友评论

  • 这个用是用了,但是效果还不是完全我想要的。