|
Is it possible to draw behind the Desktop Icons on Vista (Animated)?
|
|
|
|
|
Do you want to draw like this or want animation drawing ?
HDC hDC = ::GetWindowDC(NULL);
::Ellipse(hDC, 0, 0, 200, 100);
ReleaseDC(NULL, hDC);
|
|
|
|
|
like this... but your Code would draw on Top of the Screen...
|
|
|
|
|
|
Here my Question Again: Is it possible to draw !BEHIND! the Desktop Icons on Vista (Animated)?
|
|
|
|
|
I would like to create a MFC project but when I create a project the option is greyed out. how can i use it?
Y*Live Long And Prosper*Y
|
|
|
|
|
Express edition is free and doesn't have MFC support. You will have to buy Visual Studio, if you want to develop applications using MFC.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Purchasing one of the other editions of Visual Studio .
BTW do you really need MFC ?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
CPallini wrote: BTW do you really need MFC?
There you go - driving away another potential VS customer.
Nobody can give you wiser advice than yourself. - Cicero
.·´¯`·->Rajesh<-·´¯`·.
Codeproject.com: Visual C++ MVP
|
|
|
|
|
Well, I have to admit, I'm involved in Microsoft's Visual Studio Express campaign!
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Another member of the boycot MFC policy [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
That's definitely your follower.
|
|
|
|
|
CPallini wrote: BTW do you really need MFC?
[Visual C++ 2008 Feature Pack Release^] updates MFC with cool look and feel feature like Office 2007, Office 2003 and Office XP look and feel. Its really going to rock.
|
|
|
|
|
Real men don't need those fancy things.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
True, actually i thought to add those in my previous post.
Anyway that is good news for MFC developers that first thing is development is going on MFC and next thing is good news for those who are trying to implement those cool stuffs with their own efforts. And I feel more convenient with VS 2005 IDE than VS 6.0 IDE.
|
|
|
|
|
Can you more about your project maybe you dont need to use of MFC.
|
|
|
|
|
Hi..
I am running thread..I want to end the thread after 1 minutes..
i am getting the Current time..
i am taking the given time
End Time = Current Time + Given time..
Now i want to end thread after 1 minutes.
plz help me
thank you
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
And what is your doubt about? Cannot the thread routine itself monitor such a time interval?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
hi..
First i am getting the current time
Example Current Time = 03.00pm
Given time 1 minute.
End Time = 03.01 pm
thread should exit after 03.01pm
but when i comparing CurrTime = EndTime.
The current time is showing 03.00pm
but after 1 minute the current time should be 03.01pm
i cant compare
help me
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
manju#123 wrote: First i am getting the current time
Example Current Time = 03.00pm
Given time 1 minute.
End Time = 03.01 pm
thread should exit after 03.01pm
but when i comparing CurrTime = EndTime.
The current time is showing 03.00pm
but after 1 minute the current time should be 03.01pm
i cant compare
help me
(Post) code, please.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
It was the algoritm can you make a code for it?
|
|
|
|
|
Since it is (by OP's admission) a buggy algorithm, hence yes, I can implement it.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi..
here code.
////////////////////////
cDuration = _ttoi(linfo->sDuration);
StartTime = COleDateTime::GetCurrentTime();
CurrTime = COleDateTime::GetCurrentTime();
CurTime.Format("%02d:%02d:%02d",CurrTime.GetHour(),CurrTime.GetMinute(),CurrTime.GetSecond());
COleDateTimeSpan ts(0,0,cDuration,0);
EndTime = StartTime + ts;
StTime.Format("%02d:%02d:%02d",EndTime.GetHour(),EndTime.GetMinute(),EndTime.GetSecond());
if(linfo->bServerConnected==false)
{
if(CurTime <= StTime)
{
linfo->btimeOut = false;
}
else
linfo->btimeOut = true;
if(CurTime <= StTime)
while(linfo->btimeOut == false)
{
run the thread
if(CurTime == StTime)
{
linfo->btimeOut = true;
ExitThread(dwExitCode);
_endthread();
}
}
//////////////////////////////////////////////////////
thank you
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|
|
What a mess!
(1) use <pre> tags to surround code snippets.
(2) You should never use ExitThread.
(3) What is the purpose of _endthread()
(4) What is the purpose of the following lines?
CurTime.Format("%02d:%02d:%02d",CurrTime.GetHour(),CurrTime.GetMinute(),CurrTime.GetSecond());
StTime.Format("%02d:%02d:%02d",EndTime.GetHour(),EndTime.GetMinute(),EndTime.GetSecond());
(BTW how are CurTime , StTime declared?)
(5) A far a I can see CurTime is never updated.
(6) Probably an equality test on times is not appropriate (maybe better >= ).
IMHO we're a bit far from the target.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
|
|
|
|
|
Hi..
what should i do so that..
current time is updated...
manju
Hi..
I am Mnaju.I have Completed my B.E Computers Science.Lokking for a job.I am interested in VC++
manju
|
|
|
|