Click here to Skip to main content
15,906,947 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: virtual function not in vtable Pin
George_George2-Feb-08 18:09
George_George2-Feb-08 18:09 
GeneralRe: virtual function not in vtable Pin
CPallini2-Feb-08 23:04
mveCPallini2-Feb-08 23:04 
GeneralRe: virtual function not in vtable Pin
George_George2-Feb-08 23:07
George_George2-Feb-08 23:07 
GeneralRe: virtual function not in vtable Pin
CPallini3-Feb-08 0:28
mveCPallini3-Feb-08 0:28 
GeneralRe: virtual function not in vtable Pin
George_George3-Feb-08 13:55
George_George3-Feb-08 13:55 
General[Message Deleted] Pin
Davros2-Feb-08 1:06
Davros2-Feb-08 1:06 
GeneralRe: VS2005 toolbar messages Pin
Mark Salsbery2-Feb-08 7:45
Mark Salsbery2-Feb-08 7:45 
GeneralRe: VS2005 toolbar messages Pin
Davros2-Feb-08 8:08
Davros2-Feb-08 8:08 
Hi Mark

Yes, that is true i.e. I could add the code manually. However, I still can't see what I'm doing wrong. The omission of the Class Wizard is what is causing me problems. There is obviously a step I'm missing. Previously, what I would do would be to:

(1) Add a toolbar button using the Toolbar Editor
(2) Give the button an ID e.g. ID_BUTTON1
(3) Use the Class Wizard to add the OnUpdate or OnCommand and there you go!

However, using VS2005 to create an MFC application is to perform steps 1 and 2. Looking at the Properties window of the View there is nowhere I can see a way to access the UPDATE_COMMAND and COMMAND messages for ID_BUTTON1.

Surely there must be a way to do it without resorting to cut and paste?

Can you point me in the right direction?

David
GeneralRe: VS2005 toolbar messages Pin
Mark Salsbery2-Feb-08 8:18
Mark Salsbery2-Feb-08 8:18 
GeneralRe: VS2005 toolbar messages Pin
Davros3-Feb-08 0:15
Davros3-Feb-08 0:15 
GeneralRe: VS2005 toolbar messages Pin
Davros4-Feb-08 8:13
Davros4-Feb-08 8:13 
QuestionHow to run NT Service on Windows Vista Pin
Abhijit A2-Feb-08 0:12
Abhijit A2-Feb-08 0:12 
AnswerRe: How to run NT Service on Windows Vista Pin
Mark Salsbery2-Feb-08 7:52
Mark Salsbery2-Feb-08 7:52 
GeneralVirtual function and multiple inheritance Pin
George_George1-Feb-08 21:12
George_George1-Feb-08 21:12 
GeneralRe: Virtual function and multiple inheritance Pin
Bram van Kampen1-Feb-08 22:50
Bram van Kampen1-Feb-08 22:50 
GeneralRe: Virtual function and multiple inheritance Pin
George_George1-Feb-08 23:14
George_George1-Feb-08 23:14 
QuestionCString::Empty() Pin
gReaen1-Feb-08 20:01
gReaen1-Feb-08 20:01 
GeneralRe: CString::Empty() Pin
John R. Shaw1-Feb-08 23:00
John R. Shaw1-Feb-08 23:00 
GeneralRe: CString::Empty() Pin
Bram van Kampen1-Feb-08 23:00
Bram van Kampen1-Feb-08 23:00 
GeneralRe: CString::Empty() Pin
CPallini2-Feb-08 5:13
mveCPallini2-Feb-08 5:13 
Questionhow to hide / show menubar in mfc mdi application? Pin
Prasann Mayekar1-Feb-08 19:14
Prasann Mayekar1-Feb-08 19:14 
Questionpicture box problem Pin
trioum1-Feb-08 18:23
trioum1-Feb-08 18:23 
GeneralRe: picture box problem Pin
Hamid_RT1-Feb-08 18:32
Hamid_RT1-Feb-08 18:32 
GeneralRe: picture box problem Pin
trioum1-Feb-08 23:36
trioum1-Feb-08 23:36 
GeneralRe: picture box problem Pin
Hamid_RT2-Feb-08 2:09
Hamid_RT2-Feb-08 2:09 

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.