Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralATL/COM and MFC Pin
#realJSOP19-Mar-01 4:16
professional#realJSOP19-Mar-01 4:16 
GeneralRe: ATL/COM and MFC Pin
Chris Losinger19-Mar-01 4:57
professionalChris Losinger19-Mar-01 4:57 
GeneralRe: ATL/COM and MFC Pin
#realJSOP19-Mar-01 5:59
professional#realJSOP19-Mar-01 5:59 
QuestionHow do I hide a console app's console? Pin
Josh Knox19-Mar-01 3:29
Josh Knox19-Mar-01 3:29 
GeneralHBITMAP from HICON Pin
19-Mar-01 2:37
suss19-Mar-01 2:37 
GeneralRe: HBITMAP from HICON Pin
Michael Dunn19-Mar-01 7:10
sitebuilderMichael Dunn19-Mar-01 7:10 
GeneralRe: HBITMAP from HICON Pin
20-Mar-01 3:50
suss20-Mar-01 3:50 
GeneralRichTextCtrl Pin
ThomasKennedyBose19-Mar-01 0:50
ThomasKennedyBose19-Mar-01 0:50 
hi
i have placed a RichTextControl in a dialogbox.i want to know some
code about it
1.when i press enterbutton after adding some text in it cursor is not going to next line
2.how to write code for SetSelBold() and SetSelColor() and all these functions?
3.i'm giving the file name at runtime in my InitDialog() as below
::OnInitDialog()
{
CString str;
str = "D:\\Bose\\Opms\\src\\";
str += pDoc->GetModelTextName();
str += ".prs";
VARIANT var;
InitVariant(&var);
m_RichText.Loadfile(str,&var);
}
when i run my program it giving "The specified file/path is invalid"message. how to avoid it?

please help me if anybody know code for it
GeneralRe: RichTextCtrl Pin
Mike Melnikov19-Mar-01 2:17
Mike Melnikov19-Mar-01 2:17 
GeneralMFC: Positioning a dialog Pin
Ashman19-Mar-01 0:00
Ashman19-Mar-01 0:00 
GeneralRe: MFC: Positioning a dialog Pin
l a u r e n19-Mar-01 6:05
l a u r e n19-Mar-01 6:05 
GeneralRe: MFC: Positioning a dialog Pin
Christian Graus19-Mar-01 11:50
protectorChristian Graus19-Mar-01 11:50 
GeneralMFC question: Keeping a dialog in front Pin
Ashman18-Mar-01 20:27
Ashman18-Mar-01 20:27 
GeneralRe: MFC question: Keeping a dialog in front Pin
Christian Graus18-Mar-01 21:02
protectorChristian Graus18-Mar-01 21:02 
GeneralRe: MFC question: Keeping a dialog in front Pin
19-Mar-01 0:28
suss19-Mar-01 0:28 
QuestionHow to Change the Caption of a CPropertyPage at run time ??? Pin
Ariel18-Mar-01 17:22
Ariel18-Mar-01 17:22 
AnswerRe: How to Change the Caption of a CPropertyPage at run time ??? Pin
Mike Melnikov19-Mar-01 2:41
Mike Melnikov19-Mar-01 2:41 
QuestionHow to Select a row in CListCtrl at run time ?? Pin
Ariel18-Mar-01 17:19
Ariel18-Mar-01 17:19 
AnswerRe: How to Select a row in CListCtrl at run time ?? Pin
Michael Dunn18-Mar-01 19:09
sitebuilderMichael Dunn18-Mar-01 19:09 
GeneralRe: How to Select a row in CListCtrl at run time ?? Pin
Ariel19-Mar-01 1:34
Ariel19-Mar-01 1:34 
GeneralProblems with FlexGridControl... Pin
Brendan Tregear18-Mar-01 11:47
Brendan Tregear18-Mar-01 11:47 
GeneralVariant date's Pin
18-Mar-01 10:57
suss18-Mar-01 10:57 
GeneralRe: Variant date's Pin
Brendan Tregear18-Mar-01 11:41
Brendan Tregear18-Mar-01 11:41 
Questionhow to save my data in excel format file!? Pin
18-Mar-01 5:21
suss18-Mar-01 5:21 
AnswerRe: how to save my data in excel format file!? Pin
Tim Deveaux18-Mar-01 16:27
Tim Deveaux18-Mar-01 16:27 

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.