|
Programm3r wrote: Would the CreateDirectory function throw an exception if the directory that it must create already exists?
No, It will return 0.
And GetLastError returns ERROR_ALREADY_EXISTS .
i.e.
BOOL bCreated = CreateDirectory(..);
if (bCreated ==FALSE )
{
if (GetLastError() == ERROR_ALREADY_EXISTS)
{
}
}
|
|
|
|
|
thanxs again prasad_som ...
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r
|
|
|
|
|
hi,
i want to disable the radio button in a group...
have you got an idea?
please help me....
thanks...
Giulio
|
|
|
|
|
Disabling a radio button (or any window, for that matter) can be done by calling the object's EnableWindow() method with the parameter FALSE .
/ravi
|
|
|
|
|
CWnd::EnableWindow(FALSE);
|
|
|
|
|
Ing.Raiz82 wrote: i want to disable the radio button in a group...
have you got an idea?
I've used this class in the past for just such a requirement. It's easy to use.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
|
|
yes i understand...
but i resolved with
GetDlgItem(IDC_CHECK)->EnableWindow();
thanks....
Giulio
|
|
|
|
|
Are you smoking drugs? If so, can I have some?
|
|
|
|
|
|
AAAAaaawwww man, thats's too strong for me. Do you have anything VB wise?
|
|
|
|
|
GetDlgItem(IDC_CONTROL_ID)->EnableWindow(FALSE);
-- modified at 15:07 Tuesday 20th February, 2007
Why was that voted a 2? The answer is correct.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hi all,
i am doing my final year project on face detection using webcam in VC++ and am finding some problems in coding..
could you all please help me..
|
|
|
|
|
mannur wrote: finding some problems in coding..
could you all please help me..
We'd love to help if we can, but you'll need to be more specific. What sort of problems are you having?
/ravi
|
|
|
|
|
mannur wrote: ...and am finding some problems in coding..
Where are you finding these problems?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Can some one help me , how this program XGraph works, I am not able to get out the demo program working , or can anyone help me by giving some sample program, or some documentation.
Thanx in advance.
rams
|
|
|
|
|
|
1- no, we all are using Turbo Pascal.
2- does not install on Vista, I'm still using Win 3.1
3- no applicable.
|
|
|
|
|
Maximilien wrote: 1- no, we all are using Turbo Pascal.
2- does not install on Vista, I'm still using Win 3.1
3- no applicable.
But I dont know why you get Score: 1.6 (5 votes)
And what questions?
|
|
|
|
|
|
yes thank you I saw question on above
But what happens today,some questions was delete and also some answers
|
|
|
|
|
Yes, it works on Vista. Are you having problems?
|
|
|
|
|
|
Vithaya wrote: 1) Is anybody use the Visual C++6/MFC develope application?
Yes, I'm certain there are several folks that use it.
Vithaya wrote: 2) When install on Windows Vista, it has any problem?
None that I've heard of.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|