Jump to content

Kiosk-İmage Projeye Nasıl Yapılır?


ycoban07
 Share

Recommended Posts

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]
Link to comment
Share on other sites

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...

Link to comment
Share on other sites

[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?

Link to comment
Share on other sites

[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.

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...