Click here to Skip to main content
15,918,976 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: WPARAM and LPARAM ? (What about HWND...Where should it go?) Pin
Prakash Nadar18-Jan-06 18:15
Prakash Nadar18-Jan-06 18:15 
AnswerRe: WPARAM and LPARAM ? Pin
Blake Miller19-Jan-06 8:02
Blake Miller19-Jan-06 8:02 
GeneralRe: WPARAM and LPARAM ? Pin
Owner drawn19-Jan-06 16:54
Owner drawn19-Jan-06 16:54 
GeneralRe: WPARAM and LPARAM ? Pin
Blake Miller20-Jan-06 4:06
Blake Miller20-Jan-06 4:06 
QuestionProgramming an updating feature Pin
Demonware66618-Jan-06 15:55
Demonware66618-Jan-06 15:55 
AnswerRe: Programming an updating feature Pin
Blake Miller19-Jan-06 8:04
Blake Miller19-Jan-06 8:04 
GeneralRe: Programming an updating feature Pin
Demonware66619-Jan-06 18:36
Demonware66619-Jan-06 18:36 
QuestionFurther sub-classing of CEdit Pin
Lilith.C18-Jan-06 15:55
Lilith.C18-Jan-06 15:55 
I'm working on a CEdit derived class that requires that I put a bit of text in the window on creation. I'm doing this in PreSubclassWindow, which may or not be the right place for it but it works. The problem I'm running into is the cursor positioning. If I use SetSel(0,0) in PreSubclassWindow the text ends up being completely highlighted. For the moment I've included a SetSel in the SetFocus handler. But this isn't practical long term. Without any attempt at setting the position selector I still get a completely highlighted edit space.

Where would be the best place to set the original position?

Thanks,
Lilith
AnswerRe: Further sub-classing of CEdit Pin
Owner drawn18-Jan-06 17:01
Owner drawn18-Jan-06 17:01 
QuestionC++ Compiler for Win XP Pro Pin
JGHayles18-Jan-06 15:40
JGHayles18-Jan-06 15:40 
AnswerRe: C++ Compiler for Win XP Pro Pin
<color>Aljechin 18-Jan-06 17:35
<color>Aljechin 18-Jan-06 17:35 
AnswerRe: C++ Compiler for Win XP Pro Pin
Owner drawn18-Jan-06 17:54
Owner drawn18-Jan-06 17:54 
GeneralRe: C++ Compiler for Win XP Pro Pin
Cedric Moonen18-Jan-06 21:28
Cedric Moonen18-Jan-06 21:28 
GeneralRe: C++ Compiler for Win XP Pro Pin
Owner drawn18-Jan-06 21:52
Owner drawn18-Jan-06 21:52 
AnswerRe: C++ Compiler for Win XP Pro Pin
Christian Graus18-Jan-06 17:59
protectorChristian Graus18-Jan-06 17:59 
AnswerRe: C++ Compiler for Win XP Pro Pin
toxcct18-Jan-06 21:38
toxcct18-Jan-06 21:38 
GeneralRe: C++ Compiler for Win XP Pro Pin
Cedric Moonen18-Jan-06 21:42
Cedric Moonen18-Jan-06 21:42 
QuestionHow to generate a VC studio IDE like framework? Pin
LeeeNN18-Jan-06 15:00
LeeeNN18-Jan-06 15:00 
AnswerRe: How to generate a VC studio IDE like framework? Pin
Owner drawn18-Jan-06 19:58
Owner drawn18-Jan-06 19:58 
AnswerRe: How to generate a VC studio IDE like framework? Pin
vikas amin18-Jan-06 20:29
vikas amin18-Jan-06 20:29 
QuestionThread in MDI with WaitForSingleObject Pin
dipuks18-Jan-06 14:19
dipuks18-Jan-06 14:19 
AnswerRe: Thread in MDI with WaitForSingleObject Pin
Stephen Hewitt18-Jan-06 16:51
Stephen Hewitt18-Jan-06 16:51 
QuestionCreateFile producing ERROR_INVALID_PARAMETER Pin
KellyR18-Jan-06 11:12
KellyR18-Jan-06 11:12 
AnswerRe: CreateFile producing ERROR_INVALID_PARAMETER Pin
Graham Bradshaw18-Jan-06 13:45
Graham Bradshaw18-Jan-06 13:45 
GeneralRe: CreateFile producing ERROR_INVALID_PARAMETER Pin
KellyR19-Jan-06 3:49
KellyR19-Jan-06 3:49 

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.