By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,333 Members | 1,391 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,333 IT Pros & Developers. It's quick & easy.

UtilityLibrary ReBar problem

P: n/a
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.UpdateImageLis t() 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.OnHandleCreat e(EventArgs e in ....

I realize this exceptions happens when I add my toolbar into the rebar.

Anyone has similar issue ??
Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Its better to see your code, i guest it is about image adding

Fatih Boy

"ka" <ja*****@hotmail.com> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
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.UpdateImageLis t() 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.OnHandleCreat e(EventArgs e in ....

I realize this exceptions happens when I add my toolbar into the rebar.

Anyone has similar issue ??

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.