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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by nbgoku

  1. nbgoku

    function to convert ascii to dec,hex, octal or binary?

    is there a function in c++ or vc++ that converts a ascii to its dec,hex,octal, or binary value?
  2. nbgoku

    OnParentNotify()

    OnDestroy() for the parent window or child window?
  3. nbgoku

    OnParentNotify()

    ok i have a OnParentNotify(), and i want to detect when a child window is destroyed, what am i forgeting that will notify me that my window is closing void CMDAPETDlg::OnParentNotify(UINT temp,LPARAM temp1) { CDialog::OnParentNotify(temp,temp1); if(temp == WM_DESTROY) {...
  4. nbgoku

    what is "MAX_PATH"

    what is MAX_PATH? is the largest name a file can have as in hi.txt? or is it the largest name of a file + its adress as in C:\1\hi.txt? or is it somethingelse? i find uses of it everywhere, but no simple explanation
  5. nbgoku

    detect when mouse clicks on "x" (close option)

    hi, iwant to detect when the mouse clicks on the "x" option to close/exit the program, the reason is i want to have a message popup after they click on the "x", any ideas?
  6. nbgoku

    Array size

    if i set my array size to be [6], can i change it to [24] later on or is this not allowed with arrays?
  7. nbgoku

    CComboBox EnableToolTips

    i got a CComboBox EnableToolTips, in other words CComboBox a; a.EnableToolTips(1); should tooltips now starting showing up bythemselves or do i have to add extra script to get this thing working? this is all i have so far
  8. nbgoku

    Detect when a file is changed while my .exe is running

    how can i detect when a file (ex: c:\1.txt) has been changed or edited while my program is running ... i noticed windows updates explorer whenver a file is edited, etc...how can i use that same ability with my program?
  9. nbgoku

    how to tell if folder or file

    oh i figured it out,nvm!
  10. nbgoku

    how to tell if folder or file

    ok cpjust i tried this but doesnt work, any ideas? struct _stat buf; int r = _stat("C:\\",&buf); if(buf.st_mode==_S_IFDIR) { MessageBox("c:\ exist"); } else { MessageBox("c:\ not exist"); }

Part and Inventory Search

Back
Top