Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, October 12, 2008

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > .NET Namespaces > Microsoft > Win32 > Microsoft.Win32 Classes
Search:
What's New - What's Hot
Listings for PowerModeChangedEventArgs PowerModeChangedEventArgs (0)
Listings for PowerModeChangedEventHandler PowerModeChangedEventHandler (0)
Listings for PowerModes PowerModes (3)
Listings for Registry Registry (5)
Listings for RegistryHive RegistryHive (0)
Listings for RegistryKey RegistryKey (1)
Listings for SessionEndedEventArgs SessionEndedEventArgs (1)
Listings for SessionEndedEventHandler SessionEndedEventHandler (0)
Listings for SessionEndingEventArgs SessionEndingEventArgs (0)
Listings for SessionEndingEventHandler SessionEndingEventHandler (0)
Listings for SessionEndReasons SessionEndReasons (0)
Listings for SystemEvents SystemEvents (5)
Listings for TimerElapsedEventArgs TimerElapsedEventArgs (1)
Listings for TimerElapsedEventHandler TimerElapsedEventHandler (0)
Listings for UserPreferenceCategory UserPreferenceCategory (0)
Listings for UserPreferenceChangedEventArgs UserPreferenceChangedEventArgs (1)
Listings for UserPreferenceChangedEventHandler UserPreferenceChangedEventHandler (1)
Listings for UserPreferenceChangingEventArgs UserPreferenceChangingEventArgs (0)
Listings for UserPreferenceChangingEventHandler UserPreferenceChangingEventHandler (0)
 


Snapping Window        
Total Hits: 75  |  Today: 0 Author: T800G       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article presents a simple class to make window snap to a desktop working area edges, just like the popular Winamp program. The work area is the portion of the screen not obscured by the system taskbar or by application desktop toolbars (as stated in MSDN). To temporarily disable snapping while dragging the window, press and hold the snap modifier key (shift key by default). This article is reusing the code from the article Make it snappy by Peter Hesselberg, so it is recommended to read it ...

IA-64 Registers, Part 2        
Total Hits: 44  |  Today: 0 Author: Matt Pietrek       Rating:  
Read Reviews | Write Review |   Your 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. If you're not familiar with the basic set of IA-64 registers (including the dynamic nature of the general-purpose registers), I suggest you read my previous column (see Under the Hood). To quickly revi...

Progress Indicator in the Status Bar, International UI Terms        
Total Hits: 53  |  Today: 0 Author: Paul DiLascia       Rating:  
Read Reviews | Write Review |   Your Rating: 

I'm developing a C++/MFC app that sometimes has to load a large file and I'd like to display a progress indicator like the one in the standard progress control. I saw another app that did this in the status bar, which I thought was cool. How can I add a progress bar to my status bar? I tried various ways, but none of them worked. I'm not sure exactly what you tried, but I was able to build a little demo app with a progress control in the status bar using a fairly straightforward approach. The id...

Finding a Win32 Handle, HTML in CHtmlCtrl        
Total Hits: 38  |  Today: 0 Author: Paul DiLascia       Rating:  
Read Reviews | Write Review |   Your 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 ...

Implement a Continuously Updating, High-Resolution Time Provider for Windows        
Total Hits: 35  |  Today: 0 Author: Johan Nilsson       Rating:  
Read Reviews | Write Review |   Your Rating: 

The timestamps that you can obtain from Windows NT are limited to a maximum resolution of 10 or 15 milliseconds, depending on the underlying hardware. At times, such as when you need to timetag frequent events, it is desirable to achieve a higher resolution. For example, what if you want to be able to contact a thread or perform some other task at intervals more frequent than 10 milliseconds? Suggested ways of achieving better resolution include using performance counters in conjunction with the...

IA-64 Registers        
Total Hits: 23  |  Today: 0 Author: Matt Pietrek       Rating:  
Read Reviews | Write Review |   Your 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...

Programming for 64-bit Windows        
Total Hits: 10  |  Today: 0 Author: Matt Pietrek       Rating:  
Read Reviews | Write Review |   Your Rating: 

I'm really excited this month because the time has finally come to talk about programming for 64-bit Windows®. Since computers with Itanium processors won't be widely available in the year 2000, most of you won't be doing active development for 64-bit Windows when this column first appears. Nonetheless, when it comes to designing your next great software masterpiece, knowing what's coming down the pike is invaluable....

Create a Dialog while Keeping it off that Pesky Taskbar        
Total Hits: 5  |  Today: 0 Author: Paul DiLascia       Rating:  
Read Reviews | Write Review |   Your Rating: 

In my February 2000 column in MSJ, a reader asked if there�s a way to determine how long a machine has been idle. I mentioned a new API function, GetLastInputInfo, that exists only on Windows NT® and Windows® 2000, and showed how you can use systemwide mouse and keyboard hooks to implement such a function for Windows 9x....

API hooking for hotpatchable operating systems        
Total Hits: 8  |  Today: 0 Author: sam242       Rating:  
Read Reviews | Write Review |   Your Rating: 

API Hooking is a popular topic on codeproject, and Ivo Avonov’s article provides an excellent overview of the many different approaches to API hooking you can take. Most of these approaches are rather complex (the mini hook engine includes a run-time disassembler !). This article will describe a new method that is much more straightforward than most current methods, and only 50 lines of code. Most of the approaches to API hooking are several years old at this point, and with Server 2003 and Vist...

Read and Update CAPS or NUM lock status from your application        
Total Hits: 21  |  Today: 0 Author: Bilal Haider       Rating:  
Read Reviews | Write Review |   Your Rating: 

A few months back, I was developing a desktop application for a client. After completing the requirements, I was enhancing the UI specially the main form. In the previous versions of Microsoft Word (before ver. 2007 ), there are some label which are clickable and reflect the changes to the keyboard (details below) and I wanted to add these features to my applications. HTML documentation of the code has also been included along the source in the zip file. Select the index.html in the HTML folder ...

System Registry in .NET        
Total Hits: 12  |  Today: 0 Author: Bean Software       Rating:  
Read Reviews | Write Review |   Your Rating: 

System registry is always seen as both a location for experts to do magnificent operations and as a source of trouble as well. You can virtually tune every aspect of every possible software piece on your system from system registry even those aspects that are not exposed using any user interface at all. This is all in addition to the thousands (not hundreds!) of other operations that are even not tuning and are much ahead the already complex tuning. If you can access registry from your applicati...

How to get the Client IP address or hostname of a Citrix session or Terminal Services Session?        
Total Hits: 42  |  Today: 0 Author: Vishal Ganeriwala       Rating:  
Read Reviews | Write Review |   Your Rating: 

Have you ever tried to get the Client IP address for a Citrix or terminal services session and got stuck? I have had several emails asking me on how to do it. Well I thought I might just blog about it. I can think four ways to do it and if you can add to the list then please do via comments. So let's get to the business right away....



DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net