Description: CToolBar does not support multiple lines of text, this article will be customized through a MFC/C Class CMTToolBar achieve the toolbar to display multiple lines of text. The idea is to first text into a bitmap, and then replace the original toolbar bitmap to display multiple lines of text effects.
To Search:
- [CToolBarEx] - CTOOLBAR an example of the procedure, th
- [Serial_src] - codes for serial port data transfer
- [CSharp] - Achieve toolbar drag, floating toolbar,
File list (Check if you may need any files):
src
...\Debug
...\MainFrm.cpp
...\MainFrm.h
...\MTToolBar.cpp
...\MTToolBar.h
...\ReadMe.txt
...\res
...\...\TestMT.rc2
...\Resource.h
...\StdAfx.cpp
...\StdAfx.h
...\TestMT.aps
...\TestMT.clw
...\TestMT.cpp
...\TestMT.dsp
...\TestMT.dsw
...\TestMT.h
...\TestMT.plg
...\TestMT.rc
...\TestMTDoc.cpp
...\TestMTDoc.h
...\TestMTView.cpp
...\TestMTView.h