How do I know when a menu is closed/started so that I can refresh my status bar?
There are MenuComplete and MenuStart events in the Form that will inform you of the corresponding menu events in the Form.
Why doesn’t a Form containing an ImageList not open in WinRes?
There seems to be a bug in the WinRes utility (1.0) that prevents a form from getting loaded in the WinRes editor (usually an exception like ‘Object reference not found’ occurs). A quick workaround is to always name your ImageLists to be of the form ‘imageListN’ (case sensitive; where N is the smallest no. you could use without a clash with other ImageLists).
How do I listen to windows messages in my Control?
In a derived class you should override WndProc as follows (listening to the WM_KEYUP message, for example): [C#] public class MyCombo : ComboBox { private const int WM_KEYUP = 0x101; protected override void WndProc(ref System.Windows.Forms.Message m) { if(m.Msg == WM_KEYUP) { return; //ignore the keyup } base.WndProc(ref m); } } [VB.NET] Public Class MyTextBox Inherits TextBox Private WM_KEYUP As Integer = &H101 Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message) If m.Msg = WM_KEYUP Then Return ’ignore the keyup End If MyBase.WndProc(m) End Sub ’WndProc End Class ’MyTextBox
How do I specify the path for the FolderBrowser instance when it opens the first time?
In the 1.1 framework there is a SelectedPath property that will let you do this.
Where are the getting started info. on Smart Client Deployment?
Here is some information (provided by Lubos in the newsgroups): http://www.fawcette.com/vsm/2002_09/magazine/columns/desktopdeveloper/ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/vbnet10142001.asp http://msdn.microsoft.com/msdnmag/issues/02/07/NetSmartClients/default.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnforms/html/winforms11122002.asp