DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

Stories recently tagged with 'PInvoke' Subscribe to this feed
2
kicks
submitted by crpietschmann crpietschmann 26 days ago

geekswithblogs.net — 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 downloads till date. If so many people seem to be interested I guess it's about time to give you something new. I've been using this code in my own project for a while and was always told how cool it looks compared to other applications. However, there were also some people asking why wouldn't we do a full skinning engine and let people choose the skins themselves. Until now, I was excusing myself that there is no more time for such nonsense. What changed my mind? If you are using Infragistics NetAdvantage you already know what's coming from them in next release. In short I've got inspired by what they've done and in order not to fell behind I've decided to add my own skin support. read more...

Add a comment add a comment | category: | Views: 17
tags: , , , , | tag it

2
kicks
submitted by crpietschmann crpietschmann 26 days, 2 hours ago

geekswithblogs.net — 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 you do this depends of your needs. For purpose of this article I will show you how to do this using set of ready-made bitmaps. read more...

Add a comment add a comment | category: | Views: 6
tags: , , | tag it

3
kicks
submitted by crpietschmann crpietschmann 26 days, 2 hours ago

geekswithblogs.net — 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 class for drawing graphical borders composed of several bitmap parts. It also draws a form header including icon, text and form buttons (more on this later). This way I can separate dirty plumbing required for enabling non-client drawing and actual drawing of the graphical elements. So lets see how it works. read more...

Add a comment add a comment | category: | Views: 9
tags: , , | tag it

16
kicks
published 1 month, 12 days ago, submitted by Rickasaurus Rickasaurus 1 month, 12 days ago

atalasoft.com — The correct way to find the location of system folders not listed in Environment.SpecialFolder. read more...

Add a comment add a comment | category: | Views: 253
tags: , , , | tag it

1
kicks
submitted by Mendelt 1 month, 25 days ago

blog.mendeltsiebenga.com — List of unmanaged datatypes and their corresponding CLR types. Copied and adapted from codeproject. read more...

Add a comment add a comment | category: | Views: 2
tags: , , | tag it

1
kicks
submitted by Mendelt 1 month, 25 days ago

blog.mendeltsiebenga.com — Tip on how to reserve buffers for unmanaged code to pass strings back into the managed world read more...

Add a comment add a comment | category: | Views: 5
tags: , , | tag it

11
kicks
published 5 months, 22 days ago, submitted by Rickasaurus Rickasaurus 5 months, 23 days ago

atalasoft.com — 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 PInvoke or modifying the binary header. read more...

Add a comment add a comment | category: | Views: 12
tags: , , , , | tag it

2
kicks
submitted by crpietschmann crpietschmann 6 months, 18 days ago

pietschsoft.com — 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. read more...

tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge