Jump to content

Arka Plan Resmi Koyamıyorum


woramon
 Share

Recommended Posts

Bu projeye Arka plan resmini "_GUICtrlCreateGIF" le ekliyorum fakat $tab1 'in üstüne çıkıyor.
"_GUICtrlCreateGIF" komut burda açıklanmış "http://www.tnctr.com/topic/145059-gif-animation-udf/"
Deneme projesi olduğu için resim çok dandik ama yinede Linkini vereyim
==>http://b1110.hizliresim.com/11/10/16/5178.gif
[codebox]#include <GUIConstantsEx.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
#include <WindowsConstants.au3>
#include "GIFAnimation.au3"
Opt("GUIOnEventMode", 1)
#Region ### START Koda GUI section ### Form=
$hGui = GUICreate("Form3", 370, 552, 201, 127)
GUISetOnEvent($GUI_EVENT_CLOSE, "Form3Close")
GUISetOnEvent($GUI_EVENT_MINIMIZE, "Form3Minimize")
GUISetOnEvent($GUI_EVENT_MAXIMIZE, "Form3Maximize")
GUISetOnEvent($GUI_EVENT_RESTORE, "Form3Restore")
$Tab1 = GUICtrlCreateTab(40, 16, 289, 513)
GUICtrlSetOnEvent(-1, "Tab1Change")
$TabSheet1 = GUICtrlCreateTabItem("1")
$TabSheet2 = GUICtrlCreateTabItem("2")
$TabSheet3 = GUICtrlCreateTabItem("3")
GUICtrlSetState(-1,$GUI_SHOW)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)


Opt("MustDeclareVars", 1)

If @error Then Exit

Global $aGIFArrayOfIconHandles
Global $hGIFThread
Global $iGIFTransparent
Global $tFrameCurrent

Global $hGIF = _GUICtrlCreateGIF("c:\deneme.gif", 10, 10, $aGIFArrayOfIconHandles, $hGIFThread, $iGIFTransparent, $tFrameCurrent)

GUICtrlSetTip($hGIF, "GIF")

GUIRegisterMsg(15, "_Refresh"); WM_PAINT; don't forget this. It's needed only for non-transparent gifs though, but still.

Global $iPlay = 1

GUISetState()


Func _Refresh($hWnd, $iMsg, $wParam, $lParam)

#forceref $hWnd, $iMsg, $wParam, $lParam

_RefreshGIF($hGIF, $aGIFArrayOfIconHandles, $hGIFThread, $iGIFTransparent, $tFrameCurrent)

EndFunc;==>_Refresh
#EndRegion ### END Koda GUI section ###

While 1
Sleep(100)
WEnd

Func Form3Close()

EndFunc
Func Form3Maximize()

EndFunc
Func Form3Minimize()

EndFunc
Func Form3Restore()

EndFunc
Func Tab1Change()

EndFunc

[/codebox]
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...