eHow launches Android app: Get the best of eHow on the go.
Showing 1-18 of 18 results
In order to shutdown a workstation using an API you need to make a shutdown timer in MFC. This API using MFC is made to shutdown, log off or restart the computer either immediately or at a...
The smallest unit of code in an application is a thread. There may be several threads in a process within an application. This allows a user to multitask. The threads are done in an organizational...
A toolbar is a control bar that holds small bitmap image buttons of controls and commands which are used in Microsoft Foundation classes, global functions, global variables and macros. Use MFC...
List view controls are the controls that are used to show data in different formats. These formats are icon view, report view and simple list. CListCtrls are used to create the different views....
In MFC programs, objects are created and destroyed based on the user's actions. This unpredictability makes it necessary to have a mechanism that provides dynamic runtime information about...
Threads are the objects that make multi-tasking possible. Threads, each corresponding to a "time slice" or separate state of the running program, create the illusion that multiple users can share...
A combo box control shows a list of strings in drop-down menu style. Providing a way to show multiple options while saving space, a combo box combines the functionality of a list box and an edit...
A dialog box is a basic window derived from the CDialog class of the Microsoft Foundation Class (MFC) Library. You can use this example to understand dialog boxes by calling one dialog box from...
A checkbox control has two states, "checked" and "unchecked." It can be applied wherever a choice is expected of the user, such as agreeing to the conditions set by a vendor before installing a...
Every programming language and library includes an array as part of its toolset. Arrays are useful because they allow convenient and efficient storage of data. The Microsoft Foundation Class...
Processes that run in the background, like those displayed by the Event Viewer application in Windows, can be implemented in Visual C++ by the MFC Working Thread. In this tutorial the OnOK command...
A list box is a Windows control that can display text or iconic items as a list of rows. The Microsoft Foundation Class (MFC) Library offers the CListBox class that encapsulates all the necessary...
A thread is a semi-independent program segment that resides within a program's execution memory space. The Microsoft Foundation Class (MFC) Library offers the CWinThread class for making code...
The MFC Library provides an evolution of the Exception Handling Model of plain C++. In Visual C++ the user is able to define custom events when errors occur in a program. The event in question can...
The MFC Library offers 2 methods of creating menus. This tutorial focuses on the Resource option. The other is the Dynamic Menu option. The tutorial example given builds upon the code given in the...
The Microsoft Foundation Class (MFC) Library lets a programmer plan the font display of an application through the CFont class. CFont encapsulates all font manipulation techniques, and the class...
The STL Library of pure C++ has the "string" class. The Microsoft Foundation Class (MFC) Library has its own salvation: the CString class. MFC's CString provides all the features a programmer...
"CButton" is the MFC class that allows programmers to manipulate command buttons. Command buttons are ubiquitous in programs with a graphical user interface. They are the small rectangles with a...