Learn how to add a button to a server application (a WinForm app with a big Listen button) and have the handler for the click event raise a custom event.
Latest C++ & MFC Articles - Page 21
BiSplitter is MFC-compatible class for creating a splitter window that looks like a Microsoft Outlook window.
The article describes a way of creating class objects by naming its classes. This way permits you to create a new class object by calling a function or class method that receives as input parameters pointer to CRuntimeClass object. In general, it shows you how to design a mechanism that creates a user-selected dialog window in its own child thread.
Derive your dialog class from CFloatingDialog and a couple of settings. You can create the sliding effects of the dialog in left, right, up, down and center directions from the other directions.
We make our projects in different files, not in a single file. We will do this because we want to reduce the compilation time during the development as well as reuse the code written in different files.
For those who are new to sockets programming or who've long ago forgotten the idiosyncrasies of byte ordering with sockets (as I had when I needed to know this last year), here's a primer on what byte ordering is, why it's needed, and terms such as little-endian, big-endian, network byte order, and host bye order.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
Using output caching is now much easier to use, thanks to .NET 4 and higher, and also can be used in a traditional application.
Learn more about sub queries and sub queries, and, more importantly, how to use them with Visual Basic.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!