<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dotnet thoughts &#187; Win 32 API</title>
	<atom:link href="http://www.dotnetthoughts.net/category/net/win-32-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dotnetthoughts.net</link>
	<description>a dotnet developer&#039;s technical blog</description>
	<lastBuildDate>Thu, 02 Feb 2012 03:18:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CaptureItPlus &#8211; A screen capture utility</title>
		<link>http://www.dotnetthoughts.net/2011/09/05/captureitplus-a-screen-capture-utility/</link>
		<comments>http://www.dotnetthoughts.net/2011/09/05/captureitplus-a-screen-capture-utility/#comments</comments>
		<pubDate>Mon, 05 Sep 2011 14:00:08 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.0 / 3.5]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Win 32 API]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C#.Net]]></category>
		<category><![CDATA[WIN32 API]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.dotnetthoughts.net/?p=1797</guid>
		<description><![CDATA[Few days back I started working on another open source project, for capturing screen shots. It is similar or can be used as an alternative to Snipping Tool in Windows Vista / 7. Here is the main features of CaptureItPlus &#8230; <a href="http://www.dotnetthoughts.net/2011/09/05/captureitplus-a-screen-capture-utility/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Few days back I started working on another open source project, for capturing screen shots. It is similar or can be used as an alternative to Snipping Tool in Windows Vista / 7. </p>
<div id="attachment_1800" class="wp-caption aligncenter" style="width: 280px"><a href="http://www.dotnetthoughts.net/wp-content/uploads/2011/09/captureitplus.png"><img src="http://www.dotnetthoughts.net/wp-content/uploads/2011/09/captureitplus.png" alt="Captureitplus running on my machine" title="Captureitplus running on my machine" width="270" height="186" class="size-full wp-image-1800" /></a><p class="wp-caption-text">Captureitplus running on my machine</p></div>
<p>Here is the main features of CaptureItPlus</p>
<ul>
<li>Supports all major screen capture modes. Fullscreen, Window, Rectangle, FreeForm and Scheduled capture.</li>
<li>Supports various output formats, JPG, PNG, GIF, BMP, WMF, and TIFF. Default format in PNG, but users can customize it using settings.</li>
<li>Supports keyboard shortcuts(customization also) for capture modes</li>
<li>Sound notification after capture.</li>
<li>Supports capture screen with cursor.</li>
<li>Written in Microsoft .Net 2.0; supports major operating systems.</li>
<li>API support.</li>
<li>Easy to install, no admin rights required.</li>
<li>Support for executing plugins after screen capture.</li>
<li>Licensed under GNU GPL v2.0. Full source code available(C# 2.0)</li>
</ul>
<p>You can download latest version of CaptureItPlus from <a href="http://captureitplus.codeplex.com/" target="_blank">CodePlex</a>.</p>
<p>Please try it and let me know your comments. <img src='http://www.dotnetthoughts.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.dotnetthoughts.net/2011/06/30/how-to-use-taskdialog-api-in-c/" title="Permanent link to How to use TaskDialog API in C#">How to use TaskDialog API in C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/09/30/convert-image-to-icon-using-c/" title="Permanent link to Convert Image to Icon using C#">Convert Image to Icon using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/08/25/how-to-disable-close-button-of-windows-forms-application/" title="Permanent link to How to disable Close button of Windows Forms Application">How to disable Close button of Windows Forms Application</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/18/how-to-record-sound-using-c/" title="Permanent link to How to record sound using C#">How to record sound using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/14/how-to-turn-off-monitor-programmatically-using-c/" title="Permanent link to How to turn off monitor programmatically using C#">How to turn off monitor programmatically using C#</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2011/09/05/captureitplus-a-screen-capture-utility/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to use TaskDialog API in C#</title>
		<link>http://www.dotnetthoughts.net/2011/06/30/how-to-use-taskdialog-api-in-c/</link>
		<comments>http://www.dotnetthoughts.net/2011/06/30/how-to-use-taskdialog-api-in-c/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 12:12:50 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.0 / 3.5]]></category>
		<category><![CDATA[.Net 4.0]]></category>
		<category><![CDATA[Win 32 API]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[WPF]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Task Dialog]]></category>
		<category><![CDATA[Task Dialog API]]></category>
		<category><![CDATA[WIN32 API]]></category>

		<guid isPermaLink="false">http://www.dotnetthoughts.net/?p=1730</guid>
		<description><![CDATA[The TaskDialog API replaces MessageBox. A message box is useful for prompting users for an acknowledgment, confirmation, or an answer to a yes or no question. Message boxes are popular because of the MessageBox function is convenient for developers to &#8230; <a href="http://www.dotnetthoughts.net/2011/06/30/how-to-use-taskdialog-api-in-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The TaskDialog API replaces MessageBox. A message box is useful for prompting users for an acknowledgment, confirmation, or an answer to a yes or no question. Message boxes are popular because of the MessageBox function is convenient for developers to use. TaskDialog is the preferred API to use because it is similar to MessageBox but much more flexible. Previously, developers have created their own message box implementations when greater functionality was required. Unfortunately .Net framework doesn&#8217;t expose TaskDialog API directly; you need to use WIN32 api for it. Here is one Task dialog implementation in C#. Only limitation of Task Dialog API is it doesn&#8217;t supported by Windows operating systems less than Windows Vista.</p>
<p>Here is the API declarations.</p>
<pre class="brush: csharp; title: ; notranslate">
[DllImport(&quot;comctl32.dll&quot;, CharSet = CharSet.Unicode, EntryPoint = &quot;TaskDialog&quot;)]
static extern int TaskDialog(IntPtr hWndParent, IntPtr hInstance, String pszWindowTitle,
String pszMainInstruction, String pszContent, int dwCommonButtons,
IntPtr pszIcon, out TaskDialogResult pnButton);

//Dialog buttons
[Flags]
public enum TaskDialogButtons : int
{
    Ok = 0x0001,
    Cancel = 0x0008,
    Yes = 0x0002,
    No = 0x0004,
    Retry = 0x0010,
    Close = 0x0020
}

//Dialog Results
[Flags]
public enum TaskDialogResult : int
{
    IDOK = 1,
    IDCANCEL = 2,
    IDRETRY = 4,
    IDYES = 6,
    IDNO = 7,
    IDCLOSE = 8,
    NONE = 0
}

//Dialog Icons
[Flags]
public enum TaskDialogIcon
{
    Information = UInt16.MaxValue - 2,
    Warning = UInt16.MaxValue,
    Stop = UInt16.MaxValue - 1,
    Question = 0,
    SecurityWarning = UInt16.MaxValue - 5,
    SecurityError = UInt16.MaxValue - 6,
    SecuritySuccess = UInt16.MaxValue - 7,
    SecurityShield = UInt16.MaxValue - 3,
    SecurityShieldBlue = UInt16.MaxValue - 4,
    SecurityShieldGray = UInt16.MaxValue - 8
}
</pre>
<p>And here is my TaskDialog wrapper function.</p>
<pre class="brush: csharp; title: ; notranslate">
public static TaskDialogResult Show(IntPtr handle, string messageTitle, string mainTitle,
    string mainContent, TaskDialogButtons taskDialogButtons, TaskDialogIcon taskDialogIcon)
{
    TaskDialogResult buttonClicked = TaskDialogResult.IDCANCEL;
    TaskDialog(handle, IntPtr.Zero, messageTitle, mainTitle, mainContent,
        (int)taskDialogButtons, (IntPtr)(int)taskDialogIcon, out buttonClicked);
    return buttonClicked;
}
</pre>
<p>And here is the screen shot of Task Dialog running in my Windows 7 machine.</p>
<div id="attachment_1731" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.dotnetthoughts.net/wp-content/uploads/2011/06/taskdialog1.png"><img src="http://www.dotnetthoughts.net/wp-content/uploads/2011/06/taskdialog1-300x131.png" alt="Task Dialog - On Windows 7 machine" title="Task Dialog - On Windows 7 machine" width="300" height="131" class="size-medium wp-image-1731" /></a><p class="wp-caption-text">Task Dialog - On Windows 7 machine</p></div>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.dotnetthoughts.net/2010/08/25/how-to-disable-close-button-of-windows-forms-application/" title="Permanent link to How to disable Close button of Windows Forms Application">How to disable Close button of Windows Forms Application</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/09/26/how-to-make-a-form-stay-always-on-top/" title="Permanent link to How to make a form stay always on top">How to make a form stay always on top</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/06/21/custom-places-in-filedialog-box/" title="Permanent link to Custom Places in FileDialog box">Custom Places in FileDialog box</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/07/10/consuming-a-c-dll-in-c/" title="Permanent link to Consuming a C++ DLL in C#">Consuming a C++ DLL in C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/25/setting-an-application-on-top-other-windows-using-c/" title="Permanent link to Setting an application on top other windows using C#">Setting an application on top other windows using C#</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2011/06/30/how-to-use-taskdialog-api-in-c/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Setting an application on top other windows using C#</title>
		<link>http://www.dotnetthoughts.net/2010/12/25/setting-an-application-on-top-other-windows-using-c/</link>
		<comments>http://www.dotnetthoughts.net/2010/12/25/setting-an-application-on-top-other-windows-using-c/#comments</comments>
		<pubDate>Sat, 25 Dec 2010 09:30:31 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.0 / 3.5]]></category>
		<category><![CDATA[Win 32 API]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[C#.Net]]></category>
		<category><![CDATA[WIN32 API]]></category>

		<guid isPermaLink="false">http://www.dotnetthoughts.net/?p=1337</guid>
		<description><![CDATA[Yesterday while watching video on Youtube.com I found one problem I can’t view YouTube video as well as write code. on same time. We can find always on top options in most video players, but I don’t think this option &#8230; <a href="http://www.dotnetthoughts.net/2010/12/25/setting-an-application-on-top-other-windows-using-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday while watching video on Youtube.com I found one problem I can’t view YouTube video as well as write code. <img src='http://www.dotnetthoughts.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  on same time. We can find always on top options in most video players, but I don’t think this option available in browsers or editors. So I thought about writing an application, which helps to set any application on top of other windows / applications. This application is SetWindowPos win32 api function. And I am enumerating all the windows using Process.GetProcess() method.</p>
<pre class="brush: csharp; title: ; notranslate">
[DllImport(&quot;user32.dll&quot;, SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool SetWindowPos(IntPtr hWnd,
    int hWndInsertAfter, int x, int y, int cx, int cy, int uFlags);

private const int HWND_TOPMOST = -1;
private const int SWP_NOMOVE = 0x0002;
private const int SWP_NOSIZE = 0x0001;
</pre>
<p>Method used to load all the process</p>
<pre class="brush: csharp; title: ; notranslate">
private void LoadProcesses()
{
    //Getting all the process
    Process[] processes = Process.GetProcesses();
    this.lstApps.DisplayMember = &quot;MainWindowTitle&quot;;
    this.lstApps.ValueMember = &quot;MainWindowHandle&quot;;
    foreach (Process process in processes)
    {
        //Adding only process which has got Window Title.
        if (process.MainWindowTitle.Length &gt;= 1)
        {
            this.lstApps.Items.Add(process);
        }
    }
}
</pre>
<p>And you can set the Window on top by calling SetWindowPos() method like this.</p>
<pre class="brush: csharp; title: ; notranslate">
//Checks wheather an item selected on not in the listbox
if (this.lstApps.SelectedIndex != -1)
{
    Process process = this.lstApps.SelectedItem as Process;
    SetWindowPos(process.MainWindowHandle,
        HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);
}
</pre>
<p>Happy Programming <img src='http://www.dotnetthoughts.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.dotnetthoughts.net/2010/09/26/how-to-make-a-form-stay-always-on-top/" title="Permanent link to How to make a form stay always on top">How to make a form stay always on top</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/14/how-to-turn-off-monitor-programmatically-using-c/" title="Permanent link to How to turn off monitor programmatically using C#">How to turn off monitor programmatically using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/08/25/how-to-disable-close-button-of-windows-forms-application/" title="Permanent link to How to disable Close button of Windows Forms Application">How to disable Close button of Windows Forms Application</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2011/11/12/how-redirect-output-from-a-console-application/" title="Permanent link to How redirect output from a console application">How redirect output from a console application</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/11/16/webcam-in-your-applications-using-c/" title="Permanent link to WebCam in your applications using C#">WebCam in your applications using C#</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2010/12/25/setting-an-application-on-top-other-windows-using-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to record sound using C#</title>
		<link>http://www.dotnetthoughts.net/2010/12/18/how-to-record-sound-using-c/</link>
		<comments>http://www.dotnetthoughts.net/2010/12/18/how-to-record-sound-using-c/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 08:09:58 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.0 / 3.5]]></category>
		<category><![CDATA[Win 32 API]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[C#.Net]]></category>
		<category><![CDATA[WIN32 API]]></category>

		<guid isPermaLink="false">http://www.dotnetthoughts.net/?p=1293</guid>
		<description><![CDATA[Microsoft .Net don’t have inbuilt support for recording sounds. If want to record sound, you need to use WIN32 API functions. The following code used to record sound from Mic. It is using mciSendString function from Winmm.dll. The mciSendString function &#8230; <a href="http://www.dotnetthoughts.net/2010/12/18/how-to-record-sound-using-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Microsoft .Net don’t have inbuilt support for recording sounds. If want to record sound, you need to use WIN32 API functions. The following code used to record sound from Mic. It is using mciSendString function from Winmm.dll. The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string.</p>
<p>Here is the mcisendstring function</p>
<pre class="brush: csharp; title: ; notranslate">
[DllImport(&quot;winmm.dll&quot;)]
static extern Int32 mciSendString(string command, string buffer, int bufferSize, int hwndCallback);
</pre>
<p>Following code used to record sound</p>
<pre class="brush: csharp; title: ; notranslate">
mciSendString(&quot;open new Type waveaudio Alias recsound&quot;, &quot;&quot;, 0, 0);
mciSendString(&quot;record recsound&quot;, &quot;&quot;, 0, 0);
</pre>
<p>And you can save the recorded sound using</p>
<pre class="brush: csharp; title: ; notranslate">
using (SaveFileDialog saveFileDialog = new SaveFileDialog())
{
    saveFileDialog.Filter = &quot;WAV Sounds|*.wav&quot;;
    saveFileDialog.OverwritePrompt = true;
    if (saveFileDialog.ShowDialog(this) == DialogResult.OK)
    {
        string saveCommand = string.Format(&quot;save recsound {0}&quot;,
            saveFileDialog.FileName);
        mciSendString(saveCommand, &quot;&quot;, 0, 0);
        mciSendString(&quot;close recsound&quot;, &quot;&quot;, 0, 0);
    }
}
</pre>
<p>And you can play sound using SoundPlayer class in System.Media namespace.</p>
<pre class="brush: csharp; title: ; notranslate">
using (OpenFileDialog openFileDialog = new OpenFileDialog())
{
    openFileDialog.Filter = &quot;WAV Sounds|*.wav&quot;;
    if (openFileDialog.ShowDialog(this) == DialogResult.OK)
    {
        SoundPlayer player = new SoundPlayer();
        player.SoundLocation = openFileDialog.FileName;
        player.Play();
    }
}
</pre>
<p>You can get more details about <a target="_blank" href="http://msdn.microsoft.com/en-us/library/dd757161(v=vs.85).aspx">mciSendString </a>function from MSDN.</p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.dotnetthoughts.net/2009/11/16/webcam-in-your-applications-using-c/" title="Permanent link to WebCam in your applications using C#">WebCam in your applications using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/09/26/how-to-make-a-form-stay-always-on-top/" title="Permanent link to How to make a form stay always on top">How to make a form stay always on top</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/25/setting-an-application-on-top-other-windows-using-c/" title="Permanent link to Setting an application on top other windows using C#">Setting an application on top other windows using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/14/how-to-turn-off-monitor-programmatically-using-c/" title="Permanent link to How to turn off monitor programmatically using C#">How to turn off monitor programmatically using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/09/30/convert-image-to-icon-using-c/" title="Permanent link to Convert Image to Icon using C#">Convert Image to Icon using C#</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2010/12/18/how-to-record-sound-using-c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to turn off monitor programmatically using C#</title>
		<link>http://www.dotnetthoughts.net/2010/12/14/how-to-turn-off-monitor-programmatically-using-c/</link>
		<comments>http://www.dotnetthoughts.net/2010/12/14/how-to-turn-off-monitor-programmatically-using-c/#comments</comments>
		<pubDate>Tue, 14 Dec 2010 13:28:46 +0000</pubDate>
		<dc:creator>Anuraj P</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net 3.0 / 3.5]]></category>
		<category><![CDATA[Win 32 API]]></category>
		<category><![CDATA[Windows Forms]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[WIN32 API]]></category>

		<guid isPermaLink="false">http://www.dotnetthoughts.net/?p=1269</guid>
		<description><![CDATA[Today while playing around send message WIN32 api calls, I found a nice option with WM_SENDCOMMAND, which helps to turn off monitor using C#. Later I found some my friend Shobanis using the same code in his dark project in &#8230; <a href="http://www.dotnetthoughts.net/2010/12/14/how-to-turn-off-monitor-programmatically-using-c/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today while playing around send message WIN32 api calls, I found a nice option with WM_SENDCOMMAND, which helps to turn off monitor using C#. Later I found some my friend <a href="http://www.twitter.com/shobankr" target="_blank">Shoban</a>is using the same code in his dark project in the <a href="http://dark.codeplex.com" target="_blank">codeplex</a>. </p>
<p>Here is the code.</p>
<pre class="brush: csharp; title: ; notranslate">
using System.Runtime.InteropServices;

private const int HWND_BROADCAST = 0xFFFF;
private const int SC_MONITORPOWER = 0xF170;
private const int WM_SYSCOMMAND = 0x112;

private const int MONITOR_ON = -1;
private const int MONITOR_OFF = 2;
private const int MONITOR_STANBY = 1;

[DllImport(&quot;user32.dll&quot;)]
private static extern int SendMessage(int hWnd, int hMsg, int wParam, int lParam);
</pre>
<p>And you need to call the following line to turn off the monitor.</p>
<pre class="brush: csharp; title: ; notranslate">
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_OFF);
</pre>
<p>You can get more details about <a target="_blank" href="http://msdn.microsoft.com/en-us/library/ms646360(VS.85).aspx">WM_SYSCOMMAND from MSDN</a></p>
<div class="betterrelated"><p><strong>Related content:</strong></p>
<ol><li> <a href="http://www.dotnetthoughts.net/2010/09/26/how-to-make-a-form-stay-always-on-top/" title="Permanent link to How to make a form stay always on top">How to make a form stay always on top</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/25/setting-an-application-on-top-other-windows-using-c/" title="Permanent link to Setting an application on top other windows using C#">Setting an application on top other windows using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2009/11/16/webcam-in-your-applications-using-c/" title="Permanent link to WebCam in your applications using C#">WebCam in your applications using C#</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/08/25/how-to-disable-close-button-of-windows-forms-application/" title="Permanent link to How to disable Close button of Windows Forms Application">How to disable Close button of Windows Forms Application</a>  </li>
<li> <a href="http://www.dotnetthoughts.net/2010/12/18/how-to-record-sound-using-c/" title="Permanent link to How to record sound using C#">How to record sound using C#</a>  </li>
</ol></div>]]></content:encoded>
			<wfw:commentRss>http://www.dotnetthoughts.net/2010/12/14/how-to-turn-off-monitor-programmatically-using-c/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

