Click here to Skip to main content
15,886,664 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Corrected . Pin
vikas amin5-Jan-06 0:59
vikas amin5-Jan-06 0:59 
AnswerRe: Can i type cast a function ? Pin
S. Senthil Kumar5-Jan-06 3:40
S. Senthil Kumar5-Jan-06 3:40 
Questionresizing frame to fit view? Pin
LeeeNN4-Jan-06 20:13
LeeeNN4-Jan-06 20:13 
AnswerRe: resizing frame to fit view? Pin
Owner drawn4-Jan-06 20:17
Owner drawn4-Jan-06 20:17 
QuestionShould not allow copy, cut, paste and delete in the edit boxes using VC++ Pin
K. narasimharao4-Jan-06 19:50
K. narasimharao4-Jan-06 19:50 
AnswerRe: Should not allow copy, cut, paste and delete in the edit boxes using VC++ Pin
Owner drawn4-Jan-06 20:20
Owner drawn4-Jan-06 20:20 
QuestionDisplay multi line colors in Rich edit control using VC++ Pin
K. narasimharao4-Jan-06 19:38
K. narasimharao4-Jan-06 19:38 
AnswerRe: Display multi line colors in Rich edit control using VC++ Pin
Anilkumar K V4-Jan-06 20:48
Anilkumar K V4-Jan-06 20:48 
Just an out line of procedure. customizee as you likeSmile | :)

HWND hRichEdit = NULL;
CHARFORMAT* cf = NULL;

hRichEdit = (HWND)GetDlgItem (IDC_RICHEDIT);

CHARRANGE cr;
cr.cpMin = 0; // set strating char position
cr.cpMax = -1;// end char pos
SendMessage(hRichEdit, EM_EXSETSEL, 0, (LPARAM)&cr);


cf = new CHARFORMAT;
cf->cbSize = sizeof(CHARFORMAT);
cf->dwMask = CFM_COLOR |CFM_BOLD|CFM_FACE|CFM_SIZE|CFM_ITALIC;
cf->dwEffects = CFE_BOLD;
cf->crTextColor = RGB(255,0,0);
cf->yHeight = 160;
strcpy ( cf->szFaceName, "Ariel");
SendMessage( (HWND) hRichEdit, SCF_SELECTION, (WPARAM) SCF_ALL, (LPARAM) cf);
Smile | :)

All the best
AnilFirst@gmail.com
GeneralRe: Display multi line colors in Rich edit control using VC++ Pin
Owner drawn4-Jan-06 23:15
Owner drawn4-Jan-06 23:15 
GeneralRe: Display multi line colors in Rich edit control using VC++ Pin
Anilkumar K V5-Jan-06 0:35
Anilkumar K V5-Jan-06 0:35 
QuestionDisplay ulti line colors in Rich edit control using VC++ Pin
K. narasimharao4-Jan-06 19:37
K. narasimharao4-Jan-06 19:37 
QuestionEnter Key press on a button does not activate it Pin
GayathriNaveen4-Jan-06 19:15
GayathriNaveen4-Jan-06 19:15 
AnswerRe: Enter Key press on a button does not activate it Pin
birajendu4-Jan-06 19:58
birajendu4-Jan-06 19:58 
AnswerRe: Enter Key press on a button does not activate it Pin
vikas amin4-Jan-06 21:35
vikas amin4-Jan-06 21:35 
GeneralRe: Enter Key press on a button does not activate it Pin
GayathriNaveen4-Jan-06 23:00
GayathriNaveen4-Jan-06 23:00 
GeneralRe: Enter Key press on a button does not activate it Pin
Owner drawn4-Jan-06 23:12
Owner drawn4-Jan-06 23:12 
Questionhow to conect devlopment work station to target device Pin
birajendu4-Jan-06 18:54
birajendu4-Jan-06 18:54 
QuestionCAsyncSocket Pin
jianxin08054-Jan-06 18:49
jianxin08054-Jan-06 18:49 
AnswerRe: CAsyncSocket Pin
Prakash Nadar4-Jan-06 22:04
Prakash Nadar4-Jan-06 22:04 
QuestionA question Pin
pantao5514-Jan-06 16:52
pantao5514-Jan-06 16:52 
AnswerAn answer Pin
PJ Arends4-Jan-06 16:59
professionalPJ Arends4-Jan-06 16:59 
GeneralAn answer TO an Answer Pin
Owner drawn4-Jan-06 17:01
Owner drawn4-Jan-06 17:01 
GeneralRe: An answer TO an Answer Pin
Prakash Nadar4-Jan-06 17:41
Prakash Nadar4-Jan-06 17:41 
GeneralRe: An answer Pin
pantao5514-Jan-06 18:42
pantao5514-Jan-06 18:42 
AnswerRe: A question Pin
Owner drawn4-Jan-06 16:59
Owner drawn4-Jan-06 16:59 

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.