Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Virual memory Pin
Hamid_RT18-Sep-08 20:01
Hamid_RT18-Sep-08 20:01 
AnswerRe: Virual memory Pin
Naveen18-Sep-08 20:52
Naveen18-Sep-08 20:52 
QuestionVirtual memory Pin
jinijinu18-Sep-08 17:39
jinijinu18-Sep-08 17:39 
AnswerRe: Virtual memory Pin
Rane18-Sep-08 19:07
Rane18-Sep-08 19:07 
QuestionEdit mode problem Pin
followait18-Sep-08 16:46
followait18-Sep-08 16:46 
AnswerRe: Edit mode problem Pin
Malli_S18-Sep-08 20:19
Malli_S18-Sep-08 20:19 
GeneralRe: Edit mode problem Pin
followait18-Sep-08 23:31
followait18-Sep-08 23:31 
GeneralRe: Edit mode problem Pin
Malli_S19-Sep-08 1:24
Malli_S19-Sep-08 1:24 
You wanna to write all the handlers in a single functions. If that is the case I hope you have to have the switch-case/if-else in your program. The only thing you can reduce is the number of flags. Define the enum data type for your modes, rather having different flags. I suggested flags just because you had specified only two modes. But having the 'enum'ed your modes doesn't skip the conditional programming part in your message handler.

-Malli...! Rose | [Rose]

GeneralRe: Edit mode problem Pin
followait19-Sep-08 1:30
followait19-Sep-08 1:30 
GeneralRe: Edit mode problem Pin
Malli_S19-Sep-08 1:41
Malli_S19-Sep-08 1:41 
GeneralRe: Edit mode problem Pin
followait19-Sep-08 2:12
followait19-Sep-08 2:12 
AnswerRe: Edit mode problem Pin
Mark Salsbery19-Sep-08 6:46
Mark Salsbery19-Sep-08 6:46 
GeneralRe: Edit mode problem [modified] Pin
followait19-Sep-08 14:14
followait19-Sep-08 14:14 
QuestionPrint after add view Pin
Max++18-Sep-08 15:46
Max++18-Sep-08 15:46 
AnswerRe: Print after add view [modified] Pin
followait18-Sep-08 16:52
followait18-Sep-08 16:52 
QuestionManifest File Pin
Bram van Kampen18-Sep-08 15:08
Bram van Kampen18-Sep-08 15:08 
QuestionMulti Threaded debug question Pin
monsieur_jj18-Sep-08 14:29
monsieur_jj18-Sep-08 14:29 
AnswerRe: Multi Threaded debug question Pin
Saurabh.Garg18-Sep-08 15:03
Saurabh.Garg18-Sep-08 15:03 
QuestionVisual Studio 6 - helpful debugger? Pin
charlieg18-Sep-08 12:18
charlieg18-Sep-08 12:18 
AnswerRe: Visual Studio 6 - helpful debugger? Pin
Mark Salsbery19-Sep-08 6:49
Mark Salsbery19-Sep-08 6:49 
GeneralRe: Visual Studio 6 - helpful debugger? Pin
charlieg21-Sep-08 2:54
charlieg21-Sep-08 2:54 
Questionatof() in Visual Studio 6 vs 2005 Pin
FoxholeWilly18-Sep-08 10:38
FoxholeWilly18-Sep-08 10:38 
AnswerRe: atof() in Visual Studio 6 vs 2005 Pin
Mark Salsbery18-Sep-08 10:48
Mark Salsbery18-Sep-08 10:48 
GeneralRe: atof() in Visual Studio 6 vs 2005 Pin
FoxholeWilly18-Sep-08 12:16
FoxholeWilly18-Sep-08 12:16 
GeneralRe: atof() in Visual Studio 6 vs 2005 Pin
Mark Salsbery19-Sep-08 5:03
Mark Salsbery19-Sep-08 5:03 

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.