|
|
Stories recently tagged with 'Win32'
|
|
submitted by
crpietschmann
18 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...
|
|
tags:
Border, PInvoke, Theme, winforms, Win32 | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
crpietschmann
18 days, 1 hour 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...
|
|
tags:
PInvoke, Win32, winforms | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
crpietschmann
18 days, 1 hour 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...
|
|
tags:
PInvoke, Win32, winforms | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
crpietschmann
3 months, 18 days ago
codeproject.com — This code snippet illustrates how to capture desktop or any window to bmp file with minimum coding programmatically. It also demonstrates a neat way to save device context (DC) to file. For one of my application, there was need to take screenshot of active window, I searched net but couldn’t find any simple and easy code to do same. There were few ones but were too easy to understand, hence thought of writing my own code and here is the outcome. read more...
add a comment
|
category: VB.NET | Views: 22
|
|
tags:
Win32, VB.NET | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
crpietschmann
3 months, 26 days ago
weblogs.asp.net — I though I would share a native Win32 splash solution with you on this rainy night in June (well, it is June here and it is raining from where I am, YMMV). This is slightly different from your typical splash screen as it’s done using the Win32 API calls and it’s fired off before the .NET Forms engine even gets started. As a result it’s quick and snappy and doesn’t intrude on your normal WinForms programming. read more...
|
|
tags:
Win32, .Net, winforms | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
crpietschmann
6 months, 10 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:
PInvoke, Win32, WPF | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
crpietschmann
7 months, 3 days ago
pietschsoft.com — This is something I used to have a code snippet for in VB6, but I haven't needed to do this in a while so I never wrote up an example in .NET. So, here's the simple code necessary to add some custom menu items to your applications System Menu. 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...
add a comment
|
category: Vista | Views: 7
|
|
tags:
API, SystemMenu, WinXP, Win32, Vista | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
Jemm
8 months, 26 days ago
istartedsomething.com — Bearing in mind the arsenal of Windows UI frameworks that exists today - Windows Presentation Foundation, Silverlight, Windows Forms, Win32, Media Center Markup Language, Microsoft Foundation Classes and more from third parties; Microsoft has decided to build yet another one “to enable new UI experiences in future versions of Windows”. read more...
add a comment
|
category: Other | Views: 3
|
|
tags:
Win32, WindowsForms, MediaCenter, MFC, MCML | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
rprouse
1 year, 1 month ago
alteridem.net — If you are ever rewriting an MFC/Win32 program in .NET, you need to be aware that you cannot convert directly between a COLORREF value and a .NET Color structure. The byte order is different and will need to be swapped. read more...
add a comment
|
category: C# | Views: 6
|
|
tags:
MFC, Win32, SQL, C#, .Net | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
submitted by
orca
1 year, 6 months ago
improve.dk — This time I present to you a class that greatly simplifies the process of searching for specific windows, types of windows, windows belonging to a specific process, having a specific text. You can search for any number of these parameters at the same time, using regular expressions for all string matches to provide optimal flexibility. read more...
1 comment
|
category: C# | Views: 0
|
|
tags:
Win32, C# | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 1 year, 11 months ago, submitted by
korayem
1 year, 11 months ago
sellsbrothers.com — This is a set of .NET, COM and Win32 tools that Chris Sells has built and contributed to the world. You may use them without royalty (and without support) in your compiled code. You may not redistribute the source code. A mention in the documentation of your products is always appreciated. Enjoy! read more...
add a comment
|
category: Other | Views: 0
|
|
tags:
Win32, COM, RegEx, free | tag it
Everyones tags: | Your tags: | |
|
|
|
|
|
published 2 years, 2 months ago, submitted by
dalziel
2 years, 2 months ago
blogs.msdn.com — How to programmatically ensure that a windows service always restarts if it fails read more...
add a comment
|
category: C# | Views: 20
|
|
tags:
Services, Win32, API | tag it
Everyones tags: | Your tags: | |
|
|
|
|

Sponsored Link: www.carlist.ie
Ads via The Lounge
|