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

C / C++ / MFC

 
GeneralRe: How to let an SDI-Appliction automatically scroll Pin
susanne118-May-09 0:56
susanne118-May-09 0:56 
QuestionMFC Popup Dialog GDI DirectDraw Pin
decap00816-May-09 3:23
decap00816-May-09 3:23 
Questionneed code solution plz Pin
samar aladwan16-May-09 3:22
samar aladwan16-May-09 3:22 
AnswerRe: need code solution plz Pin
Rajesh R Subramanian16-May-09 3:41
professionalRajesh R Subramanian16-May-09 3:41 
AnswerRe: need code solution plz Pin
CPallini16-May-09 3:47
mveCPallini16-May-09 3:47 
Answerneed a code plz Pin
samar aladwan16-May-09 3:20
samar aladwan16-May-09 3:20 
GeneralRe: need a code plz Pin
Chris Losinger17-May-09 14:53
professionalChris Losinger17-May-09 14:53 
QuestionFontDialog Pin
susanne116-May-09 3:18
susanne116-May-09 3:18 
I have this peace of code to choose a font family for the input text in ceditview class(i have here SDI_Appliction):

CFont *cfont = (CFont*) new CFont();
LOGFONT *lf = new LOGFONT();
m_cfdlg.GetCurrentFont(lf); // CFontDialog m_cfdlg;
strFaceName = m_cfdlg.GetFaceName();
nSize = (m_cfdlg.GetSize()/ 6);
cfont->CreateFont(nSize,lf->lfWidth,lf->lfEscapement,lf->lfOrientation,lf->lfWeight,lf->lfItalic,false,
0,1,OUT_DEFAULT_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY, DEFAULT_PITCH | FF_SWISS,strFaceName);

CEditView m_ptrInput = (CEditView *) m_wndSplitter.GetPane(0,0);
ASSERT_VALID(m_ptrInput);
m_ptrInput->SetFont(cfont,true); // When this line apllied, the Text will have the size that benn choosen in the font dialog but not the font family or the face name ???

Any help would be appreciated.Thanks
QuestionWin32: Get message notification of other application's close/exit. Pin
WindowsPistha16-May-09 2:49
WindowsPistha16-May-09 2:49 
AnswerRe: Win32: Get message notification of other application's close/exit. Pin
Taran916-May-09 2:58
Taran916-May-09 2:58 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
WindowsPistha16-May-09 3:20
WindowsPistha16-May-09 3:20 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
«_Superman_»16-May-09 3:51
professional«_Superman_»16-May-09 3:51 
QuestionRe: Win32: Get message notification of other application's close/exit. Pin
Rajesh R Subramanian16-May-09 3:51
professionalRajesh R Subramanian16-May-09 3:51 
AnswerRe: Win32: Get message notification of other application's close/exit. Pin
Stuart Dootson16-May-09 13:12
professionalStuart Dootson16-May-09 13:12 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
WindowsPistha17-May-09 2:56
WindowsPistha17-May-09 2:56 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Randor 17-May-09 7:03
professional Randor 17-May-09 7:03 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Identity Undisclosed3-Jun-09 19:43
Identity Undisclosed3-Jun-09 19:43 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Randor 5-Jun-09 23:57
professional Randor 5-Jun-09 23:57 
AnswerRe: Win32: Get message notification of other application's close/exit. Pin
Joe Woodbury16-May-09 18:07
professionalJoe Woodbury16-May-09 18:07 
AnswerRe: Win32: Get message notification of other application's close/exit. Pin
Identity Undisclosed3-Jun-09 20:00
Identity Undisclosed3-Jun-09 20:00 
GeneralRe: Win32: Get message notification of other application's close/exit. Pin
Randor 6-Jun-09 0:07
professional Randor 6-Jun-09 0:07 
QuestionTRACE with Unciode? Pin
sashoalm16-May-09 1:14
sashoalm16-May-09 1:14 
AnswerRe: TRACE with Unciode? Pin
Rajesh R Subramanian16-May-09 1:24
professionalRajesh R Subramanian16-May-09 1:24 
AnswerRe: TRACE with Unciode? Pin
Rick York16-May-09 18:03
mveRick York16-May-09 18:03 
QuestionGraphics in cpp Pin
Markandaiya Harsh16-May-09 0:28
Markandaiya Harsh16-May-09 0:28 

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.