Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Windows MFC Solutions: 1 - 25 of 159
 
Hi all,   I have created a sample win32 console with mfc support by  using Visual Studio 6.0. I could not load jpg file onto a dialog box as a background. I am able to load "bmp" as backgro...
I am trying to load an image in OpenCV using the MFC open file dialog: CString filename; CFileDialog dlg(TRUE, _T("*.bmp"), NULL, OFN_FILEMUSTEXIST|OFN_PATHMUSTEXIST|OFN_HIDEREADONLY, _T...
I have a dialog box where the user enters a string for a directory name. I need to check to see if the string is valid for a windows directory before it is created, such as it is not past the...
This Security update for SQL Server 2005 Service Pack 2 will not update. In the system event log it is error 0x80070643 and event ID 20. There is also a Security update for >NET Framework 2.0 ...
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...
When I programmatically check a radio button as described here: http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_23119601.html It crashes in Debug mode but n...
Is it possible to capture the message when the application loses focus and regains focus ? Please attach a snippet of the calls  if possible. Thanks
HIya I have an application, using MFC, which is generating memory leaks. There is a lot of dynamic memory allocation but I belive I have dealt with deleting these at the end of the applicat...
How do use MFC to check if the current user has write access to a directory?
Hi Experts, I am writing small VC++/MFC application, Application has edit box controls for Username, Password, and Path of Folder. Now i wants to check whether USER  i have given , has the ...
Hi everyone I have created a button in my MFC app (on OnCreate funtion with ON_WM_CREATE() message): CButton myButton; myButton.Create("Button's Name",WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON,CR...
    _RecordsetPtr m_ptrRs;             //Open the recordset object Tabelle  m_ptrRs->Open(_variant_t(bstrQuery),(LPCTSTR)m_strConnection, adOpenDynamic, adLockOptimistic, adCmdUnknown); _variant_...
If I have a local variable of type CString and then assign to it using the concatenation operator, things work fine: CString StringFunction1() {   CString one;   one = "ONE";   return o...
I write a simple MFC program , with Dialog only. How to hide dialog Immediately After program start ? This work can be done with OnTimer and ShowWindow(SW_HIDE) after X seconds. But this ...
Hello, I have a little problem. I load a Bitmap and set this bitmap to a picture control. main_dlgProgress->bitmapPreview.SetBitmap(main_dlgProgress->hScanBitmap); This I cannot do an...
I am using javascript invoker, where I am passing safe array to the following  JS: <SCRIPT LANGUAGE="JScript"> function GetStrFromArray(strArray) {      var a = new Array(strArray); alert(a...
I am currently using GetPixel, SetPixel for Saving my Bitmap for Image which is very slow in my application. I learnt that I can use GetDIbits, GetDIBitsection.  Can anyone please attach a sn...
Hi, I would lik to change my tab control tilte font color from default to any other color. If you give me sample program it will be helpful.
Hiya I'm trying to write CStrings to a file using the following:      std::ofstream out( MyFile );      out << _T("My Data") << std::endl << std::endl; However, when I view the created fil...
If I try to use SetFont on a combobox member variable the control is re-sized correctly (or it appears to) but the font size of the items inside it is not changing. This is a DROPDOWNLIST cont...
Hi, I have a CStatic memner in my dialog How do I draw it white? I tried the following but the control still have it's default color
I'm interested in learning if there is an MFC API for sending SMTP email messages from inside a C/C++ program. I don't want to use external (3rd party) libraries, as it would be inefficient...
Hi Experts, How can I fix this ?  I'm using Visual Studio 2008 C++ with MFC..... Thank you! Mike
Hello to all the experts out there, I recently got a MFC ActiveX control to work. (I am a newbie) which basically needs to check if an application is installed, if it is then open/start/run t...
I need to put an icon on a button I have in a dialog, however the icon happens to be part of a toolbar already and I can't seem to find a way to load it from the toolbar. Is there a way to do ...