wxDownloadFile
EVT_DOWNLOAD(CMyFrame::OnDownloadEvent)
END_EVENT_TABLE()
.--. .-. .. -.-- .- -. -.- .-.-.- -.-. --- .-.-.- .. -.
wxDownloadFile
Those who have worked on Paint Shop Pro 7.0 must have seen the delete submenu in the file menu of the menubar, and wondering how to implement the same, in their Document/View program to delete the current document from the hard-disk and sent it to the Recycle Bin programmatically from the program itself. I don't know any correct or standard method to do the same, but I have implemented a method, that I will be presenting here.
We have learned, what automation is and created a login management automation server and automation client applications. But wouldn't it be nice, to extend our learning over DCOM, so that the client applications can communicate the server over the network on different machines, through DCOM. This would make our application more powerful and would justify the logic of creating the Login server and client applications different and not mixing the code of both into one.
OLE Automation simplifies the task of automating applications. On one hand it enables an application to manipulate objects implemented in another application and on the other hand, it helps an application to expose objects that can be manipulated by other applications.
We have learned what automation is and created a login management automation server. Now it's time to build a client application for that server to be more meaningful. You may be guessing why so much work has been done for just reading and writing a simple database, but now you will understand the benefits of this automation technique.
You have to include wxWidgets header files, of course. This can be done on a file by file basis (such as #include "wx/window.h") or using one global include (#include "wx/wx.h"). This is also useful on platforms that support precompiled headers such as all major compilers on the Windows platform:
wxWidgets formerly known as wxWindows is a framework for developing cross-platform GUI applications in C++. Julian Smart started the framework in 1992 at the Artificial Intelligence Applications Institute, University of Edinburgh. In 1995, a port to Xt was released by Markus Holzem. In May 1997, the Windows and the GTK+ ports were merged and put into a CVS repository.