Refactoring questions

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

Refactoring questions

Postby seesharp » Fri Dec 29, 2006 9:40 am

Hi

I've just some more questions, before refactoring too much of my code. Do these methods /properties work with f_in_box transparent form or do I still need work-arounds:

- Show / Hide in taskbar
- Form start position center screen etc.
- Show default taskbar menu

Kind regards

Alex

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

Re: Refactoring questions

Postby Softanics » Sat Dec 30, 2006 8:07 pm

Thank you for your questions.

seesharp wrote:- Show / Hide in taskbar


Use winapi functions. The .NET implementation recreates window handle, and f_in_box looses some properties :(

seesharp wrote:- Form start position center screen etc.


Use Left, Top, Width, Height properties.

seesharp wrote:- Show default taskbar menu


System menu? Yes, this menu is enabled by default...
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

seesharp
Posts: 82
Joined: Mon Oct 30, 2006 1:34 pm

Postby seesharp » Mon Jan 01, 2007 1:48 pm

Hi,

I just tried the ShowInTaskbar with true/false, and according to my tests, it seems to work with f_in_box__form !! :D

Kind Regards and

Happy New Year

Alex

seesharp
Posts: 82
Joined: Mon Oct 30, 2006 1:34 pm

Postby seesharp » Mon Jan 01, 2007 1:58 pm

BUT

I just recognized that, when setting ShowInTaskbar = false; I get the demo version indication. ?


Alex

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

Postby Softanics » Mon Jan 01, 2007 3:08 pm

seesharp wrote:BUT

I just recognized that, when setting ShowInTaskbar = false; I get the demo version indication. ?


Alex


Set the unlock key again after changing ShowInTaskbar. I still recommend you to use winapi instead of ShowInTaskbar, because ShowInTaskbar recreated a window handle.

Happy New Year! :)
Best regards, Artem A. Razin,

F-IN-BOX support

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


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 8 guests

cron