Problem with MFC on Vista Hello, A new problem appear in an old app when i go on Vista (not so old ... 1 year old) - I have an opengl context in a pop-up window. I need to have the focus on the window when the mouse in on it, so i procede like that : OnMouseMove() { SetFocus(); ... Set Thing... 24 Apr 2008 15:01
CListCtrl sort not working I have a CListCtrl. In response to pressing one of the columns, I process the LVN_COLUMNCLICK notification by calling SortItems() and providing a callback. The two parameters coming to my callback function are always zero. The documentation implies that the two parameters are indexes of two rows to be compared.... 21 Apr 2008 10:52
Can't get OLE interface Hi. I am trying to insert an image into a RichEditCtrl, and was following the code provided at MSDN KB 220844. I seem to be getting stuck right at the first step. The assert following the SendMessage always fails : ::SendMessage(m_ctlRichText.m_hWnd, EM_GETOLEINTERFACE, 0, (LPARAM)&m_pRichEditOle); ASS... 30 Apr 2008 10:57
UNICODE conversion I have a project in VC 6.0 which composed of a one main and several dll's. I want to convert all the projects gradually to UNICODE. However, since its a gradual process, through the debugging and integration, I may need to work with ASCII as well. Is it possible to do so? Is there some constrain on the interface i... 15 Mar 2008 17:57
CDhtmlDialog Charset Problem Hi, I am using a CDhtmlDialog with a HTML file to show some results in this dialog. The HTML file's head portion is given below :- <HEAD> <META http-equiv="Content-Type" content="text/html; charset=EUC-JP"> </HEAD> Note the charset mentioned as EUC-JP. I am using CDhtmlDialog::LoadFromResource() to lo... 8 Mar 2008 14:19
OnActivateView problem I have a class derived from CView, say CViewA. I have controls in a CDialogBar. when the view CViewA is activated I enable the button on the dialogbar and when it is deactivated I disable the buttons on the dialog bar. But i donot want the buttons to enable or disable when there is switch between same type of view.... 10 Mar 2008 02:48
CAnimateCtrl Hello all... I have an animate ctrl in a dialog box, which plays the simple document_search.avi fileof the magnifying glass moving around while I am doing a task in the background. This code used to work when I had my project in VC6.0 and maybe also in VS2003 but when I moved it in VS2005 (or was it already in ... 4 Mar 2008 22:37
converting vc++2005 project to VC++2008 Hi, I converted my VC++2005 MFC application to VC++2008 but when I build it; it is giving the following linker error: LINK : fatal error LNK1104: cannot open file 'mfc80.lib' As mfc80.lib is not present any more. How can I replace mfc80.lib with mfc90.lib??? Cheers. Manj. ... 22 Feb 2008 13:57
CFileDialog::DoModal() never returns I am encountering a wierd error, and I can't figure out which way to turn. Something deep within the call tree of CFileDialog::DoModal() is (apparently) failing, causing the dialog to never be displayed, and the f() never to return. Here's the failing code: void CPvtDlg::OnBnClickedBnFileBd() { //... 22 Feb 2008 22:44
CMFCRibbonButton pressed state, how to do that ? First of all, I express my best wishes to the success of the new VC Feature Pack, which surely made happy evrybody who is still coding unmanaged code, integrating C codes and yet needing a steadily powerful MFC for his programs user interfaces. My question is about Ribbon buttons : how to put a certain CMFCRibb... 12 Mar 2008 22:43 |