Click here to Skip to main content
16,008,750 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUsing C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. [modified] Pin
M Kishore9-Oct-08 23:40
M Kishore9-Oct-08 23:40 
QuestionRe: Using C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. Pin
Mark Salsbery10-Oct-08 4:56
Mark Salsbery10-Oct-08 4:56 
AnswerRe: Using C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. Pin
M Kishore12-Oct-08 23:13
M Kishore12-Oct-08 23:13 
GeneralRe: Using C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. Pin
Mark Salsbery13-Oct-08 6:16
Mark Salsbery13-Oct-08 6:16 
QuestionRe: Using C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. Pin
David Crow10-Oct-08 5:20
David Crow10-Oct-08 5:20 
AnswerRe: Using C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. Pin
M Kishore15-Oct-08 3:40
M Kishore15-Oct-08 3:40 
QuestionRe: Using C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. Pin
David Crow15-Oct-08 3:56
David Crow15-Oct-08 3:56 
AnswerRe: Using C++, Caret to be at the beginning in Single Line Edit box after selecting whole text. Pin
M Kishore16-Oct-08 3:16
M Kishore16-Oct-08 3:16 
I tried in that way also. Even then the whole text is selected and the caret is at the end position.
Reason might be
"Edit controls: The control displays a flashing caret at the end position regardless of the relative values of start and end."
Refer: "ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/shellcc/platform/commctls/editcontrols/editcontrolreference/editcontrolmessages/em_setsel.htm"

So only I asked in my previous message about other procedure without using that message.
Please sugget any other method if you come across.
QuestionRun Application in Background Pin
MsmVc9-Oct-08 23:22
MsmVc9-Oct-08 23:22 
AnswerRe: Run Application in Background Pin
Michael Schubert9-Oct-08 23:26
Michael Schubert9-Oct-08 23:26 
AnswerRe: Run Application in Background Pin
Hamid_RT11-Oct-08 19:16
Hamid_RT11-Oct-08 19:16 
GeneralRe: Run Application in Background [modified] Pin
MsmVc12-Oct-08 19:45
MsmVc12-Oct-08 19:45 
GeneralRe: Run Application in Background Pin
Hamid_RT13-Oct-08 7:40
Hamid_RT13-Oct-08 7:40 
Questiondisplaying menu bar on dialog box Pin
puppya9-Oct-08 22:43
puppya9-Oct-08 22:43 
AnswerRe: displaying menu bar on dialog box Pin
Michael Schubert9-Oct-08 23:18
Michael Schubert9-Oct-08 23:18 
GeneralRe: displaying menu bar on dialog box Pin
puppya10-Oct-08 0:10
puppya10-Oct-08 0:10 
Questionsize_t Pin
George_George9-Oct-08 22:06
George_George9-Oct-08 22:06 
AnswerRe: size_t Pin
Maximilien10-Oct-08 2:59
Maximilien10-Oct-08 2:59 
GeneralRe: size_t Pin
led mike10-Oct-08 9:07
led mike10-Oct-08 9:07 
GeneralRe: size_t Pin
George_George10-Oct-08 23:26
George_George10-Oct-08 23:26 
GeneralRe: size_t Pin
led mike11-Oct-08 7:21
led mike11-Oct-08 7:21 
GeneralRe: size_t Pin
George_George13-Oct-08 3:30
George_George13-Oct-08 3:30 
QuestionRe: size_t Pin
led mike13-Oct-08 6:36
led mike13-Oct-08 6:36 
AnswerRe: size_t Pin
George_George14-Oct-08 2:41
George_George14-Oct-08 2:41 
GeneralRe: size_t Pin
led mike14-Oct-08 5:54
led mike14-Oct-08 5:54 

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.