Issue with inherited Transparent Form
Posted: Thu Oct 18, 2007 10:26 am
Hi I am having an issue when inheriting from f_in_box__form.
The issue seems easily reproducable:
If I create a class like:
and I set the FlashMovie within that class, e.g:
I can assign properties like WindowState, ShowInTaskbar etc. without any problem in any instance of that class. However, that's not very interesting as I like to have instances with various movies.
As soon as I set the FlashProperty_Movie in an instance of that class, WindowState and ShowInTaskbar seem totally broken or ignored.
e.g.
This will show the correct movie but not maximized and shown in taskbar.
Sincerely
Alex[/code]
The issue seems easily reproducable:
If I create a class like:
Code: Select all
TransparentForm:f_in_box__form
and I set the FlashMovie within that class, e.g:
Code: Select all
public partial class TransparentForm : f_in_box__form
{
public TransparentForm()
{
InitializeComponent();
this.FlashProperty_Movie = "D:\\ColorMatrix.swf";
}
}
I can assign properties like WindowState, ShowInTaskbar etc. without any problem in any instance of that class. However, that's not very interesting as I like to have instances with various movies.
As soon as I set the FlashProperty_Movie in an instance of that class, WindowState and ShowInTaskbar seem totally broken or ignored.
e.g.
Code: Select all
TransparentForm f = new TransparentForm();
f.WindowState = FormWindowState.Maximized;
f.ShowInTaskbar = false;
f.FlashProperty_Movie = "D:\\ColorMatrix.swf";
f.Show();
This will show the correct movie but not maximized and shown in taskbar.
Sincerely
Alex[/code]