Jump to content

'her Zaman Üstte' Yapmak


Tncte
 Share

Recommended Posts

Merhaba Arkadaşlar Bir Proje Yapıyorum Lakin Bir Sorunum Var Programa Bir Checbox Koyucam Ve Checbox a herzaman üstte kalsın yazıcam böylece herzaman hangi program olursa olsun onun üstünde olucak bu windowsun görev yöneticisindede var bunu nasıl yapabilirim şimdiden teşekkürler..

Edited by Tncte
Link to comment
Share on other sites

Window.SetOrder(Application.GetWndHandle(),  HWND_TOPMOST);

Pencereyi her zaman üstte ayarlar.

 

Window.SetOrder(Application.GetWndHandle(), HWND_NOTOPMOST);

Pencereyi normal hale getirir.


Kolay gelsin :). Edited by reyiz
Link to comment
Share on other sites

Her Zaman Üstte yazan CheckBox'un OnClick evresine aşağıdaki kodu verin:

 

enust = CheckBox.GetChecked(this);


if enust == true then
Window.SetOrder(Application.GetWndHandle(),  HWND_TOPMOST);
else

Window.SetOrder(Application.GetWndHandle(), HWND_NOTOPMOST);
end
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...