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 gkittelson 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. oldfoots

    How to save text from an Edit field into a *.txt file

    A way is as follows: #include <fstream.h> char myDummy[100]; ofstream outfile(&quot;C:\\Copy\\test.txt&quot;, ios::app); // Opens file in an append mode outfile << Edit1->Text.c_str() << endl; // c_str() changes Edit1->Text to char. outfile.close();
  2. oldfoots

    System Image List

    Finally figured it out. Code supplied below. Functions are in <shellapi.h> Graphics::TIcon *myIcon = new Graphics::TIcon(); HIMAGELIST SystemImageListHandle; HICON SytemImageListIconHandle; SHFILEINFO FileInfo; if (OpenDialog1->Execute()) { // Get Large Icon System Image...
  3. oldfoots

    System Image List

    Thanks for the tip. If all else fails I will do that. However, I am trying to make a game menu program and I would like to automate the process. Currently on p18, cag3 gave a code snippet to question &quot;get icon from api&quot;. I seem be be able to get the handle of the System Image List...
  4. oldfoots

    Capturing wheel mouse event in C++ builder 3

    When I tried my wheel mouse on a form with a vertical scroll bar, it worked fine. If the mouse pointer was on a component like a combo box however, the form will not scroll. Thus, it may be a function of what you have on the form. You might try putting the mouse pointer on the form name at...
  5. oldfoots

    System Image List

    How can I get an ICON for a specific Windows Program from the System Image List into an image on a form?

Part and Inventory Search

Back
Top