Error!
Success!

By tag: PInvoke

showing:  of
0
kicks

Use IProgressDialog to show a “native” Progress Dialog in Windows  (Unpublished)

Here's an example of how to use the IProgressDialog Win32 Interface to harness the power of the Built-in Progress Dialog in Windows within your own .NET applications. I have test this on WIndows 7, but it should work as expected on Windows XP and Vista. The MSDN Documentation for IProgressDialog say...


Kicked By:
Drop Kicked By:
0
kicks

Windows 7 Code Pack v 1.0 Released  (Unpublished)

The Windows® API Code Pack for Microsoft® .NET Framework provides support for various features of Windows 7 and previous releases of that operating system. The Code Pack has reached version 1.0 and has been published on Code Gallery:


Kicked By:
Drop Kicked By:
0
kicks

P/Invoke Check Sheet  (Unpublished)

This article will help you to understand how to create managed signatures for unmanaged methods, types and delegates


Kicked By:
Drop Kicked By:
0
kicks

Drawing Custom Borders in Windows Forms,<br />Part Three: Introducing  (Unpublished)

Almost a year ago I've published first two articles titled "Drawing Custom Borders in Windows Forms" and they turned out to be the most successful part of my blog with almost 13 000 web views (however barely 2 000 people made through to the second part), 86 comments and almost 3 000 downlo...


Kicked By:
Drop Kicked By:
0
kicks

Drawing Custom Borders in Windows Forms, Part Two  (Unpublished)

In part one, I showed how to extend Form to access the non-client area of the window. Now we can start painting the borders we want. Having access to the Graphics object we can use any features of GDI+: draw lines, rectangles or other shapes, fill them using brushes, draw text and paint images. How...


Kicked By:
Drop Kicked By:
0
kicks

Drawing Custom Borders in Windows Forms  (Unpublished)

I have split the code into two primary classes. First one, FormWithNonClientArea, extends the standard Form class by adding support for non-client area messages (more on this shortly) and can be uses for various scenarios. Second one, CustomBorderForm, utilizes these messages and represents a base c...


Kicked By:
Drop Kicked By:
0
kicks

What if it's not in Environment.SpecialFolder?  (Unpublished)

The correct way to find the location of system folders not listed in Environment.SpecialFolder.


Kicked By:
Drop Kicked By:
0
kicks

PInvoke, managed and unmanaged datatypes  (Unpublished)

List of unmanaged datatypes and their corresponding CLR types. Copied and adapted from codeproject.


Kicked By:
Drop Kicked By:
0
kicks

Marshalling strings with StringBuilder  (Unpublished)

Tip on how to reserve buffers for unmanaged code to pass strings back into the managed world


Kicked By:
Drop Kicked By:
0
kicks

Increasing the Size of your Stack (.NET Memory Management: Part 3)  (Unpublished)

Following from my previous post on the topic of stack allocation, in this post I talk about three different ways to change a thread's stack size in C#. Each of these techniques have advantages and disadvantages which I discuss as well. This post may also be of interesting to those learning about...


Kicked By:
Drop Kicked By:
0
kicks

Add System Menu Items to WPF Window using Win32 API  (Unpublished)

Here's the simple code necessary to add some custom menu items to your applications System Menu within a WPF application. If you're not familiar, the System Menu is the menu that shows up if you click on the apps icon in the upper left or if you right click the app in the taskbar.


Kicked By:
Drop Kicked By: