Search:

Type: Posts; User: Mullah

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,090

    for converting strings into some other things you...

    for converting strings into some other things you have atoi (convert a string to an integer), atol (convert to a long), atof (convert to a double) C functions. See what you can do with these...
  2. Replies
    2
    Views
    1,456

    Displaying a tool tip on a dialog

    Hi,

    I need to display a ToolTip on a DialogBox (for example, to display the mouse coordinates). I'm drawing some graphics on a Dialog using CPaintDC device context in OnPaint handler function...
  3. Replies
    4
    Views
    1,090

    Use COleDateTime MFC class. You can get the...

    Use COleDateTime MFC class.
    You can get the current time as follows:

    COleDateTime today = COleDateTime::GetCurrentTime();
    CString strTime;
    strTime.Format("%d %d %d", today.GetMonth(),...
  4. Ok sir, thank you.

    Ok sir, thank you.
  5. Thank you, but if you call RemoveDirRecurse there...

    Thank you, but if you call RemoveDirRecurse there you get an access violation (you can't call a recursive function twice because it overwrites it's block memory stack the second time you call it)....
  6. deleting directory structure routine (with code tags this time)

    // This macro evaluates to the number of elements in an array.
    #define chDIMOF(Array) (sizeof(Array) / sizeof(Array[0]))

    typedef struct
    {
    int nDepth; // Nesting depth
    BOOL...
  7. deleting a directory structure

    Hi!


    I'm a VC++ programmer. I need a recursive routine that deletes all the subdirs and files from within a parent(root) directory. This root directory should be taken as a parameter (LPCTSTR or...
  8. Replies
    5
    Views
    1,131

    Sorry, can't access the hotmail server right now...

    Sorry, can't access the hotmail server right now so that I can send it to you by e-mail. It's more than one function call.


    Mullah
  9. Replies
    5
    Views
    1,131

    No, the program simply blocks and you have to...

    No, the program simply blocks and you have to stop it from the task manager.

    Mullah
  10. Replies
    5
    Views
    1,131

    testing on writing to floppy

    The idea is as follows: I have a ConfirmDisk button on a dialog (in Visual C++). When you click the button, the handler calls a ConfirmDisk() function which is supposed to write some files within a...
Results 1 to 10 of 10