UtilityLibrary ReBar problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ka

    UtilityLibrary ReBar problem

    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 ??


  • Fatih BOY

    #2
    Re: UtilityLibrary ReBar problem

    Its better to see your code, i guest it is about image adding

    Fatih Boy

    "ka" <jackhui@hotmai l.com> wrote in message
    news:u9YZ7URRDH A.3192@TK2MSFTN GP10.phx.gbl...[color=blue]
    > 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 ??
    >
    >[/color]


    Comment

    Working...