I am some having problems with a custom icon and controling the size of the
child form. I have included a custom icon on my main form and it displays
fine at design time, but is shown with a dark background at run time. The
icon is displayied properly on windows explorer and even at design time on
the ide. Does anybody know why this might be happening? Is there a way of
setting a transparent color on an icon file? I want to display the child
form within client size of the parent without any scroll bars. I have a
status bar on the parent. I set the initial size by using the clientsize -
some number and it works fine. However, when the user max or resize the child
form all hell break loose. Is there a way to contain the child form within
the parent without scroll bars?
HLong - 16 Nov 2005 21:28 GMT
I just found out that the transparency problem with icons is a known bug in
VS 2003 and that a workaround is adding an imagelist to the app and add to it
the icons. However, I don't know how to set the form's icon with one of the
images (icons), I get an error. I need to convert an image into an icon.
Can someone tell me how to do this? TIA
> I am some having problems with a custom icon and controling the size of the
> child form. I have included a custom icon on my main form and it displays
[quoted text clipped - 7 lines]
> form all hell break loose. Is there a way to contain the child form within
> the parent without scroll bars?