D
/dev/null
Hello,
i am using visual studio 2003 enterprise architect version. I am making
apps for the .Net framework 1.1. While testing an interface, i discovered
something strange.
In this application we have a standard toolbar that is at the top of the
form window. It contains about 8 buttons that use images from an imagelist.
Sometimes we hide buttons thru the code.
When a button is hidden, i assumed that it wasn't clickable. It appears
that horizontally across the toolbar, the top 2 pixels become some sort of
button. When i click at the top of the toolbar where normally there
shouldn't be anything, it activates one of the hidden buttons. To the eye,
everything seems fine but when i click in this area it generates a
ToolBar.ButtonClick event and e.button contains the properties of the hidden
button.
How come ? I've tried to search the web but couldn't find anything.
i am using visual studio 2003 enterprise architect version. I am making
apps for the .Net framework 1.1. While testing an interface, i discovered
something strange.
In this application we have a standard toolbar that is at the top of the
form window. It contains about 8 buttons that use images from an imagelist.
Sometimes we hide buttons thru the code.
When a button is hidden, i assumed that it wasn't clickable. It appears
that horizontally across the toolbar, the top 2 pixels become some sort of
button. When i click at the top of the toolbar where normally there
shouldn't be anything, it activates one of the hidden buttons. To the eye,
everything seems fine but when i click in this area it generates a
ToolBar.ButtonClick event and e.button contains the properties of the hidden
button.
How come ? I've tried to search the web but couldn't find anything.