|
|
|
|
|
|
| | Total Hits: 3 | Today: 0 | Author: skybirdcao | Rating:  |
| |  Months ago, I needed a tree editor that could be used conveniently, and I couldn't find any in the Internet, so I did it by myself. I got some code from the article "Tree Editor" by Yossi Patt. Thanks very much!
I added a new class, used for the toolbar to operate the tree editor: CToolbarEx, which is not created originally by me. I'm sorry I forget who created it originally. And I just added some new functions which are used to respond to the toolbar's commands.... |
| | Total Hits: 4 | Today: 0 | Author: Victor Ricklefs | Rating:  |
| |  The provided CFileTreeCtrl is the MFC tree control, showing files in a manner similar to the left-hand side of Windows Explorer. Contrary to Windows Explorer, however, it allows the selection of multiple files and folders for further processing in your program. You can do this using the check boxes to the left of every file and folder. When selecting a folder, you can specify whether to include or not include the files from the subfolders. At any time, you can request that the control give you t... |
| | Total Hits: 2 | Today: 0 | Author: Johnson Zhou | Rating:  |
| |  I had posted an article for float control several months ago. Some body gave me a suggestion that I should add a checkbox in my control. I spade for an hour, and I found it is easy to do that. Here is my result. I got up today, "__Stephane Rodriguez__" (fakedwar@hotmail.com) send me a mail. He suggested to change the title of this article to make it more accurate. Thank you. Anthony_Yio send me a mail suggesting full selection of children and full un-checking of the children in the tree control ... |
| | Total Hits: 4 | Today: 0 | Author: jkristia | Rating:  |
| |  I have written several custom controls over the last couple of years, some of the controls were written from scratch, and others were enhancements to existing (3rd party) controls. What was common for all of the controls was that I didn't pay any attention to how to implement design time support.... |
| | Total Hits: 0 | Today: 0 | Author: Jörg König | Rating:  |
| |  Implementation of a reusable tree control with many features.... |
| | Total Hits: 0 | Today: 0 | Author: Matthew R. Miller | Rating:  |
| |  The long awaited 2.0 version is here. Good news is you get new features, new options, new items, and new bugs. Bad news is, a lot has changed so you may need to change around your current code to implement the new version. (Thanks to Tom and Irfan for there fixes for bugs that haunted me at night when the lights are off. They deserve their names in bold.)... |
| | Total Hits: 2 | Today: 0 | Author: SwatiBatra | Rating:  |
| |  Gone are the days of fiddling with the system clock to simulate the passing of time. The Time Shift Utility helps to alter the application time without affecting the System time. This document gives the complete description to use the Time Shift WCF Service to achieve this. It has a built-in mechanism which abstracts the system time away from the underlying real (database system) time. By default, the System time is the same as the database time which is being used by the application. The databa... |
| | Total Hits: 0 | Today: 0 | Author: Keith Rule | Rating:  |
| |  In December 2005, I published "Fast, Texas Holdem Hand Evaluation and Analysis" which was my first Texas Holdem Analysis article. Since then, I've done a lot of enhancements and extensions to the code. I've also had several folks more skilled in poker analysis offer their advice. This update to the poker library offers many new and unique features that make analysis of Texas Holdem much easier. In this article, you will find the following topics covered:
Pocket Query Language - This o... |
| | Total Hits: 0 | Today: 0 | Author: Ronee Noor | Rating:  |
| |  This feature is fascinating. Extension Methods give us the ability to include custom methods with the existing types w/o inheriting the actual type. Gives you the ability to invoke the methods as if they are instance methods on the actual type. But at compile time, an extension method has lower priority than the instance methods. Suppose you created an extension method name IsNullOrEmpty for the type String. The method invocation will always pick the one which is in the instance and ignore your ... |
| | Total Hits: 0 | Today: 0 | Author: Gil Fink | Rating:  |
| |  Today I helped a client to solve a problem regarding EF4.1 Code First. EF4.1The issue that they banged their heads with was an inheritance tree mapping in their model which is spread across two different assemblies. When they run the application they always got the same exception – “mapping and metadata information could not be found for entitytype ‘entity name’”. So they sent me a sample solution and I checked it and gave them the solution.... |
| | Total Hits: 3 | Today: 0 | Author: ATUL_LOONA | Rating:  |
| |  The Rubik's Cube is a 3-D mechanical puzzle invented in 1974 by Hungarian sculptor and professor of architecture Erno Rubik. Originally called the "Magic Cube", Rubik cube won the German game of year special award for Best Puzzle that year. In a classic Rubik's Cube, each of the six faces is covered by nine stickers, among six solid colors (traditionally darkblue, red, blue, orange, green, and yellow). A pivot mechanism enables each face to turn independently, thus mixing up the colours. For the... |
| | Total Hits: 3 | Today: 0 | Author: Artem A. Razin | Rating:  |
| |  I don't think I am going to be wrong if I say that the first things you thought of when you heard "virtualization" were virtual machines, products like VMWare and VirtualBox. But amazes is that virtualization can live right within your application. Here is a couple of examples. A portable application which is to be run without installation; the problem is that the application uses Flash ActiveX. The problem seems insoluble: you could install Flash ActiveX, but the portable application, writing s... |
| | Total Hits: 0 | Today: 0 | Author: Nicole castel | Rating:  |
| |  I'm a beginner in C# and I want to read a sound file. I found this code in the net and I tried to correct it:... |
| | Total Hits: 5 | Today: 0 | Author: Seth Morris | Rating:  |
| |  CmdTailCmd is a .NET library to parse a program's command tail and fill in public fields on an object. It is intended to initialize objects implementing some variant of the Command pattern from the Gang of Four book Design Patterns, although that isn't necessary. I expect most programs will want to incorporate the files directly rather than use it as a standalone assembly.... |
| | Total Hits: 2 | Today: 0 | Author: Franc Morales | Rating:  |
| |  Step-by-step creation of a custom Tree control from a CStatic control, implementing basic functionality, eye-candy (font, bitmap background, etc.), scrolling (bars and wheel), multiline (wrapping) text, and audio context menu. In a previous tutorial (CWinListBox), I discussed the step-by-step creation of a listbox from scratch, as a custom control derived from CWin. I would now like to move on to the development of a simple tree control using a slightly different approach, namely, using a CStati... |
| | Total Hits: 0 | Today: 0 | Author: ralph1957 | Rating:  |
| |  Creating treeview menus on the fly from an XML file can be useful when the menu items are constantly being updated. For instance, when using an XML file as a database to store records in.
Here is a simple example of how to do this. The example is kept simple to avoid any confusion.... |
| | Total Hits: 5 | Today: 0 | Author: Martin Hinshelwood | Rating:  |
| |  There are a lot of references and blog posts on how to handle SOAP events raised by Team Foundation Server 2005, 2008 and 2010, but is there anything new in 2010 that supercedes this? Even though I knew it was there, no amount of google-fu brought back any results relevant to anything new, so hopefully this will fill that gap.... |
| | Total Hits: 0 | Today: 0 | Author: Laxman Auti | Rating:  |
| |  During development, I always look for an optimal and efficient way to achieve a goal. Last time, I came with the way to log the exceptions along with method parameters for which exception has thrown.... |
| | Total Hits: 0 | Today: 0 | Author: Abhishek Sur | Rating:  |
| |  Exceptions are runtime bugs that occur due to illegal action taken by the user. The Exception occurs whenever the object state is corrupted and which causes the program to terminate. Based on the severity of the exception, we choose either to continue with the program by proper handling the code or rethrow the exception again to the parent block and eventually terminate the whole program.... |
| | Total Hits: 11 | Today: 0 | Author: Abhishek Sur | Rating:  |
| |  Exception handling is very vital for any software. We use our traditional way of handling exceptions of our code using Try/ Catch / Finally block to handle runtime exceptions. We write our code inside a try block and wait for the error being generated from the code, and write our proper catch block to handle the Exception if generated while running the code. Compiler handles all these problems and calls the appropriate catch automatically. We write various Catch blocks which handle the exception... |
|
|
|
|
|
|