Click here to Skip to main content
14,921,361 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Edit Control Problem Pin
Richard MacCutchan19-May-16 6:15
mveRichard MacCutchan19-May-16 6:15 
GeneralRe: Edit Control Problem Pin
programmingalholic19-May-16 6:47
professionalprogrammingalholic19-May-16 6:47 
GeneralRe: Edit Control Problem Pin
Richard MacCutchan19-May-16 7:01
mveRichard MacCutchan19-May-16 7:01 
programmingalholic wrote:
I've tried to omit the suffix letter and it still produced the same effect.
That's because the A or W is nothing to do with your problem. That is just a suggestion for better code writing, and you should fix it in all your programs.

As to the actual problem, what are the values of selPos and selEnd when the code runs?
GeneralRe: Edit Control Problem Pin
programmingalholic19-May-16 7:11
professionalprogrammingalholic19-May-16 7:11 
GeneralRe: Edit Control Problem Pin
David Crow19-May-16 7:37
MemberDavid Crow19-May-16 7:37 
GeneralRe: Edit Control Problem Pin
Richard MacCutchan19-May-16 21:04
mveRichard MacCutchan19-May-16 21:04 
GeneralRe: Edit Control Problem Pin
programmingalholic21-May-16 3:56
professionalprogrammingalholic21-May-16 3:56 
GeneralRe: Edit Control Problem Pin
leon de boer19-May-16 23:17
Memberleon de boer19-May-16 23:17 
GeneralRe: Edit Control Problem Pin
Victor Nijegorodov20-May-16 0:23
MemberVictor Nijegorodov20-May-16 0:23 
GeneralRe: Edit Control Problem Pin
Richard MacCutchan20-May-16 1:17
mveRichard MacCutchan20-May-16 1:17 
GeneralRe: Edit Control Problem Pin
programmingalholic21-May-16 3:54
professionalprogrammingalholic21-May-16 3:54 
QuestionRe: Edit Control Problem Pin
David Crow19-May-16 6:44
MemberDavid Crow19-May-16 6:44 
AnswerRe: Edit Control Problem Pin
programmingalholic19-May-16 6:56
professionalprogrammingalholic19-May-16 6:56 
QuestionRe: Edit Control Problem Pin
David Crow19-May-16 7:38
MemberDavid Crow19-May-16 7:38 
GeneralRe: Edit Control Problem Pin
Richard MacCutchan19-May-16 21:18
mveRichard MacCutchan19-May-16 21:18 
AnswerRe: Edit Control Problem Pin
Jochen Arndt19-May-16 22:45
professionalJochen Arndt19-May-16 22:45 
GeneralRe: Edit Control Problem Pin
programmingalholic21-May-16 3:49
professionalprogrammingalholic21-May-16 3:49 
QuestionConvert string name to Control ID Name Pin
002comp17-May-16 22:03
Member002comp17-May-16 22:03 
AnswerRe: Convert string name to Control ID Name Pin
Richard MacCutchan17-May-16 22:16
mveRichard MacCutchan17-May-16 22:16 
GeneralRe: Convert string name to Control ID Name Pin
002comp17-May-16 22:19
Member002comp17-May-16 22:19 
GeneralRe: Convert string name to Control ID Name Pin
Richard MacCutchan17-May-16 22:42
mveRichard MacCutchan17-May-16 22:42 
GeneralRe: Convert string name to Control ID Name Pin
leon de boer18-May-16 19:36
Memberleon de boer18-May-16 19:36 
AnswerRe: Convert string name to Control ID Name Pin
leon de boer18-May-16 19:51
Memberleon de boer18-May-16 19:51 
AnswerRe: Convert string name to Control ID Name Pin
Gerry Schmitz19-May-16 5:54
mveGerry Schmitz19-May-16 5:54 
SuggestionRe: Convert string name to Control ID Name Pin
Krishnakumartg21-Sep-16 19:57
MemberKrishnakumartg21-Sep-16 19:57 

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.