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

C / C++ / MFC

 
QuestionActiveX Control - Visual C++ 6.0 to Visual Studio 2008 (C++ ) - Urgent Pin
ERLN10-Nov-09 18:33
ERLN10-Nov-09 18:33 
QuestionEdit the maximize box Pin
Anu_Bala10-Nov-09 18:16
Anu_Bala10-Nov-09 18:16 
QuestionFind cursor Pin
sonualex10-Nov-09 18:10
sonualex10-Nov-09 18:10 
AnswerRe: Find cursor Pin
«_Superman_»10-Nov-09 19:01
professional«_Superman_»10-Nov-09 19:01 
GeneralRe: Find cursor Pin
sonualex10-Nov-09 21:26
sonualex10-Nov-09 21:26 
GeneralRe: Find cursor Pin
sonualex11-Nov-09 0:28
sonualex11-Nov-09 0:28 
QuestionRe: Find cursor Pin
David Crow11-Nov-09 3:46
David Crow11-Nov-09 3:46 
AnswerRe: Find cursor Pin
sonualex11-Nov-09 16:52
sonualex11-Nov-09 16:52 
hi David..
nice to c u...
thanks for the reply....
below is my code... it worked fine
i used the font pointer here.. dint understand y v cant use pointer...

CWnd *pwnd = CWnd::GetFocus();; 
	int wID = pwnd->GetDlgCtrlID();
	
	LOGFONT lf1;
        CFont *font1 = new CFont();
	switch(wID)
	{
		case IDC_EDIT1:
			{
				CFontDialog FontDlg1(&lf1);
				if(FontDlg1.DoModal() == IDOK)
				{
						font1->CreateFontIndirect(&lf1);
						m_edit1.SetFont(font1);
				}
			}
		break;
         }

GeneralRe: Find cursor Pin
David Crow12-Nov-09 2:52
David Crow12-Nov-09 2:52 
GeneralRe: Find cursor Pin
sonualex12-Nov-09 17:51
sonualex12-Nov-09 17:51 
QuestionHow to debug an ActiveX control running in Internet Explorer? Pin
Erik10-Nov-09 18:07
Erik10-Nov-09 18:07 
AnswerRe: How to debug an ActiveX control running in Internet Explorer? Pin
KingsGambit10-Nov-09 20:24
KingsGambit10-Nov-09 20:24 
QuestionAutomation on Context Menu Pin
Bedke10-Nov-09 17:19
Bedke10-Nov-09 17:19 
AnswerRe: Automation on Context Menu Pin
Adam Roderick J10-Nov-09 17:52
Adam Roderick J10-Nov-09 17:52 
GeneralRe: Automation on Context Menu Pin
Bedke10-Nov-09 21:23
Bedke10-Nov-09 21:23 
QuestionHow to auto close the MessageBox dialog in SDK Program? Pin
wangningyu10-Nov-09 15:33
wangningyu10-Nov-09 15:33 
AnswerRe: How to auto close the MessageBox dialog in SDK Program? Pin
«_Superman_»10-Nov-09 16:08
professional«_Superman_»10-Nov-09 16:08 
QuestionMFC Multiple Views Pin
Cipher 2210-Nov-09 11:40
Cipher 2210-Nov-09 11:40 
AnswerRe: MFC Multiple Views Pin
«_Superman_»10-Nov-09 12:00
professional«_Superman_»10-Nov-09 12:00 
QuestionCreateEX() causing odd results in Vista/7 Pin
anthonym710-Nov-09 9:37
anthonym710-Nov-09 9:37 
AnswerRe: CreateEX() causing odd results in Vista/7 Pin
«_Superman_»10-Nov-09 10:44
professional«_Superman_»10-Nov-09 10:44 
GeneralRe: CreateEX() causing odd results in Vista/7 Pin
anthonym710-Nov-09 10:49
anthonym710-Nov-09 10:49 
QuestionPassword scramble PinPopular
Chris081210-Nov-09 8:21
Chris081210-Nov-09 8:21 
AnswerRe: Password scramble Pin
«_Superman_»10-Nov-09 8:30
professional«_Superman_»10-Nov-09 8:30 
GeneralRe: Password scramble Pin
Chris081210-Nov-09 8:47
Chris081210-Nov-09 8:47 

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.