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...
Type: Posts; User: Mullah
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...
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...
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(),...
Ok sir, thank you.
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)....
// 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...
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...
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
No, the program simply blocks and you have to stop it from the task manager.
Mullah
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...