Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: MS Server 2003 SP1 Pin
Tombo18-Jan-06 8:10
Tombo18-Jan-06 8:10 
AnswerRe: MS Server 2003 SP1 Pin
Toby Opferman18-Jan-06 8:38
Toby Opferman18-Jan-06 8:38 
QuestionHelp me with remote dubugging of a dll Pin
celllllllll18-Jan-06 6:50
celllllllll18-Jan-06 6:50 
AnswerRe: Help me with remote dubugging of a dll Pin
John M. Drescher18-Jan-06 7:57
John M. Drescher18-Jan-06 7:57 
QuestionTCP and UDP Pin
Mohammad A Gdeisat18-Jan-06 6:30
Mohammad A Gdeisat18-Jan-06 6:30 
QuestionglutDestroyWindow (OpenGL) Pin
barakman18-Jan-06 6:18
barakman18-Jan-06 6:18 
QuestionListening to pipes Pin
Raylan18-Jan-06 6:07
Raylan18-Jan-06 6:07 
QuestionRepositioning a cursor in a control Pin
Tombo18-Jan-06 5:17
Tombo18-Jan-06 5:17 
I'm changing the text in a control and I want to reposition the cursor at the end of the text after I display the text. What I'm doing doesn't work! The cursor is always set to the beginging of the text (due to the "SetFocus"). Any ideas?

NB: m_CheckNoCtrl is a control to the field!


m_CheckNoCtrl.SetWindowText(szTemp); // Paint new text in control
m_CheckNoCtrl.SetFocus(); // Set focus to control
int ndx = m_CheckNo.GetLength(); // Get the new length
SendMessage (EM_SETSEL, (WPARAM)ndx, (LPARAM)ndx);

AnswerRe: Repositioning a cursor in a control Pin
FarPointer18-Jan-06 5:49
FarPointer18-Jan-06 5:49 
GeneralRe: Repositioning a cursor in a control Pin
Tombo18-Jan-06 6:17
Tombo18-Jan-06 6:17 
QuestionCan't update text file Pin
BuckBrown18-Jan-06 5:14
BuckBrown18-Jan-06 5:14 
AnswerRe: Can't update text file Pin
Tombo18-Jan-06 5:26
Tombo18-Jan-06 5:26 
AnswerRe: Can't update text file Pin
_psh_18-Jan-06 5:27
_psh_18-Jan-06 5:27 
QuestionHow to store login/password in Windows Registry? Pin
Priya..k18-Jan-06 4:00
Priya..k18-Jan-06 4:00 
AnswerRe: How to store login/password in Windows Registry? Pin
David Crow18-Jan-06 4:04
David Crow18-Jan-06 4:04 
AnswerRe: How to store login/password in Windows Registry? Pin
Nish Nishant18-Jan-06 4:41
sitebuilderNish Nishant18-Jan-06 4:41 
GeneralRe: How to store login/password in Windows Registry? Pin
James R. Twine18-Jan-06 6:34
James R. Twine18-Jan-06 6:34 
AnswerRe: How to store login/password in Windows Registry? Pin
ThatsAlok19-Jan-06 0:29
ThatsAlok19-Jan-06 0:29 
QuestionHow do I display text orientated 90 degrees Pin
britboyjohnson18-Jan-06 2:49
britboyjohnson18-Jan-06 2:49 
AnswerRe: How do I display text orientated 90 degrees Pin
David Crow18-Jan-06 2:58
David Crow18-Jan-06 2:58 
AnswerRe: How do I display text orientated 90 degrees Pin
basementman18-Jan-06 4:23
basementman18-Jan-06 4:23 
AnswerRe: How do I display text orientated 90 degrees Pin
FarPointer18-Jan-06 6:17
FarPointer18-Jan-06 6:17 
GeneralRe: How do I display text orientated 90 degrees Pin
britboyjohnson18-Jan-06 11:45
britboyjohnson18-Jan-06 11:45 
AnswerRe: How do I display text orientated 90 degrees Pin
Stephen Hewitt18-Jan-06 15:17
Stephen Hewitt18-Jan-06 15:17 
QuestionProblem in finding default browser Pin
Aryan S18-Jan-06 2:43
Aryan S18-Jan-06 2:43 

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.