Click here to Skip to main content
15,898,747 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get the handle for the drop down button of a Combo Box Control? Pin
toxcct28-Jul-05 6:06
toxcct28-Jul-05 6:06 
AnswerRe: How to get the handle for the drop down button of a Combo Box Control? Pin
John R. Shaw28-Jul-05 9:10
John R. Shaw28-Jul-05 9:10 
GeneralRe: How to get the handle for the drop down button of a Combo Box Control? Pin
lulacapixaba28-Jul-05 22:17
lulacapixaba28-Jul-05 22:17 
GeneralDrag n Drop with remote files Pin
Henrik Pettersson28-Jul-05 4:55
Henrik Pettersson28-Jul-05 4:55 
GeneralRe: Drag n Drop with remote files Pin
Alex_Y28-Jul-05 8:40
Alex_Y28-Jul-05 8:40 
GeneralRe: Drag n Drop with remote files Pin
Henrik Pettersson28-Jul-05 21:33
Henrik Pettersson28-Jul-05 21:33 
GeneralRe: Drag n Drop with remote files Pin
Alex_Y29-Jul-05 8:52
Alex_Y29-Jul-05 8:52 
QuestionHow to set caret position in Edit Control? Pin
ClockDivider28-Jul-05 4:12
ClockDivider28-Jul-05 4:12 
Hello and thanks for looking at my problem,

I want to both select some text and set the caret postion in a edit control as if the user clicked the mouse at the end of the text and then draws the mouse pointer towards the beginning of the text. When doing so, the caret position is somewhere in the middle of the text and everything behind it is selected, like this:

this is |some text

where the bold stuff is selected and the caret is the "|".

EM_SETSEL always results in selected text with the caret at its end, like this:

this is some text|

but I need the caret at the beginning. Does anyone know how to do?

Thanks a lot...

Martin Hoppe
AnswerRe: How to set caret position in Edit Control? Pin
John R. Shaw28-Jul-05 4:36
John R. Shaw28-Jul-05 4:36 
GeneralRe: How to set caret position in Edit Control? Pin
ClockDivider29-Jul-05 4:18
ClockDivider29-Jul-05 4:18 
AnswerRe: How to set caret position in Edit Control? Pin
Alexander M.,28-Jul-05 8:55
Alexander M.,28-Jul-05 8:55 
GeneralErrors using Regex++ with VS .NET 2003 Pin
Franz Klein28-Jul-05 3:56
Franz Klein28-Jul-05 3:56 
QuestionHow to show full vector graphics in a splitter view Pin
greenwyx28-Jul-05 3:19
greenwyx28-Jul-05 3:19 
AnswerRe: How to show full vector graphics in a splitter view Pin
John R. Shaw28-Jul-05 4:44
John R. Shaw28-Jul-05 4:44 
GeneralLink 2001 errors using Glui - glui32.lib Pin
Lombert28-Jul-05 3:11
Lombert28-Jul-05 3:11 
GeneralProblem with CFrameWnd and CPropertySheet Pin
Member 209601128-Jul-05 2:41
Member 209601128-Jul-05 2:41 
GeneralRe: Problem with CFrameWnd and CPropertySheet Pin
Alex_Y28-Jul-05 3:11
Alex_Y28-Jul-05 3:11 
GeneralRe: Problem with CFrameWnd and CPropertySheet Pin
Member 209601128-Jul-05 4:12
Member 209601128-Jul-05 4:12 
GeneralRe: Problem with CFrameWnd and CPropertySheet Pin
Alex_Y28-Jul-05 8:36
Alex_Y28-Jul-05 8:36 
GeneralProblem with DirectShow Pin
perroflaco28-Jul-05 1:59
perroflaco28-Jul-05 1:59 
GeneralRe: Problem with DirectShow Pin
mark novak28-Jul-05 4:57
mark novak28-Jul-05 4:57 
GeneralRe: Problem with DirectShow Pin
perroflaco28-Jul-05 8:08
perroflaco28-Jul-05 8:08 
GeneralRe: Problem with DirectShow Pin
mark novak28-Jul-05 13:00
mark novak28-Jul-05 13:00 
GeneralRe: Problem with DirectShow Pin
Alexander M.,28-Jul-05 8:51
Alexander M.,28-Jul-05 8:51 
GeneralRe: Problem with DirectShow Pin
perroflaco31-Jul-05 23:02
perroflaco31-Jul-05 23:02 

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.