K
ka
I've a problem in using the ReBar in UtilityLibrary.
I dynamically created a ReBar and added to a form, then I created a
ToolBarEx derived class (just added a few buttons to the toolbar in the
constructor) to add to the Bands of the ReBar, and I got the exception.
Piped Error: System.NullReferenceException: Object reference not set to an
instance of an object. at
UtilityLibrary.CommandBars.TooBarEx.UpdateImageList() in
C:\Temp\UtilityLibrary\CommandBars\ToolBarEx.cs: line 1415 at
UtilityLibrary.CommandBars.ToolBarEx.RealizeItems() in
C:\Temp\UtilityLibrrary\CommandBars\ToolBarEx.cs: line 1345 at
UtilityLibrary.CommandBars.ToolBarEx.OnHandleCreate(EventArgs e in ....
I realize this exceptions happens when I add my toolbar into the rebar.
Anyone has similar issue ??
I dynamically created a ReBar and added to a form, then I created a
ToolBarEx derived class (just added a few buttons to the toolbar in the
constructor) to add to the Bands of the ReBar, and I got the exception.
Piped Error: System.NullReferenceException: Object reference not set to an
instance of an object. at
UtilityLibrary.CommandBars.TooBarEx.UpdateImageList() in
C:\Temp\UtilityLibrary\CommandBars\ToolBarEx.cs: line 1415 at
UtilityLibrary.CommandBars.ToolBarEx.RealizeItems() in
C:\Temp\UtilityLibrrary\CommandBars\ToolBarEx.cs: line 1345 at
UtilityLibrary.CommandBars.ToolBarEx.OnHandleCreate(EventArgs e in ....
I realize this exceptions happens when I add my toolbar into the rebar.
Anyone has similar issue ??