Click here to Skip to main content
15,893,564 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to replace occurance of one character in a string ? Pin
s v joshi31-May-10 23:19
s v joshi31-May-10 23:19 
AnswerRe: How to replace occurance of one character in a string ? Pin
«_Superman_»31-May-10 23:25
professional«_Superman_»31-May-10 23:25 
AnswerRe: How to replace occurance of one character in a string ? Pin
rp_suman31-May-10 23:30
rp_suman31-May-10 23:30 
AnswerRe: How to replace occurance of one character in a string ? Pin
Aescleal1-Jun-10 1:13
Aescleal1-Jun-10 1:13 
QuestionOnKeyDown() & PreTranslateMsg() Pin
Anu_Bala31-May-10 22:55
Anu_Bala31-May-10 22:55 
AnswerRe: OnKeyDown() & PreTranslateMsg() Pin
CPallini31-May-10 23:14
mveCPallini31-May-10 23:14 
GeneralRe: OnKeyDown() & PreTranslateMsg() Pin
Anu_Bala31-May-10 23:25
Anu_Bala31-May-10 23:25 
GeneralRe: OnKeyDown() & PreTranslateMsg() Pin
rp_suman31-May-10 23:43
rp_suman31-May-10 23:43 
I doubt View switching might be called more than once.
Try using WM_KEYUP

Check documentation for WM_KEYDOWN:
Because of auto-repeat, more than one OnKeyDown call may occur before an OnKeyUp member function call is made. The bit that indicates the previous key state can be used to determine whether the OnKeyDown call is the first down transition or a repeated down transition.
--
"Programming is an art that fights back!"

QuestionCM_Query_And_Remove_SubTree API returns CR_REMOVE_VETOED in xp sp3 Pin
aks.31-May-10 21:27
aks.31-May-10 21:27 
QuestionUser account lock Pin
Pryabu31-May-10 20:31
Pryabu31-May-10 20:31 
AnswerRe: User account lock Pin
Spawn@Melmac1-Jun-10 1:37
Spawn@Melmac1-Jun-10 1:37 
GeneralRe: User account lock Pin
Pryabu1-Jun-10 19:32
Pryabu1-Jun-10 19:32 
GeneralRe: User account lock Pin
Spawn@Melmac2-Jun-10 6:28
Spawn@Melmac2-Jun-10 6:28 
QuestionNo of Documents and View in SDI and MDI Pin
krishna_CP31-May-10 20:00
krishna_CP31-May-10 20:00 
AnswerRe: No of Documents and View in SDI and MDI Pin
«_Superman_»31-May-10 20:17
professional«_Superman_»31-May-10 20:17 
GeneralRe: No of Documents and View in SDI and MDI Pin
Cedric Moonen31-May-10 20:41
Cedric Moonen31-May-10 20:41 
GeneralRe: No of Documents and View in SDI and MDI Pin
krishna_CP2-Jun-10 3:28
krishna_CP2-Jun-10 3:28 
GeneralRe: No of Documents and View in SDI and MDI Pin
Cedric Moonen2-Jun-10 4:25
Cedric Moonen2-Jun-10 4:25 
GeneralRe: No of Documents and View in SDI and MDI Pin
krishna_CP2-Jun-10 4:28
krishna_CP2-Jun-10 4:28 
AnswerRe: No of Documents and View in SDI and MDI Pin
Aescleal31-May-10 20:39
Aescleal31-May-10 20:39 
AnswerRe: No of Documents and View in SDI and MDI Pin
Niklas L1-Jun-10 3:49
Niklas L1-Jun-10 3:49 
GeneralRe: No of Documents and View in SDI and MDI Pin
krishna_CP2-Jun-10 3:29
krishna_CP2-Jun-10 3:29 
GeneralRe: No of Documents and View in SDI and MDI Pin
krishna_CP2-Jun-10 4:34
krishna_CP2-Jun-10 4:34 
Questionserver emulator code help Pin
zeroKo31-May-10 15:31
zeroKo31-May-10 15:31 
AnswerRe: server emulator code help Pin
Stephen Hewitt31-May-10 16:07
Stephen Hewitt31-May-10 16:07 

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.