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 wOOdy-Soft 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: *

  • Users: nbgoku
  • Content: Threads
  • Order by date
  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()

    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) {...
  3. 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
  4. 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?
  5. 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?
  6. 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
  7. 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?
  8. nbgoku

    how to tell if folder or file

    is there anyway to tell if something is a folder or a file? b/c i noticed files can have no extensions and still be considered files, and folders can have periods in them and still be considered folders (even though they may look like files names) is there a certain property or function that can...
  9. nbgoku

    copy value of cell when mouse clicks on cell (msflexgrid)

    how do i make it so that a cell gets selected and the person can copy (only, no editing) the string in the cell in a msflexgrid
  10. nbgoku

    fopen() question

    1) can i make a hidden .txt file using fopen? or is it always given the propety visible 2) i want to open a .txt file and read 1 line at a time, what function do i use to read 1 line at a time?
  11. nbgoku

    msflexgrid <-- any tutorials?

    i dont know what to do at all with msflexgrid, any tutorials out there? or if anyone can give an example code maybe? i have visual c++ .net, and i dont see the felixgrid option under Toolbox, if i want to add, what is the name of the Component i need to add? thanks
  12. nbgoku

    Height and Width of Title bar

    is there anyway i can find out the height and width of the title bar? (i noticed the sizes changed from Windows Classic mode to Windows XP mode)
  13. nbgoku

    OnLButtonDown() question

    void CAboutDlg::OnLButtonDown(UINT nFlags, CPoint point) { if(nFlags == MK_LBUTTON) { MessageBox("hi"); } CDialog::OnLButtonUp(nFlags, point); } works beautifully, my question is what coding should i use so that the message box appears only if the left click is on a Static Text( ex...
  14. nbgoku

    Computer Crashed ---> .cpp files in unicode --> help :(

    my computer crashed, and when i tryed to retreive lost data, i got my .cpp files back as these wierd symbols, im guessing unicode, well either way, i cant read anything that i wrote, wondering how can i restore the normal ascii characters?
  15. nbgoku

    Changing Static Text Color Issue

    HBRUSH CAboutDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) { HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor); if (pWnd->GetDlgCtrlID() == IDC_EDIT2) { pDC->SetTextColor(RGB(255, 0, 0)); hbr = m_brush; } return hbr; } this code works beautifully when changing an edit...
  16. nbgoku

    Where to start learning about internet communication in MFC programs

    where can i learn about how the program can communicate on the internet? is there are good tutorials out there that show how the interent works with C++? my main goals is really just to check if a certain url exist, and if it does, a MessageBox("exist") should appear, but i need to figure out...
  17. nbgoku

    Is there a CFolderDialog like a CFileDialog

    Is there a CFolderDialog like a CFileDialog im trying to open a folder in a mfc program, but dont understand if mfc already provides a folder opening option (class) like its file opening option (class - CFileDialog)
  18. nbgoku

    CPropertyPage and Mother Window Inactive/Active Title Bar issue

    ok i have a couple of CPropertyPage that load up from the mother window, and the thing is when they load, the mother windows title bar goes to inactive mode (turns the color gray from blue), the CPropertyPage dong have title bars so i would like to just keep the title bar of the mother window...
  19. nbgoku

    How to Gray Selections in Menu [file menu for example]

    how do i gray certain areas of a file menu, it seems EnableWindow() doest work with what i want, i want to gray certain selections in the Menu's when a certain selection is selected i used Microsoft to build the menu the Menu name is IDR_MENU1 inside the Menu is an option called Open (in the...
  20. nbgoku

    WindowProcedure()

    hi im trying to detect when the main window is moved (mother window, not child) ... ive gotten teh following code below from some tutorials, the thing is they didnt use classes in the tutorials, im trying to get this function to work with classes, any help would be great CODE LRESULT CALLBACK...

Part and Inventory Search

Back
Top