|
1.
Saving a variable temporarily
[^]
A safe, and convenient way to store variables temporarily
|
Alvaro Mendez
|
Updated: 16 Nov 1999
Rating: 3.78/5
(15 votes)
|
|
Download source - 1 Kb
On several occassions I've had to execute a piece of code which used a global
variable that needed to be temporarily reassigned. The problem was that I wanted
the variable to return to its original value after the code had been executed.
So I would end up...
|
|
|
2.
How to use RecordSets without using the AppWizard at the creation of your project.
[^]
|
Braulio Dez
|
Updated: 17 Nov 1999
Rating: 4.39/5
(56 votes)
|
|
All the books that I´ve read have the official chapter " Database programming", a little chapter in which there is the typical example of: Create a new project, with App wizard select the option use database and select what database will you use...
Ok, I begin my application, and one month lat...
|
|
|
3.
Beginner's Tutorial: Calling Visual Basic ActiveX DLLs from Visual C++
[^]
|
C. Lung
|
Updated: 18 Nov 1999
Rating: 4.45/5
(91 votes)
|
|
Download source - 8 Kb
This tutorial is based off of the MSDN Article #ID: Q194873. But, for a beginner, following these MSDN articles can be intimidating to say the least. One of the most often asked questions I see as a Visual C++ and Visual Basic programmer is how to call a VB DLL fr...
|
|
|
4.
Changing The Active Tab using PageUp/PageDown
[^]
|
Jeremy Davis
|
Updated: 19 Nov 1999
Rating: 4.00/5
(28 votes)
|
|
-- Article Starts -->
I produce a custom database application, that has some windows with lots of tabs /
CPropertyPages within them. My customer wanted a way to quickly and easily change the
selected tab, without using the mouse. He said "In the old DOS version we
changed the current wind...
|
|
|
5.
Customizing the Windows Common File Open Dialog
[^]
|
S h a n x
|
Updated: 19 Nov 1999
Rating: 3.92/5
(24 votes)
|
|
i>Download demo project - 15 Kb
Abstract
This article describes how to go beyond the normal customization
associated with the Windows common file open dialog. The common
file open dialog is easily one of the most often customized entity
in the Windows world, but given the limited customiz...
|
|
|
6.
Tooltips in modal dialog boxes
[^]
A demonstration of how to show tooltips in modal dialog bozes
|
Henk Devos
|
Updated: 20 Nov 1999
Rating: 4.36/5
(25 votes)
|
|
Download demo project - 18 Kb
Download source files - 2 Kb
Introduction
This sample demonstrates how to show tooltips in modal dialog boxes.
Besides that, it illustrates some basic principles of code reuse and the spirit of MFC programming.
The sample was created using Visual C++ 6.0,...
|
|
|
7.
All you ever wanted to know about the Clipboard...
[^]
|
Randy More
|
Updated: 22 Nov 1999
Rating: 4.15/5
(69 votes)
|
|
Download clipboard demo project
- 12 Kb
Download notification demo project - 12 Kb
Adding clipboard support to a VC++ / MFC application is
extremely simple. This article covers the
basic steps involved in getting your applictions talking to the clipboard.
In it are examples o...
|
|
|
8.
Creating a process, and then killing it
[^]
Creating a process, and then killing it.
|
ljp
|
Updated: 22 Nov 1999
Rating: 3.29/5
(33 votes)
|
|
Introduction
While I was creating an app that has the capability of starting a process, and then be able to kill it later on, I looked all over the net, and found some crazy ways of doing this. Searching, searching, searching, for a couple days, I did nothing but try to locate info on setting this ...
|
|
|
9.
Clipboard Copy in a Nutshell
[^]
Clipboard copy in a nutshell.
|
Keith Rule
|
Updated: 25 Nov 1999
Rating: 4.67/5
(34 votes)
|
|
upporting copy is usually straightforward for most applications. It usually requires 10-20 lines of code. But like many features of MFC, the implementation is simple. However, finding the information needed to create the implementation is tedious and time consuming. To save you many hours of reading...
|
|
|
10.
A Handy Debugging Macro for Switch Statements
[^]
A macro to help alert you if unreachable is ever reached
|
Michael Dunn
|
Updated: 26 Nov 1999
Rating: 3.41/5
(20 votes)
|
|
Many times when writing switch statements, your code will handle every possible case that the variable controlling
the switch could take. For example, if you have a MFC dialog with a combo box or radio button group, with an integer
member variable hooked up to hold the user's selection, you mi...
|