2000 organizations, including eBay, Ericsson, and Lockheed Martin, now work smarter with Corporate Accounts. Save over 36%!

 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Windows MFC Solutions: 76 - 100 of 3358
 
I've created a dervied CStatic class that has methods to set the text color and text background color for any text written into the Static Text box.  This works fine, but how can I change the ...
Hi, I'm having a MFC Dialog application that has an edit control (CEdit). This control can accept a maximum of 250 characters. This control is multiline and can accept a maximum of 40 chara...
I am writing a small chat program and i want to show some special charcaters like icons of smiley faces in yahoo messenger chat windows show..how can i achieve this ? i know this character ...
This is really confusing.  I have been using Visual C++ 6.0 for far too long now and when I discovered it would not install on Windows Vista (thank you Microsoft!) I decided it was time to upg...
Hiya I'm trying to use the MFC Feature Pack in Visual Studio 2008. First of all, why is the documentation for the feature pack so poor? I'm just experimenting at the moment but I'm lost...
I am doing a poject in Win32 App that uses CListCtrl class.I want to know how to handle the double click event on items and know which item the user clicked on. Also when the user double click...
I have a double-buffered GDI-based graphics application that works like this: void MyDlg::OnPaint() {      BITMAP bm;      HBITMAP backbuffer, oldBitmap;      HDC backbufferDC;      CPaintDC dc(this); ...
Hello ! I am playing with CTime, and am having a lot of fun !  However, I cannot see why this works. Excuse the lack of experience please :) CReminderDlg dlg; if (dlg.DoModal() ==...
I'm using CFileDialog to let the user open a file and it returns a CString with the file name. I want to use that file name to load an Image (Class), but the Image(Class) parameter uses const...
Hi Expers:                 I have a program with a Class "class COpenGLView : public CView" this is running well in SDI if click with the mouse I am entering to COpenGLView::OnLButtonDblClk(U...
Hallo everyone, I have a question about memory leak. I use Visual Studio .Net MFC. I have 1 propertysheet and 2 classes for 2 pages in the sheet. Memory leak occurs after ExitInstance(...
Is it possible to give tool tip for various ComboItems in a dropdown combo box at the time of selection. i.e. When we click the combo, it shows the combo item in a dropdown and the comboitem g...
Hi Experts, I want to associate icon to my ListView like the windows explorer. I written the code like this CImageList ImageList; ImageList.Create(16, 16, CLR_NONE, 0, 255); ImageList.A...
Experts, is (and if yes, how) possible to install a service and start/stop it from code? Ingo
Hi, I use ShellExecute or ShellExecuteEx to launch an email program, say, Outlook. It is fine. However, I am not able to attach a file to the email. Seems the "mailto" protocol doen't suppo...
i made an MFC dialog based application,and want to draw a circle on it, when pressing a key (i would nt implement the painting function in WM_PAINT handler)     Help plz:) thank you
Hi... :) I'm using Visual Studio 2008 + Window XP. There are 2 projects in my solution. 1st for main project. 2nd for unit test. I'm trying to debugging and found that break point doesn...
I am tring to create a dll.I get the following error while linking with 238 warnings. ordertot.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall TraceNo...
I want to run a test to see if a given file is a directory or not, but I'm not sure how to go about it? If I have a given CString object, how do I test to see if that CString is actually a dir...
Ok.. this is one of those things that *should* be totally trivial.. i've spent two days now trying to do it.  I'm relatively new to MFC, and so I'm sure its just that I'm not doing something c...
I got an app where I get intermittantly First-chance exception in bonder2.exe (GDI32.DLL): 0xC0000005: Access Violation. Unfortunatly this is repeated so fast that the Debug tabwindow only ...
I have trouble in understanding the use of OpenRequest of CHttpConnection and SendRequest or SendRequestEx of CHttpFile.   Let say I want to do something like: https://website.ca/ABroker?Ex...
How do I from my Windows CE C++ program hide the system taskbar.
Hi, I have a List Box(CListBox) in a dialog template. If the item entered in the list box is lenghier than the width of the List box then i want Horizontal scroll bar. In properties of lis...
Hi, i have a socket binded to a local address. I need to unbind that addressand bind another one to the socket... is there anyway for me to do it?