I'm not looking for a physics engine, what I'm looking for is simple car shape that can move forward and backward along with left/right turn functionality and as well as ramp climbing option.
It is highly appreciated if the above mentioned motions formulas can be explained.
I want to write a class that creates its own device context (dc) and provide function to draw line between two points. This class should provide function CopyDC(srcDC, destDC); This class should be an independent class (should not be derived from any other class) so that i could use this class in any other project later.
i have no idea how to do this in MFC dialogs. Please help me....
Im going to develop a new application.
Till now im using VC6.0 for my previous application. But now i want to create the application looking very glossy Office 2007 window style and more glossy colors in windows.
Actually my doubt is Can i do this in VC6.0 or is it easy to do in VC2008.
I have this 2 option.Im confused to choose one.
Because im well experiened in vc6.0 and i have whether i get this styles in vc6.
So please help me.What platform shoud i go for?
And also i want one more thing.For my applicaiton,it should be like:
Only toolbars will invoke while starting the applicaiton,it will go on to the top of our desktop,from the menu in toolbar i will switch to diferent window.this window has close and minimize buttons.
I know im little bit boring,but i need this help from u all experienced people.
There are libraries now for doing Office 2007-style toolbars, such as the recently-released MFC feature pack, but it's highly unlikely that they'll work in VC 6. I love VC 6 as much as anyone, but even I don't (or rather, can't) use it for new development anymore because newer libraries and SDKs will only work with the last 1 or 2 revs of VC.
What do you mean by "change view in a dialog" ? There's no "view" in a dialog...
You should really learn to ask a question properly if you want help: all the questions you ask are just so cryptic that a lot of people have to ask you question about what you are trying to do. If you really want help, you should learn to formulate your question so that others can understand you.
The big problem with your questions is that you assume that everybody knows what you are talking about, which is of course not the case. So, next time you ask a question, take the time to introduce the context (what are you trying to do at a high level, not just blindly focusing on the point you are trying to solve). A question like this taken out of its context doesn't mean anything... Keep in mind that we can't see what you are doing.
OK sir,From next time i will do more clearly.
Now I am using openfilename and when dialog is open,we can change view for that to list ,icons etc..
So for that I am using lpfnhook and i want to know IS there any notification when we change the view?
But I m not getting WM_STYLECHANGED notification while changing view in a dialog.I am having the handle of listview But I need some notifiction from where i can get viewtype?
Please suggest something other.
But I m not getting WM_STYLECHANGED notification while changing view in a dialog
Do the open file dialog have windows XP theme?
.I am having the handle of listview But I need some notifiction from where i can get viewtype?
You have to subclass the window proc of the list view and inside that, you have to check for the WM_STYLECHANGED/LVM_SETVIEW message. You can use SetWindowSubclass() function to subclass the window proc.
double funcToGetDriveFreeSpace(LPSTR drive)// give drive name here
CString driveName = drive;
//LPCTSTR DiskDirectory = _T("C:\\"); // directory name
__int64 AvailableBytes; // number of bytes on disk available to the caller
__int64 TotalBytes; // number of bytes on disk
__int64 FreeBytes; // free bytes on disk
DWORD SectorsPerCluster=0; // pointer to sectors per cluster
DWORD BytesPerSector=0; // pointer to bytes per sector
DWORD FreeClusters=0; // pointer to number of free clusters
DWORD TotalClusters=0; // pointer to total number of clusters
See its not clear what you want to achieve. Give more details on what exactly is your goal, and please spare some time in explaining what have you achieved till now and what is required to be achieved. Please be specific in asking about what you want to do , else its all too vague.
I have a multi channel video mixer and want to output the video via HDMI. I started with DirectShow but the latency is like 6 frames. Much too high for what I am doing. Then I moved to DirectX. The problem that instantly surfaced is I dont know when the current frame was sent or when to send the frame. I tried using WaitForVerticalBlank or sensing where the output is but that did not help. Is there a callback I dont know about or some special hook that will allow me to time my output?
High Frequency timer seems to be exteremly inaccurate.
HELP? ideas? Sample code? What I need is something that will allow me to send an interlaced frame of HD video with very low latency. I am trying to use a video board because of its low cost and the fact it should be able to be done.
You can't put in a View class all on it's own, you need some support classes. Hopefully this article has done the job for you. If so, give them a vote and a nice comment.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need contract work done, give me a job! http://cv.imcsoft.co.uk/[^]
I got this error while building the project.
I have included all header files but still this error remains??? 1>Ping.obj : error LNK2019: unresolved external symbol _IcmpCreateFile@0 referenced in function "public: int __thiscall CPing::PingThis(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >)" (?PingThis@CPing@@QAEHV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@@Z)
1>F:\Manmohan\Visual C++\IPM\Debug\IPM.exe : fatal error LNK1120: 1 unresolved externals
// This is a custom c++ class added to the project
// Ping function
int CPing::PingThis(CString m_sAddress)
HANDLE hIcmpFile = IcmpCreateFile();
if (hIcmpFile == INVALID_HANDLE_VALUE)
I have been given a project from my HOD(Head of Dept.) for a software which will list all the computers which are switched ON during class' time, because guys leave their systems running for downloading.
This software will ping all the IP's of students and anyone's IP found working during class's time will be blocked for 2 days as a punishment.
This software will also be having a module for serving files(articles, minor projects,...) of Electronics Dept. to the students. This I will complete with IOCP server.
I wanted to do it multithreaded way also.(just for trying)