C++

Download wxWidgets classes, samples and tools.

wxDownloadFile

Class for downloading a file from a given URL and send back event notification to the owner, when the download fails or complete. If you are planning to write the world best download manager using wxDownloadFile, then I would have written it long back, if its possible. wxDownloadFile can be used to download small files, without much hassle, like downloading the latest version information, any message, etc.

BEGIN_EVENT_TABLE(CMyFrame, wxFrame)
  EVT_DOWNLOAD(CMyFrame::OnDownloadEvent)
END_EVENT_TABLE()

MFC: Delete Sub Menu

Introduction:

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.

Login: Automation over DCOM

Introduction

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.

Login: Automation Server

Introduction:

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.

Login: Automation Client

Introduction:

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.

Introduction to wxWidgets - III

Introduction

Welcome again, to the 'Introduction to wxWidgets - III'. This article is an extension to the previous article: Introduction to wxWidgets - I. This article talks, about the left out section in the previous article, building application with wxWidgets on other platforms, which is the real power of wxWidgets. "Code once, Run anywhere with full performance and native look & feel". This article talks about working with wxWidgets on Linux.

Introduction to wxWidgets - II

Understanding the program

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:

Introduction to wxWidgets - I

Introduction

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.