Tncte Posted March 29, 2013 Share Posted March 29, 2013 (edited) 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 March 29, 2013 by Tncte Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 29, 2013 Share Posted March 29, 2013 (edited) Window.SetOrder(Application.GetWndHandle(), HWND_TOPMOST);Pencereyi her zaman üstte ayarlar. Window.SetOrder(Application.GetWndHandle(), HWND_NOTOPMOST);Pencereyi normal hale getirir.Kolay gelsin :). Edited March 29, 2013 by reyiz Quote Link to comment Share on other sites More sharing options...
nightmare3519 Posted March 29, 2013 Share Posted March 29, 2013 (edited) Window.SetOrder komutundan top most seçeneğini seçeceksin. reyiz benden önce davranmış :) Edited March 29, 2013 by nightmare3519 Quote Link to comment Share on other sites More sharing options...
Tncte Posted March 29, 2013 Author Share Posted March 29, 2013 yine reyiz teşekkürler peki kodu nereye yazıcaz? :D nightmare3519 sanada teşekkürler Quote Link to comment Share on other sites More sharing options...
reyiz Posted March 29, 2013 Share Posted March 29, 2013 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); elseWindow.SetOrder(Application.GetWndHandle(), HWND_NOTOPMOST); end Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 30, 2013 Share Posted March 30, 2013 alttaki yorumları görmedim örnek proje hazırlamıştım bende :( https://www.sugarsync.com/pf/D1846013_160_23705940 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.