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.NullRefe renceException: Object reference not set to an
instance of an object. at
UtilityLibrary. CommandBars.Too BarEx.UpdateIma geList() in
C:\Temp\Utility Library\Command Bars\ToolBarEx. cs: line 1415 at
UtilityLibrary. CommandBars.Too lBarEx.RealizeI tems() in
C:\Temp\Utility Librrary\Comman dBars\ToolBarEx .cs: line 1345 at
UtilityLibrary. CommandBars.Too lBarEx.OnHandle Create(EventArg s 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.NullRefe renceException: Object reference not set to an
instance of an object. at
UtilityLibrary. CommandBars.Too BarEx.UpdateIma geList() in
C:\Temp\Utility Library\Command Bars\ToolBarEx. cs: line 1415 at
UtilityLibrary. CommandBars.Too lBarEx.RealizeI tems() in
C:\Temp\Utility Librrary\Comman dBars\ToolBarEx .cs: line 1345 at
UtilityLibrary. CommandBars.Too lBarEx.OnHandle Create(EventArg s e in ....
I realize this exceptions happens when I add my toolbar into the rebar.
Anyone has similar issue ??
Comment