Visit Experts Exchange from your mobile device to search, ask, and monitor your questions. Never lose touch again.

Preview From Your Desktop
 

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

 
Time Tested Windows MFC Solutions: 101 - 125 of 3358
 
I have a CListCtrl in a dialog box.  I would like the last entry of the dialog box to have a different background color (e.g. yellow) or a different text color.  I am using VC6.0 and using the...
Hi everyone I got a problem with the windows.h file. i wrote only a simple programe and it gives me loads of errors. #include <windows.h> #include <iostream.h> int main ( void ) { ...
Hi, I am new in MFC, could some body tell me how to read line by line in MFC using a CFILE class please. Thanks.
I am trying to create a custom conrtol. i had already used some codeguru.com and codeproject.com articles such as this http://www.codeproject.com/staticctrl/CustomControl.asp. These articl...
How to convert BSTR to char*
How can I view functions list in .lib file?
Hi, I created a dialog that contains CStatic object ( m_myText ). I would like to change the size of the font. Below is a code snippet, what am I doing wrong?
Hello, I am trying to compile a WRAPI test program and am having MFC difficulties. Background:  I am working in C++ .NET 2003 and the program instructions assume Studio 6.0.  Reading thread...
Hi, I have a window that has a progress bar that's supposed to show progress during a long calculation. It works fine except if you place another window over it then remove it - it never re...
I'm having the hardest time deciphering MSDN's explanation for using CCriticalSection. Suppose I have a class with an internal thread method, called by a static "thread starter" method: ...
I'm interfacing with an active X thing, and I don't know much about this stuff.  The object has a property which seems to be a _bstr_t.  I want to get that string and use it in VC++/MFC prefer...
HI -- I'm guessing that this is a easy question as I'm obviously doing something wrong. I've  have a dialog box which has a edit control in it which I want to display text into.   I've crea...
My company uses an old program developed in company using Visual C++ version 6. With an upgrade to the operating system, when the program runs it now fails because, apart from My Documents,...
First Error, I am creating one tool for data encryption/decryption by using MS VC++ 6.0. I am using one text file for data storage. (contains only one 32 byte key) I can successfully create...
I have a DialogBar on the frame of a Doc/View app. I'm using Visual C++ 5.0. I have a few buttons that I wish to draw in a round-rectangle shape, something like:                          _____...
Hi experts, I used EXCEL9.OLB type lib to create excel9.cpp and excel9.h to be used in VC++6. The program is the run on a PC having Excel2002. As long as I make the spreadsheet visible to g...
How do I get the current system time into a member variable? I tried using CTime::GetCurrentTime() but that returns the elapsed time since Windows95 was started. I also checked out the GetSyst...
I trace into MFC, when CArray destruct cause this. How to find location of this error.
hi guys, I am trying to display the current time using CTime in "hh:mm:ss:HH:MM:SS:mmm" where mmm is milliseconds.. I can get all the formating except for the milliseconds.... it is not d...
Hi guys, I am compiling my application in Release Mode (Debug Mode compiles no problem), and am getting these errors: CustomBrowserDlg.obj : error LNK2001: unresolved external symbol __i...
Hi all, I have created a modeless dialog derived from ATL's CAxDialogImpl.  The dialog has a WebBrowser control (Internet Explorer). If a webpage is loaded in the control, keystrokes do ...
Hiya I only have one watch window in my Visual Studio 2008. How can I open more Watch windows? John
I have this call to CoCreateInstance ::CoCreateInstance(clsID, NULL, CLSCTX_ALL, guID, reinterpret_cast<void **>(&pI)); that fails, in fact it crashes and i get 0x000036b7 from GetLastErro...
Hi, I'm using "programmer studio" and visual studio 6 . For the configuration of "programmer studio" I have to give the command line for building and compiling a project with the vc6-compiler....
Hi, How to change the pixel color for a bitmap ....... i mean i want to change all white pixels into Gray Pixel in bitmap. Thanks in Advance.