ShowInTaskbar

.NET Edition of the F-IN-BOX
seesharp
Posts: 82
Joined: Mon Oct 30, 2006 1:34 pm

Postby seesharp » Mon Jan 15, 2007 8:19 pm

You're simply amazing!

Alex

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Jan 15, 2007 8:34 pm

Thank you :)
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

pengu1n
Posts: 4
Joined: Thu May 10, 2007 4:07 am

Postby pengu1n » Sat Jun 02, 2007 8:37 am

Turning the ShowInTaskbar property on or off in Sample4_Translucency makes no difference to the behaviour of the program. In both cases, there is a task bar entry. I am using version 3_0_10 of the dotNET f_in_box samples under dotnet 2.0 on WinXP.

It seems that the ShowInTaskbar property hides the definition in the base class.

I will appreciate some help here.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Jun 02, 2007 3:26 pm

Thank you for your question.

pengu1n wrote:Turning the ShowInTaskbar property on or off in Sample4_Translucency makes no difference to the behaviour of the program. In both cases, there is a task bar entry. I am using version 3_0_10 of the dotNET f_in_box samples under dotnet 2.0 on WinXP.

It seems that the ShowInTaskbar property hides the definition in the base class.

I will appreciate some help here.


To test, I've made the following changes in the OnMenuMinimize:

Code: Select all

      private void OnMenuMinimize(Object Sender, System.EventArgs e)
      {
//         WindowState = FormWindowState.Minimized;

         ShowInTaskbar = !ShowInTaskbar;
      }


It works fine. Could you please test it too?

Yes, ShowInTaskbar hides the definition of base class, because ShowInTaskbar in the base class recreates a window handle.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

pengu1n
Posts: 4
Joined: Thu May 10, 2007 4:07 am

Postby pengu1n » Sat Jun 02, 2007 8:01 pm

Hi Artem,

That works. It also works if I do "ShowInTaskbar = false;" in the form's constructor.

What didn't (and doesn't) work is when I set ShowInTaskbar to false in the form designer in Visual Studio. Given that your solution works, I don't need to bother about the designer.

Thanks for the help. Much appreciated.


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 10 guests

cron