Click here to Skip to main content
16,011,482 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about Winsock Pin
jmkhael16-Sep-02 21:46
jmkhael16-Sep-02 21:46 
GeneralRe: Question about Winsock Pin
nachilau17-Sep-02 19:11
nachilau17-Sep-02 19:11 
GeneralRe: Question about Winsock Pin
jmkhael17-Sep-02 22:11
jmkhael17-Sep-02 22:11 
GeneralRe: Question about Winsock Pin
nachilau18-Sep-02 7:09
nachilau18-Sep-02 7:09 
General[GDI+] Reducing color depth Pin
Nish Nishant16-Sep-02 20:31
sitebuilderNish Nishant16-Sep-02 20:31 
GeneralCEdit display formatting Pin
Chou16-Sep-02 20:13
Chou16-Sep-02 20:13 
GeneralRe: CEdit display formatting Pin
Shog916-Sep-02 20:39
sitebuilderShog916-Sep-02 20:39 
GeneralRe: CEdit display formatting Pin
Chou16-Sep-02 23:52
Chou16-Sep-02 23:52 
The masked edit classes keep the literals within the data, and so they have to have special processing for all edit and cursor functions. I could adapt one of these useful classes to insert that space every two characters, but it seems like overkill. Smile | :)

I'd like to keep the text data the way the user enters it, and mess only with how it would get displayed. My idea is to grab the draw method for CEdit and override it with a function that formats a copy of the text right there, and displays it. I like minimal added logic. Smile | :)

Problem is, I don't have any idea where the CEdit control is drawing itself. I looked in the MFC sources and I can't find anything like CEdit::OnPaint(). Can anyone offer any clues on this?
GeneralRe: CEdit display formatting Pin
jhwurmbach17-Sep-02 0:17
jhwurmbach17-Sep-02 0:17 
GeneralRe: CEdit display formatting Pin
Chou17-Sep-02 17:21
Chou17-Sep-02 17:21 
General[GDI+] Opening a bmp file Pin
Nish Nishant16-Sep-02 19:19
sitebuilderNish Nishant16-Sep-02 19:19 
GeneralRe: [GDI+] Opening a bmp file (found a class - but havin probs using it) Pin
Nish Nishant16-Sep-02 19:40
sitebuilderNish Nishant16-Sep-02 19:40 
GeneralRe: [GDI+] Why the hell does GDI+ redefine new? Pin
Nish Nishant16-Sep-02 19:46
sitebuilderNish Nishant16-Sep-02 19:46 
GeneralRe: [GDI+] Oh woe is me! Pin
Nish Nishant16-Sep-02 19:49
sitebuilderNish Nishant16-Sep-02 19:49 
GeneralRe: [GDI+] Oh woe is me! Pin
Shog916-Sep-02 19:59
sitebuilderShog916-Sep-02 19:59 
GeneralRe: [GDI+] Oh woe is me! Pin
Nish Nishant16-Sep-02 20:04
sitebuilderNish Nishant16-Sep-02 20:04 
GeneralRe: [GDI+] Why the hell does GDI+ redefine new? Pin
Shog916-Sep-02 20:34
sitebuilderShog916-Sep-02 20:34 
GeneralRe: [GDI+] Why the hell does GDI+ redefine new? Pin
Nish Nishant16-Sep-02 20:36
sitebuilderNish Nishant16-Sep-02 20:36 
GeneralRe: [GDI+] Why the hell does GDI+ redefine new? Pin
Shog916-Sep-02 20:38
sitebuilderShog916-Sep-02 20:38 
GeneralRe: [GDI+] Why the hell does GDI+ redefine new? Pin
Nish Nishant16-Sep-02 20:39
sitebuilderNish Nishant16-Sep-02 20:39 
GeneralADO related Pin
Saad Khan Fahd16-Sep-02 18:46
sussSaad Khan Fahd16-Sep-02 18:46 
GeneralRTF question Pin
Phil Sabestialn16-Sep-02 17:43
sussPhil Sabestialn16-Sep-02 17:43 
GeneralRe: RTF question Pin
Shog916-Sep-02 18:17
sitebuilderShog916-Sep-02 18:17 
GeneralA question about printing!help me ,please! Pin
wood16-Sep-02 16:06
wood16-Sep-02 16:06 
GeneralRe: A question about printing!help me ,please! Pin
PJ Arends16-Sep-02 16:46
professionalPJ Arends16-Sep-02 16:46 

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.