Click here to Skip to main content
15,889,876 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: edit control Pin
Cedric Moonen18-Jul-06 1:58
Cedric Moonen18-Jul-06 1:58 
GeneralRe: edit control Pin
ashish dogra18-Jul-06 2:31
ashish dogra18-Jul-06 2:31 
AnswerRe: edit control Pin
Hamid_RT18-Jul-06 2:36
Hamid_RT18-Jul-06 2:36 
AnswerRe: edit control Pin
ThatsAlok18-Jul-06 2:40
ThatsAlok18-Jul-06 2:40 
QuestionEdit Control Pin
si_6918-Jul-06 1:25
si_6918-Jul-06 1:25 
AnswerRe: Edit Control Pin
Ștefan-Mihai MOGA18-Jul-06 1:28
professionalȘtefan-Mihai MOGA18-Jul-06 1:28 
GeneralRe: Edit Control Pin
see me18-Jul-06 1:40
see me18-Jul-06 1:40 
AnswerRe: Edit Control Pin
Steve S18-Jul-06 1:30
Steve S18-Jul-06 1:30 
Not to. Personally, I hate it when a program decides to add stuff to what I'm typing. If I want a space after a full stop, I type one. Period. Smile | :)

However, if you must, handle WM_CHAR. For the case where the character is a full stop, add a space. (MFC use OnChar in a derived CEdit class)

But beware. If the user has selected text, and replaces it with a full stop, would you want to append a space in that case too, or only if there wasn't already one?



Steve S
Developer for hire
AnswerRe: Edit Control Pin
see me18-Jul-06 2:06
see me18-Jul-06 2:06 
GeneralRe: Edit Control Pin
ThatsAlok18-Jul-06 2:27
ThatsAlok18-Jul-06 2:27 
QuestionDisable conext menu Pin
aaaan18-Jul-06 1:05
aaaan18-Jul-06 1:05 
AnswerRe: Disable conext menu Pin
_AnsHUMAN_ 18-Jul-06 1:14
_AnsHUMAN_ 18-Jul-06 1:14 
AnswerRe: Disable conext menu Pin
see me18-Jul-06 1:15
see me18-Jul-06 1:15 
GeneralRe: Disable conext menu Pin
see me18-Jul-06 1:19
see me18-Jul-06 1:19 
AnswerRe: Disable conext menu [modified] Pin
Parthi_Appu18-Jul-06 1:17
Parthi_Appu18-Jul-06 1:17 
AnswerRe: Disable conext menu Pin
Don Box18-Jul-06 1:20
Don Box18-Jul-06 1:20 
GeneralRe: Disable conext menu Pin
aaaan18-Jul-06 1:48
aaaan18-Jul-06 1:48 
AnswerRe: Disable conext menu [modified] Pin
A_Fa18-Jul-06 2:28
A_Fa18-Jul-06 2:28 
QuestionSending files over HTTP Pin
_AnsHUMAN_ 18-Jul-06 0:36
_AnsHUMAN_ 18-Jul-06 0:36 
AnswerRe: Sending files over HTTP Pin
sunit518-Jul-06 2:09
sunit518-Jul-06 2:09 
GeneralRe: Sending files over HTTP Pin
_AnsHUMAN_ 18-Jul-06 2:29
_AnsHUMAN_ 18-Jul-06 2:29 
AnswerRe: Sending files over HTTP Pin
led mike18-Jul-06 6:42
led mike18-Jul-06 6:42 
QuestionMove to the tray Pin
see me18-Jul-06 0:31
see me18-Jul-06 0:31 
AnswerRe: Move to the tray Pin
Ștefan-Mihai MOGA18-Jul-06 0:38
professionalȘtefan-Mihai MOGA18-Jul-06 0:38 
QuestionHow to add scroll bars to a static dialog ? Pin
Vinod Sankaranarayanan18-Jul-06 0:24
Vinod Sankaranarayanan18-Jul-06 0:24 

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.