This is the code I'm using:
BorderStyle := bsNone;
WindowState := wsMaximized;
My problem is that the application won't cover the taskbar, but go behind it.
It works fine when switching to fullscreen at runtime, but it doesn't work when starting the app at system startup.
UPDATE
It turns out that those two lines work very well. They are in the FormShow event handler. If I break point until the end of FormShow, the application seems to be in fullscreen; I can see the application trough the taskbar. But after FormShow the application's Top property gets changed somehow. I don't change it in code - the value is -20, so the application is not maximized anymore.
Is there a way to track where or when it is changed?
Thanks in advance!
UPDATE
This post is flagged. Please do not post any answers! Thank you.