|
|
|
|
|
|
| | Total Hits: 29 | Today: 0 | Author: Abhishek Sur | Rating:  |
| |  Well, there is a common confusion for many who are working with WPF objects, is does it truly interoperable with Windows environment, or more precisely, does it act the same way as it does with normal Win32 objects? The problem here comes with the fact that each WPF window has only one window handle (HWND) and each other controls are actually placed as content to the window and does not have any entry on Kernel table(no HWND) except of course Popup class in WPF. In this post I will try to cov... |
| | Total Hits: 41 | Today: 0 | Author: wiria | Rating:  |
| |  There's a project started at Microsoft called Hilo with the aim of helping native programmer to build high performance, responsive rich client applications. This article will try to explore Hilo's chapter 10 (Using the Windows Ribbon) in pure C.... |
| | Total Hits: 47 | Today: 0 | Author: Dmitri Klementiev | Rating:  |
| |  Getting global cursor information is useful when developing software that drives or gathers information about other UI-based applications, including information about a remote machine. This article describes a way to programmatically identify the current cursor's ID and bitmap at any point in time. The first technique described is based on polling for information and shows how to get the handle of the current global cursor. This handle will then allow you to get information about the cursor. You... |
| | Total Hits: 28 | Today: 0 | Author: Matt Pietrek | Rating:  |
| |  A good understanding of the Portable Executable (PE) file format leads to a good understanding of the operating system. If you know what's in your DLLs and EXEs, you'll be a more knowledgeable programmer. This article, the first of a two-part series, looks at the changes to the PE format that have occurred over the last few years, along with an overview of the format itself.... |
| | Total Hits: 35 | Today: 0 | Author: Matt Pietrek | Rating:  |
| |  The Win32 Portable Executable File Format (PE) was designed to be a standard executable format for use on all versions of the operating systems on all supported processors. Since its introduction, the PE format has undergone incremental changes, and the introduction of 64-bit Windows has required a few more. Part 1 of this series presented an overview and covered RVAs, the data directory, and the headers. This month in Part 2 the various sections of the executable are explored. The discussion in... |
| | Total Hits: 41 | Today: 0 | Author: Microsoft Corporation | Rating:  |
| |  Windows CE .NET, the newest member of the .NET family, includes a number of improvements over previous versions of Windows CE. For example, there are quite a few new APIs and enhancements to security and connectivity, the user interface, the kernel, and the emulator. In addition, DirectX support has been added and C++ in Windows CE .NET now supports C++ exceptions, STL, and runtime type information. In this article the author takes a tour of Windows CE .NET, starting with the New Platform Wizard... |
| | Total Hits: 30 | Today: 0 | Author: Matt Pietrek | Rating:  |
| |  With all the talk about Microsoft® .NET, it's easy to forget that another major new technology is coming to Windows® as well. I'm talking about 64-bit programming on Intel's IA-64 series of CPUs. In my next two columns, I'll look at the details of IA-64 parameter passing, stack frames, and return values. Don't worry if you haven't had the time to study the IA-64 architecture yet. You won't need to know all the gory details for what I'll be talking about, and I'll introduce just enough of the CPU... |
| | Total Hits: 28 | Today: 0 | Author: Dino Esposito | Rating:  |
| |  ActiveSync 3.1, AvantGo channels, and Internet Explorer 5.0 Mobile Links allow you to provide content for Pocket PC users over the Internet or company intranet. This article explains how to take advantage of ActiveSync and AvantGo functionality as well as how to extend ActiveSync's data synchronization capabilities by writing a custom service provider for Windows CE.... |
| | Total Hits: 36 | Today: 0 | Author: Paul DiLascia | Rating:  |
| |  I'm building an application framework that supports ActiveX® document plug-ins. At program startup I scan the registry for installed ActiveX components. I want to create a menu of all installed plug-ins. For each ActiveX component, I create an instance and query for a special interface called IMyAppPlugin. If this interface exists then it is reasonable to assume that the component is indeed a plug-in for my application. This seems like a bad way to do it, especially if there are a lot of ActiveX... |
| | Total Hits: 32 | Today: 0 | Author: Matt Pietrek | Rating:  |
| |  This month I'll complete the overview of IA-64 (Itanium) parameter passing, stack frames, and return values that I began last month. In the previous column, I reviewed stack frames and how parameters are passed on the x86 CPU. I then examined the essential IA-64 registers that you'll need to know.... |
| | Total Hits: 49 | Today: 1 | Author: Paul DiLascia | Rating:  |
| |  I have two classes, Derived1 and Derived2, that are derived from a base class. In the constructor of the base class, I would like to get the name of the class for which this object is being created—that is, Derived1 or Derived2. Is it possible to get the name of the class as a string?... |
| | Total Hits: 26 | Today: 0 | Author: Dino Esposito | Rating:  |
| |  It's fairly safe to assume that all programmers working in Windows® environments are familiar with MessageBox. The MessageBox function displays a message through a popup dialog box and lets programmers add dialog buttons and icons to the message to improve user feedback. Although it's flexible and takes many parameters, in many real-world scenarios you simply need to write your own version of MessageBox. Some of the shortcomings of MessageBox are restrictions on the icon and the buttons you can ... |
| | Total Hits: 1 | Today: 0 | Author: Daryn Kiely | Rating:  |
| |  Building a basic, reusable application framework can make development quicker and easier. This allows you to focus more on the problems at hand and less on the repetitive tasks involved in building any application. In this article, the author presents a framework that provides facilities to access the registry and an extensible framework for logging messages to a console window or the Event Viewer. This reusable framework can be included as a library in your projects, allowing you to display an ... |
| | Total Hits: 21 | Today: 0 | Author: Paul DiLascia | Rating:  |
| |  I encountered a problem using your suggested approach to find the Internet Explorer_Server window as described in your September 2001 column. When using GetLastChild with an HTML page containing comboboxes, sometimes it returns the combobox instead of the Microsoft® Internet Explorer window. You can see in Spy++ that comboboxes are child windows of the Internet Explorer window, but sometimes OnNavigateComplete2 was called before these windows were created, which my program didn't account for. I... |
| | Total Hits: 20 | Today: 0 | Author: Stephen Toub | Rating:  |
| |  My digital camera allows me to take pictures using a "sepia" filter which results in photos that look like they were taken in the late 1800s. While this is cool, I'd rather take the pictures normally and then apply this change later on. I can probably do something like this in Digital Image Pro 10, but I'm working on my own photo utility library in .NET and was hoping to add this functionality. What's the best way to change the coloring of a bitmap?... |
| | Total Hits: 2 | Today: 0 | Author: Paul DiLascia | Rating:  |
| |  I've been using your CStaticLink class for a couple of years now in my company's commercial app. In the March 1998 issue of MSJ, you showed how to add the hand icon to the hyperlink, but now I'm wondering about another use for the class. In Microsoft® Internet Explorer, you can use the Tab key to tab through all the hyperlinks in a Web page, and press Enter to click the link. Can I make CStaticLink do the same thing? Am I asking too much?... |
| | Total Hits: 12 | Today: 0 | Author: Stephen Toub | Rating:  |
| |  The base class libraries (BCL) don't expose publicly any big number libraries, although some of the cryptography-related classes do make use of an internal big number implementation. However, all is not lost. While you can search the Web to find a plethora of implementations in C#, C++, and a variety of other languages, it might not be necessary. If you don't mind taking a dependency on the J# libraries, you already have a big number implementation at your disposal. In fact, you have two. The... |
| | Total Hits: 12 | Today: 0 | Author: Stephen Toub | Rating:  |
| |  I read in your December 2005 column how to enumerate files using interop to access the file management functions in Kernel32.dll (see .NET Matters: BigInteger, GetFiles, and More). I don't need to enumerate files, but rather I need to enumerate the NTFS Alternate Data Streams within a particular file. Do you know any way I can accomplish this?... |
| | Total Hits: 2 | Today: 0 | Author: Stephen Toub | Rating:  |
| |  In my Windows® Forms application, I use a BinaryFormatter to save a large amount of application state, sometimes serializing to disk very large objects. At a later point, this state file needs to be loaded and deserialized by the application, and this deserialization process can take a measurable amount of time. Currently for both serialization and deserialization, I show a marquee progress bar, but that only provides an indication to the user that something is happening. For deserialization, I'... |
| | Total Hits: 19 | Today: 0 | Author: John Torjo | Rating:  |
| |  The problem with GUI programming in C++ is that most libraries are too low level, putting too much of the burden on the programmer. They rely on C-like structs, or their wrapper classes don't hide enough complexity. Also, they don't make event programming simple enough, instead forcing you to have to know about underlying WM_ messages.... |
|
|
|
|
|
|