Jump to content
Ian Branch

Apps not appearing in right task bar??

Recommended Posts

Hi Team,

Win 11, D11.1.1., 32bit Apps.

I run two 4k screens, great for productivity.

I have noticed that with the Apps I create, their Task Bar icon only appears in the primary Task Bar, even though I have moved the App to the Secondary screen. :-(

With most, if not all, of the other standard Win Apps I use, the App icon moves between screen task bars as I move them from one screen to another.

Is there some Delphi or WINAPI setting I need to set?

 

Regards  TIA,

Ian

Share this post


Link to post

Probably this is another consequence of the fact the simplest Delphi forms app actually has two windows - one hidden for Application and one for main form. The catch is that hidden window looks main for OS.

  • Like 1

Share this post


Link to post
11 hours ago, Ian Branch said:

Hmmm.  Seems I needed this..


  Application.MainFormOnTaskbar := True;

In the project file.

That is already set to True by default in new projects, but defaults to False in older projects migrated to newer IDEs.

Share this post


Link to post
5 hours ago, Remy Lebeau said:

That is already set to True by default in new projects, but defaults to False in older projects migrated to newer IDEs.

As all mine were/are. 😉

Cheers.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×