Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LuisEnrique

    Problems querying a value from the registry.

    Hello Everybody ok, here is my code: HKEY keyHandle; char *rgValue = NULL; PLONG buffLen = NULL; if(RegOpenKey( HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion", &keyHandle) == ERROR_SUCCESS) { //MessageBox(_T("Key was opened"))...
  2. LuisEnrique

    Keeping the values when a Dialog is closed and opened

    Well, I think what I want is the form to remember the values selected in the combo box. So looks like I need to look more about registry stuff. Honestly, I'm not quite familiar with the registry. Is there anything resource that I can find online that I can read about reading values from the...
  3. LuisEnrique

    Keeping the values when a Dialog is closed and opened

    Hello everybody: I have a Dialog with a combo box. I supposed to pick a value from the combo box and then when I close the dialog and open the same dialog again, the value that I was selected before closing the dialog is gone. Is there a way of keeping those values when opening and closing a...
  4. LuisEnrique

    Help with Combo Boxes

    Hello: I need help with Combo boxes. I have a combo box in a dialog and I want to fill the combo box with some filenames of a specified directory. Then, after filling the combo box, I'm disabling it (it can be enable by a check box in the same dialog). The program complies and runs, and when...
  5. LuisEnrique

    Extracting an Item from a CListBox

    Hello Everybody: I have a CListBox that displays a list of files. I want to extract the name(string) of the file that is selected in the inbox. What do I need to do to do that? Any answer ir more than welcome. Regards, Luis E. Cuadrado
  6. LuisEnrique

    garbage in CFileDialog

    Opps, I didn't noticed the two "||" at the end. I change the line and it works. Thanks tchouch for your help. Have a nice day, Luis E.
  7. LuisEnrique

    garbage in CFileDialog

    Hello everybody: I have something weird happening when in a CFileDialog object that I create. From a menu, I choose a command that brings up a Open File dialog. The weird thing is happening when I click the File Type pull down where it says Executable Files (*.exe)|*.exe I able to see in the...
  8. LuisEnrique

    Adding ToolTips to a CBitmap object

    Hi: I was wondering if there is a way to put ToolTips to a CBitmap object. I have a line that says: m_ToolTip.AddTool(&m_Bmp, _T("This is a picture")); were m_Bmp is a CBitmap object. The compiler comes with an error saying: ...int __thiscall CToolTipCtrl::AddTool(class CWnd...
  9. LuisEnrique

    Learning VC++

    Hi! A nice book to try is "C++ How to Program" Third Edition by Deitel and Deitel. Is a great book if you want to learn C++. Probably you will not like the price, but believe me, is worth it. Hope it helps.
  10. LuisEnrique

    How to use breakpoints?

    Hello: I'm kind of new in Visual C++. I used the Borland C++ Free compiler and now I @ work I use Visual C++. I want to run using F10 a program and there is a part that it takes long to execute using F10, can I skip that part? In situations like this, using breakepoints are useful? Any answer...

Part and Inventory Search

Back
Top