ycoban07 Posted March 9, 2012 Share Posted March 9, 2012 Arkadaşlar kiosk-image uygulaması ile arkaplan windowsa tam ekran yapılabiliyormuş. Aşağıdaki kodu sayfanın on show bölümüne yazdım. Gerekli düzenlemeyi yaptım. Ama çalışmadı hata nerede? [quote]-- make sure the window is 'Always On Top' Window.SetOrder(Application.GetWndHandle(), HWND_TOPMOST) -- set path to the dll and background image local sDLLPATH="AutoPlay\\Docs\\FakeKiosk.dll" local sLOGO="AutoPlay\\Images\\630A03104.jpg" -- load the dll into the applications memory hDLL = DLL.CallFunction("kernel32.dll", "LoadLibraryA", "\""..sDLLPATH.."\"", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); if (hDLL ~= 0) then -- call the dll to create the kiosk DLL.CallFunction(sDLLPATH, "FakeKiosk","\""..sLOGO.."\"", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); end[/quote] Quote Link to comment Share on other sites More sharing options...
MostWanted Posted March 9, 2012 Share Posted March 9, 2012 Bunun için koda gerek yok istediğin şey zaten Ams setting de mevcut.Project->Settings->Style kısmında görebilirsin. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 9, 2012 Share Posted March 9, 2012 mostwanted, ams de kisok tek renk yada gradient oluyor diye hatirliyorum, arkadaşın verdiği kod image'i kiosk yapiyor. Quote Link to comment Share on other sites More sharing options...
ycoban07 Posted March 9, 2012 Author Share Posted March 9, 2012 Evet Kintaro'nun dediği gibi. Bunu hiç yapıp deneyen var mı? Varsa apz'sini yapıp paylaşsak örneğine daha hiç rastlamadım. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 9, 2012 Share Posted March 9, 2012 o dll dosyaları mevcutsa ekleyin deneyelim. Quote Link to comment Share on other sites More sharing options...
MostWanted Posted March 9, 2012 Share Posted March 9, 2012 O kısmı görmemişim Bu arada kintarocum kernel32.dll zaten sistem dll'si değil mi? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 9, 2012 Share Posted March 9, 2012 DLL.CallFunction(sDLLPATH, "FakeKiosk","\""..sLOGO.."\"", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL); bunu nerenle çalıştıracaksın o zaman sevgili talha Quote Link to comment Share on other sites More sharing options...
MostWanted Posted March 9, 2012 Share Posted March 9, 2012 Hahaha Fiziğe devam tırlattık burda Quote Link to comment Share on other sites More sharing options...
ycoban07 Posted March 9, 2012 Author Share Posted March 9, 2012 Üstat o dll dosyası mevcut değil. Nasıl elde edilir? Quote Link to comment Share on other sites More sharing options...
KintaRo Posted March 9, 2012 Share Posted March 9, 2012 google'da ara bende yok bilmiyorum inan. Quote Link to comment Share on other sites More sharing options...
ycoban07 Posted March 10, 2012 Author Share Posted March 10, 2012 Google da çok aradım. DLL dosyasını yapan yok.İndirgose nin sitesinde bir iki örnek var o da bizi üye yapmıyor. Apz yi indiremedim. [quote]http://www.indigorose.com/forums/threads/30935-DLL-Image-Kiosk[/quote] Quote Link to comment Share on other sites More sharing options...
blackman12 Posted March 10, 2012 Share Posted March 10, 2012 Kintaronun AM8 Mega Packinde vardı ama kendisi de görmemiş heralde dimi Kintaro Buyur DLL Dosyası: http://www.mediafire.com/?qtysnb5cm8c6qux Quote Link to comment Share on other sites More sharing options...
dragon3781 Posted March 10, 2012 Share Posted March 10, 2012 Merhaba Elimde İstedigin Şekilde Bir Örnek vardı ; [b]Project Settings :[/b] Kiosk Color Seciyorsun . [b]Page On Preload Kısmına ;[/b] [codebox] Application.SetRedraw(false) tblScreen = System.GetDisplayInfo() TopX = 0 - ((tblScreen.Width - 790) / 2) TopY = 0 - ((tblScreen.Height - 545) / 2) Image.SetPos("imgKioskBG", TopX, TopY) Image.SetSize("imgKioskBG", tblScreen.Width, tblScreen.Height) Page.SetObjectZOrder("imgKioskBG", ZORDER_BACK, "") Image.SetEnabled("imgKioskBG", false) Application.SetRedraw(true) [/codebox] [b]Not :[/b] Arka Plandaki Tamamını Kaplayacak Resimin Projedeki Adı : imgKioskBG Olmalıdır , yada kendin editlersin. Proje Aşaması ; Mavi Alanlar Kiosk Kısmıdır . [img]http://www.tnctr.com/uploads/imgs/pre_1331389792__2.jpg[/img] Son Aşama ; ( Çalıştırılınca ) [img]http://www.tnctr.com/uploads/imgs/pre_1331389779__1.jpg[/img] Apz veremiyorum çünki PC kısıtlı ( Firevall ) Şirkette... Quote Link to comment Share on other sites More sharing options...
ycoban07 Posted March 10, 2012 Author Share Posted March 10, 2012 [quote]Kintaronun AM8 Mega Packinde vardı ama kendisi de görmemiş heralde dimi Kintaro Buyur DLL Dosyası: http://www.mediafire.com/?qtysnb5cm8c6qux [/quote] üstat sorun çözüldü. Kiosk-İmage farkıyla projelere devam. Quote Link to comment Share on other sites More sharing options...
ycoban07 Posted March 11, 2012 Author Share Posted March 11, 2012 [quote]Application.SetRedraw(false) tblScreen = System.GetDisplayInfo() TopX = 0 - ((tblScreen.Width - 790) / 2) TopY = 0 - ((tblScreen.Height - 545) / 2) Image.SetPos("imgKioskBG", TopX, TopY) Image.SetSize("imgKioskBG", tblScreen.Width, tblScreen.Height) Page.SetObjectZOrder("imgKioskBG", ZORDER_BACK, "") Image.SetEnabled("imgKioskBG", false) Application.SetRedraw(true)[/quote] dragon3781, sayfalar arası geçişte önce 1-2 saniye sonra resim ekranı kaplıyor. Bu normal mi? Quote Link to comment Share on other sites More sharing options...
dragon3781 Posted March 12, 2012 Share Posted March 12, 2012 [quote name='ycoban07' date='11 March 2012 - 10:58 ' timestamp='1331463497' post='1167788'] dragon3781, sayfalar arası geçişte önce 1-2 saniye sonra resim ekranı kaplıyor. Bu normal mi? [/quote] Kontrol etmedim ama tahminimce sayfa geçiş efekti ile alakalı olablir , yada her sayfada ekran boyutunu yeniden algılamaya çalıştığından da 1-2 saniye gecikme olabılır. 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.