Hee now than i saw your message.. prev, I got the same problem with the isDigit() function so I got :mad: and create a iIsNum(CString string) function using VC++ ver 6 BOOL iIsNum(CString string) { int strLenght = string.GetLength(); bool _isnum; CString chr; for (int i = 0; i < strLenght ; i++) { chr = string.Mid(i,1); if(chr >= "0" && chr <= "9") _isnum = TRUE; else { _isnum = FALSE; break; // no use search for other char } } return _isnum; } Hope you still can use this function ~~~
I
Ivan Yap
@Ivan Yap
Posts
-
Converting -
how to Convert modeless dialogs to modal dialogsPlease advise me how am I convert the modeless dialogs to modal dialogs. 1. i hid the modeless dialogs by using the ShowWindows(FALSE) 2. How ever the program icon disappear in the task bar. 3. I thinking of making the modeless dialogs so that it appear in the task bar. thank you. please advise :((