Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Flood fill of all image objects simultaneously Pin
Kolich4-May-04 22:23
Kolich4-May-04 22:23 
GeneralRe: Flood fill of all image objects simultaneously Pin
John R. Shaw5-May-04 9:03
John R. Shaw5-May-04 9:03 
GeneralRe: Flood fill of all image objects simultaneously Pin
Kolich6-May-04 20:10
Kolich6-May-04 20:10 
GeneralRe: Flood fill of all image objects simultaneously Pin
John R. Shaw8-May-04 4:49
John R. Shaw8-May-04 4:49 
GeneralVK code for subtract Pin
Tyrus18229-Apr-04 20:24
Tyrus18229-Apr-04 20:24 
GeneralRe: VK code for subtract Pin
ohadp29-Apr-04 21:05
ohadp29-Apr-04 21:05 
GeneralThird party toolbar Pin
*Dreamz29-Apr-04 20:01
*Dreamz29-Apr-04 20:01 
GeneralRe: Third party toolbar Pin
nguyenvhn29-Apr-04 20:48
nguyenvhn29-Apr-04 20:48 
As my knowledge, you need 2 toolbars. One supplied by MFC framework, and the other supplied by yourself. If so, read bellow. If not, leave now.

In CMainFrame, create a CToolBar member variable, for example, it may be CToolBar m_tbNew;.
In CMainFrame::OnCreate, add the following code:
<br />
m_tbNew.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP | CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC, CRect(0,0,0,0), ID_NEW_TOOLBAR);<br />
m_tbNew.SetWindowText("Caption here");<br />
m_tbNew.LoadToolBar(IDR_NEW_TOOLBAR_RESOURCE);<br />
m_tbNew.EnableDocking(CBRS_ALIGN_ANY);<br />
DockControlBar(&m_tbNew);<br />


The second toolbar will show beside default toolbar.
Good luck.
GeneralRe: Third party toolbar Pin
*Dreamz2-May-04 18:15
*Dreamz2-May-04 18:15 
QuestionCall another program from my project ?? Pin
Mughi29-Apr-04 19:45
Mughi29-Apr-04 19:45 
AnswerRe: Call another program from my project ?? Pin
GermanGeorge29-Apr-04 22:16
GermanGeorge29-Apr-04 22:16 
GeneralRe: Call another program from my project ?? Pin
Mughi29-Apr-04 22:49
Mughi29-Apr-04 22:49 
GeneralRe: Call another program from my project ?? Pin
GermanGeorge29-Apr-04 23:15
GermanGeorge29-Apr-04 23:15 
GeneralRe: Call another program from my project ?? Pin
Mughi2-May-04 19:05
Mughi2-May-04 19:05 
GeneralRe: Call another program from my project ?? Pin
Jitendra gangwar30-Apr-04 2:26
Jitendra gangwar30-Apr-04 2:26 
GeneralRe: Call another program from my project ?? Pin
Mughi2-May-04 19:07
Mughi2-May-04 19:07 
GeneralChanging cview's size .. Pin
AbinThomas29-Apr-04 19:25
AbinThomas29-Apr-04 19:25 
GeneralRe: Changing cview's size .. Pin
Anthony_Yio29-Apr-04 23:04
Anthony_Yio29-Apr-04 23:04 
GeneralRe: Changing cview's size .. Pin
AbinThomas29-Apr-04 23:55
AbinThomas29-Apr-04 23:55 
GeneralRe: Changing cview's size .. Pin
David Crow30-Apr-04 3:52
David Crow30-Apr-04 3:52 
GeneralSockets and Active X Pin
shekar_raja29-Apr-04 18:46
shekar_raja29-Apr-04 18:46 
GeneralRe: Sockets and Active X Pin
Jitendra gangwar29-Apr-04 23:21
Jitendra gangwar29-Apr-04 23:21 
GeneralRe: Sockets and Active X Pin
shekar_raja6-May-04 17:51
shekar_raja6-May-04 17:51 
GeneralSQL server Named Instance Pin
vikramlinux29-Apr-04 18:03
vikramlinux29-Apr-04 18:03 
Generallinked list Pin
pedabber29-Apr-04 15:51
pedabber29-Apr-04 15:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.