Is there a way, to remove my firemonkey application form Windows XP/vista/7 taskbar? There is no info when i google.
The problem:
How to hide the form that is located in a dll from the Windows taskbar.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
NB: Talibek answered his own question within the question, for clarity I have moved it here.
You need to get your main form handle (
Form1.Handle), because there is no Application.handle in firemonkey, then convert it withFmxHandleToHWND(FMX.Platform.Win) to normal window handle. From your host application, you need to retrive that handle (you can export a function with it) and do this:Retrieving handle:
Of course, the
Application.MainFormOnTaskBarproperty needs to be set totrueso the form can handle the application.Hope it helps somebody.