473,408 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

UtilityLibrary ReBar problem

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
1 2804
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class...
2
by: Takuya Matsumoto | last post by:
Hi to all, I was wondering whether this was possible/how it was possible. I would like to add a custom button to Internet Explorer ReBar. I believe it is called ReBar or CoolBar; what I mean...
1
by: Roth Fouty | last post by:
I'm looking at making a control that would mimic the MFC rebar control and tear off menus in C#. I have found some examples for the rebar control and a separate example of tear off and docking...
117
by: Peter Olcott | last post by:
www.halting-problem.com
18
by: Ian Stanley | last post by:
Hi, Continuing my strcat segmentation fault posting- I have a problem which occurs when appending two sting literals using strcat. I have tried to fix it by writing my own function that does the...
2
by: Developer | last post by:
Before I start working on my own version I'd like to be sure that makes sense. In previous Windows there was a control called Rebar and/or CoolBar or something like that. It was a container...
5
by: Brian Henry | last post by:
is there any .NET equlvilent of the rebar control in windows? thanks
0
by: Kalpana Naraboina | last post by:
Hi, I have converted the .Net 1.1 code to .Net 2.0. I am facing a problem with recursive call of Rebar WndProc(). By this the application is not opening (due to continuous loop). Can you...
7
by: Kalpana | last post by:
Hi, As iam working on convertion of C#1.1 to 2.0. Iam facing a problem (screen is flickered) while opening and closing any artifacts. When i tried to debug it is througing ContextSwitchDeadlock...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.