Click here to Skip to main content
16,004,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Repositioning cursor in an edit box Pin
User 665828-Aug-03 9:31
User 665828-Aug-03 9:31 
GeneralRe: Repositioning cursor in an edit box Pin
David Crow28-Aug-03 8:45
David Crow28-Aug-03 8:45 
GeneralRe: Repositioning cursor in an edit box Pin
Vikram A Punathambekar28-Aug-03 9:04
Vikram A Punathambekar28-Aug-03 9:04 
GeneralCOleSafeArray::PutElement Pin
act_x28-Aug-03 6:27
act_x28-Aug-03 6:27 
GeneralRe: COleSafeArray::PutElement Pin
Steve S29-Aug-03 2:18
Steve S29-Aug-03 2:18 
GeneralCreating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 6:03
Larry J. Siddens28-Aug-03 6:03 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
David Crow28-Aug-03 7:02
David Crow28-Aug-03 7:02 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Steve S28-Aug-03 7:08
Steve S28-Aug-03 7:08 
Might be that they're wanting specifically to create a richedit with Word-style paragraph formatting (left, centre, right, align). The default MFC way means that an old style rich edit is created all the time. In some cases, the way I've done this is in OnInitDialog to get the old one's attributes, trash it and recreate the control in place, before calling the default OnInitDialog in case that maps a control.

There are two Windows class names, "RichEdit" which is v1.0 and RICHEDIT_CLASS which expands at compile time to produce the appropriate name for v2 or later.

Steve S
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 7:41
Larry J. Siddens28-Aug-03 7:41 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
David Crow28-Aug-03 8:00
David Crow28-Aug-03 8:00 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 8:06
Larry J. Siddens28-Aug-03 8:06 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
David Crow28-Aug-03 8:41
David Crow28-Aug-03 8:41 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 8:44
Larry J. Siddens28-Aug-03 8:44 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
David Crow28-Aug-03 8:56
David Crow28-Aug-03 8:56 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 9:00
Larry J. Siddens28-Aug-03 9:00 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
David Crow28-Aug-03 9:09
David Crow28-Aug-03 9:09 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 9:33
Larry J. Siddens28-Aug-03 9:33 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
David Crow28-Aug-03 10:14
David Crow28-Aug-03 10:14 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 11:29
Larry J. Siddens28-Aug-03 11:29 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens28-Aug-03 15:34
Larry J. Siddens28-Aug-03 15:34 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Steve S28-Aug-03 22:24
Steve S28-Aug-03 22:24 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens29-Aug-03 2:23
Larry J. Siddens29-Aug-03 2:23 
GeneralRe: Creating CRichEditCtrl Version 2.0/3.0 Pin
Larry J. Siddens29-Aug-03 5:22
Larry J. Siddens29-Aug-03 5:22 
GeneralExchanging Data Pin
Rage28-Aug-03 5:51
professionalRage28-Aug-03 5:51 
GeneralRe: Exchanging Data Pin
David Crow28-Aug-03 7:05
David Crow28-Aug-03 7:05 

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.