2
Good people, I came here because I don’t know what else to do, I tested everything.... need to make my FORM2 always visible (above) of all open programs in windows. My program did as follows:
Form1 has a BUTTON when I click it executes the following command:
Form2.Show;
In the ONSHOW of FORM2 I put the following:
SetWindowPos(Form2.handle, HWND_TOPMOST, Form2.Left, Form2.Top,Form2.Width, Form2.Height, 0);
And the Formstyle property of Form2, I changed it to fsStayOnTop. Even so, when I call FORM2, it is no use, it is not always visible, if I open WORD for example, it is already behind. What am I doing wrong? Any ideas ?
recommend taking a look at this OS question (http://stackoverflow.com/questions/12946150/how-to-bring-my-application-to-the-front), some of the answers to ways of doing may suit you. But 100% functioning none of them guaranteed.
– Caputo