M
Michael J. Salamone
I have an object derived from System.Windows.Forms.UserControl (plus an
interface I defined).
The UserControl has quite a few child controls (some w/children of their
own) ranging from listviews to treeviews to tab controls / pages, toolbars,
panes, and splitters.
All my toolbars display correctly during design time. But, at runtime, some
are displayed correctly and others aren't (there is no image shown - just a
blank button). With each toolbar, it's all or nothing. Either all the
images are correctly displayed, or none of them are.
I've tried a couple things like deleting and re-creating the imagelist used
by the toolbars and deleting and re-adding the buttons. Nothing seems to
help.
Any ideas?
One follow-up: The transparent areas of the images that do display aren't
transparent. I've tried with the transparent color set to the default as
well as the actual color (used RGB value - 191, 192, 195) used in the
images. Those "transparent" areas do show up, though. Btw, these are
bitmaps.
Any help is much appreciated. TIA.
interface I defined).
The UserControl has quite a few child controls (some w/children of their
own) ranging from listviews to treeviews to tab controls / pages, toolbars,
panes, and splitters.
All my toolbars display correctly during design time. But, at runtime, some
are displayed correctly and others aren't (there is no image shown - just a
blank button). With each toolbar, it's all or nothing. Either all the
images are correctly displayed, or none of them are.
I've tried a couple things like deleting and re-creating the imagelist used
by the toolbars and deleting and re-adding the buttons. Nothing seems to
help.
Any ideas?
One follow-up: The transparent areas of the images that do display aren't
transparent. I've tried with the transparent color set to the default as
well as the actual color (used RGB value - 191, 192, 195) used in the
images. Those "transparent" areas do show up, though. Btw, these are
bitmaps.
Any help is much appreciated. TIA.