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.

 
Time Tested Windows MFC Solutions: 2626 - 2650 of 3999
 
I have a List View and a Tree View side by side.  I am taking items out of the List View and dropping them into the Tree View.  Everything works great but instead of having a little grey box t...
I am building a tool in MFC. I used the wizard to create a SDI project. This is a 3D tool using a splitter window. I derived a class from the View class so I could make the second spli...
Hi Experts,      I have a dialog, that contains a toolbar. I mapped UPDATE_COMMAND_UI for a tool bar item. But it is not giving control to my mapped function. Thanx in Advance Roshan
I have a problem with an MFC ActiveX control that uses a timer. I want to start the timer from a method 'Fire' called in the container (a Visual Basic application). void CTemp1Ctrl::Fire()...
This should be easy for MFC vets... I am trying to get all the keys in the [ODBC 32 bit Data Sources] section of the ODBC.INI file in C:\WINNT. The following code... GetPrivateProfileS...
Hello, I am using a CComboBox of the "Simple" type. I am trying to handle CBN_SELCHANGE so I can update some edit boxes when the combo box selection changes. I chose a new selection in the ...
I am using MFC in VC++ 6. I would like to know how to enter keys into the registry eg. If a user first time using the my program, it will prompt the user to enter his user name, the sec...
For some reason I can no longer view my stack when I run and break a program compiled for debug w/ program info. 1)  The variables window still has a dropdown box , "Context".  This used t...
Hi, I am running a client application in the debug mode. The application runs perfectly when run through the MS VC IDE. However, the same application refuses to run when the executable is inv...
I have got a COM server exe("LocateSever.exe") which has got methods to access the database.The client application calls these methods to get the recordset pointer after processing the query.I...
I have use the below code to so, but it have an error can Please advice: void CTestView::OnRButtonDblClk(UINT nFlags, CPoint point) {      CListBox wndListBox; wndListBox.Attach (GetDlg...
Hello, Experts:    I need your help!    I am doign Dialog-based application, I have a big dialog, in this dialog, there are some command buttons. my question is : 1) how can I implement thi...
how i can access any private member variable of CMainFrame class in CView class? how i can get the pointer of CMainFrame class in CView class?
I have a CHtmlView derived class that just displays static html from the local disk.  How can I add print functionality? ~Lockias
I was wondering how to set the combobox to a default value when the dialog is first openned.  I can do it for a dropdown combobox by using SetWindowText() but it doesn't work for a drop list. ...
How can I create a bitmap with text written in it with a specific font, size and style? I am working in MSDEV, C++, MFC.
I believe what I'm trying to do is fairly standard - that is I have a menu item say ID_X with a menu handler and you want to give the user the ability to press combo ALT+S which will execute t...
Hi Guys, I am trying to achieve the following: ----------------------- |       ||            | |       ||            | |   1   ||      2     | |       ||            | |       ||      ...
I am writing an application that contains a tree view control. I have set item data which is a user-defined class(call UserList, see below) to each of the node. Now, i know that i need to d...
Can anyone give me sample where use CHotKeyCtrl?
When my app receives a CResourceException or CMemoryException, I'd like to display a dialog telling my user that that's the reason I'm about to exit on him. I plan to pre-allocate the dialo...
Hi, I got a problem with AVIStreamGetFrameOpen, it keeps failing returning a null pointer.  The problem occurs only when I specify the bitmapinfoheader which i want to! Code Fragment: ...
Hi. I want to change the strings in a menu programatically. I have a menu resource that gets loaded by my CFrameWnd. I figured out how to alter the items in the menu: * override ::OnCrea...
I'm using sprintf(string,"%x",number) on a string to be displayed by a CStatic control. where number is an int can i display it in binary format? I don't find any binary specifier in th...
In a dialog based application I have two dialogs which I call form CMyApp::InitInstance(). Like: CFirstDlg dlg1; dlg1.DoModal(); CSecondDlg dlg2; dlg2.DoModal(); To start an auto...