by adam
23. October 2009 15:44
The following snippet of code can be used to determine whether a Windows Mobile ComboBox is currently dropped down or not:
using Microsoft.WindowsCE.Forms;
...
private const int CB_GETDROPPEDSTATE = 0x0157;
private bool IsComboBoxDroppedDown(ComboBox comboBox)
{
Message comboBoxMessage = Message.Create(comboBox.Handle, CB_GETDROPPEDSTATE,
IntPtr.Zero, IntPtr.Zero);
MessageWindow.SendMessage(ref comboBoxMessage);
return (comboBoxMessage.Result != IntPtr.Zero);
}

by adam
19. October 2009 10:43
Microsoft has made Visual Studio 2010 and .NET 4 beta 2 available today to MSDN subscribers with general availability on Wednesday (10/21).
Download the beta from: http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx
There are several new features available which you can read about at the following links:
Scott Guthrie has written several great posts detailing new features in Visual Studio 2010:
http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx
What's new in ASP.NET 4.0 (Microsoft Whitepaper):
http://www.asp.net/learn/whitepapers/aspnet40/
Learning Resources for C# 4.0 and .NET 4.0:
http://bogdanbrinzarea.wordpress.com/2009/04/24/learning-net-40-new-features/
