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 strongm 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. stupidog

    graphical keyboard?

    This is easily done using either a dialog or formview. I'm basing this on VC++ 6.0, the sequence is a little different in .NET but you will end up with the same steps in a slightly different way. Create a dialog application and start adding buttons (this is the hard part). Change the text on...
  2. stupidog

    On Focus

    Yes, an easy way to set focus is to use the Layout feature to make it number one on the tab sequence for your dialog.
  3. stupidog

    Telephone Number or Date In Edit Box

    Look around on the programming sites for a masked edit control.
  4. stupidog

    How to add ,modify or delte item in CRecordset

    Take a look at the following link: http://www4.dogus.edu.tr/bim/bil_kay/prog_dil/c++/ch15.htm
  5. stupidog

    Only numbers in the textbox

    Right click on the edit box and choose properties. You can set it to accept numeric input only.
  6. stupidog

    How display Directory List or file list?

    It's very easy for a listbox. Do the following: Create a listbox and create a variable for it, something like m_list. Give the dialog a title like 'Directory List' or anything else descriptive. In the OnInitDialog section of the dialog, type this in: m_list.Dir(0X0000, "*.*"); This will list...
  7. stupidog

    Conversion

    Parse the string, catch the ^ character - when you see this, you call the pow() function. You catch the n character and use it as the index in pow().
  8. stupidog

    C++ and Internet explorer

    Use CHTML as a base class
  9. stupidog

    Help with CString::Format()

    Format it as: str.Format("%.2f", 3.14); //2 place precision str.Format("%.3f", 202.141); //3 place precision
  10. stupidog

    General Information

    www.functionx.com
  11. stupidog

    grid controls

    Try msflexgrid (found under Active X controls). It is easy to use and you won't have to re-invent the wheel.
  12. stupidog

    Missing It

    The quick, dirty way to do what you want would be to use the View class. Create a dialog resource and hit Ctrl-W. Name your class whatever you like and accept the default Dialog base class. Now go to your View class OnInitialUpdate function. Declare a variable of your dialog class, for...
  13. stupidog

    Getting Tex from Edit box

    It might be easier to do it like this: double x=0; CString strx; GetDlgItemText(this, IDC_WELLRAD, strx, 20); x = strtod(strx, NULL);
  14. stupidog

    Very Basic Question. Databases

    C++ can be used to create databases by using a struct or class to hold the data. Even better than that is the ability of VC++ (which I assume you are using since you are on the VC++ forum) to work as a front-end for a database. I always use Access since it is so widely used. By using the...
  15. stupidog

    visual c++ 6 vs. visual c++ .NET

    Visual C++.Net is available separately. You can get it in Standard, Professional or Enterprise editions. I bought the Standard edition on Amazon. It is not just a re-hash of VC++ 6.0 as it requires that you install the .Net components. Be warned, also, that it will not install the .Net...
  16. stupidog

    radio button hide and show

    You won't really need a variable for the others. Just do this to display them: GetDlgItem(RADIO_2)->ShowWindow(TRUE); .... ... ..
  17. stupidog

    Dialog based vs SDI with Dialog

    Yes, if you want to print the output.
  18. stupidog

    I downloaded a bit of code from: h

    Look in the resource view at the identifier for the control (something like IDC_BUTTON1). Then use the following: GetDlgItem(IDC_BUTTON1)->ShowWindow(FALSE);
  19. stupidog

    VB user beggin for help to learn C++

    try www.maxcode.com for some good tutorials on c, c++, c#. there are quite a few there. stupidog
  20. stupidog

    problem with fgets

    brudnakm is right on about the string. You may also want to be careful mixing members of the fgets() and scanf() tribes. Used together, you may get unexpected results (usually losing characters). Might be better (especially when receiving user) input to use fgets() throughout and convert the...

Part and Inventory Search

Back
Top