Jump to content

cant select controls in my gui


emoyasha
 Share

Recommended Posts

i simply cant click anythign inside of my GUI the edits, media player.... nothing

here is the code

#include <GUIConstants.au3>
#include <WindowsConstants.au3>
#include <EditConstants.au3>



#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Revelution Messenger", 285, 718, 277, 174)
GUISetCursor (3)
GUISetBkColor(0x00FFFF)
$Pic1 = GUICtrlCreatePic("bg.bmp", 0, 0, 300, 735 )
$Input1 = GUICtrlCreateInput("UserName", 48, 294, 209, 21)
$Input2 = GUICtrlCreateInput("Password", 48, 320, 209, 21, $ES_PASSWORD)
$Pic2 = GUICtrlCreatePic("Untitled-1.gif", 40, 24, 220, 204 )
$Pic3 = GUICtrlCreatePic("", 48, 32, 204, 180)
$Pic4 = GUICtrlCreatePic("verified.gif", 0, 650, 285, 70)

$1 = _guictrlcreatemediaembed("http://75.185.53.88:8002",0,450,290,200,999999)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd


Func _guictrlcreatemediaembed($_song,$_sX,$_sY,$_sWidth,$_sHeight,$_sBGColor=-1)
    Local $_sString='<object id="player" height="100%" width="100%" align="middle" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> '
    $_sString&=' <param name="URL" value="'&$_song&'">'
    $_sString&=' <param name="uiMode" value="full"> '
    $_sString&=' <param name="ShowControls" value="true"> '
    $_sString&=' <param name="ShowStatusBar" value="true"> '
    $_sString&=' <param name="ShowDisplay" value="true"> '
    $_sString&=' <embed type="application/x-mplayer2" '
    $_sString&=' pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/" '
    $_sString&=' SRC="'&$_song&'"'
    $_sString&=' name="player" '
    $_sString&=' width="100%" '
    $_sString&=' height="100%" '
    $_sString&=' showcontrols="1" '
    $_sString&=' showstatusbar="1" '
    $_sString&=' showdisplay="1" '
    $_sString&=' uiMode="full" '
    $_sString&=' visual="1"> '
    $_sString &= '</embed></object>'
    Local $_sIE = ObjCreate("Shell.Explorer")
    Local $_sReturn = GUICtrlCreateObj($_sIE,$_sX,$_sY,$_swidth,$_sHeight)
    $_sIE.navigate("about:blank")
    $_sIE.document.body.topmargin=0
    $_sIE.document.body.leftmargin=0
    $_sIE.document.body.scroll="no"
    $_sIE.document.body.bgcolor=$_sBGColor
    $_sIE.document.body.innerHTML = $_sString
    
    $_sIE=0
    Return $_sReturn
EndFunc

image files:

http://notmyspace.info/messenger/Untitled-1.gif

http://notmyspace.info/messenger/bg.bmp

http://notmyspace.info/messenger/verified.gif

Edited by emoyasha
Spoiler

Admin Of:http://notmyspace.info [Under Development, looking for volunteers to help improve]http://PSNetCards.co.ukhttp://ZacnAndLindsey.com [Under development, not quite sure what to do with it yet]http://revelm.com------------------------------------Radio Streams:http://75.185.53.88:8000 [128kb/s 44kHz]http://75.185.53.88:8002 [22kb/s 22kHz](works on mobile phones)-----------------------------------My Server:Owned By: http://jumpline.comIP:66.84.19.220Bandwidth:200GBStorage Space:1TBNetwork Connection: 1GB/S[up and down]Operating System: Red Hat LinuxInstalled Apps:Webmail, phpBB, Majordomo, phpMyAdmin, MySQL, Active Server Pages, FrontPage Extensions 2002, GraphicsMagick, Mod Perl, Perl, PHP: Hypertext Preprocessor, Python(want cheap good webhosting, or need a place to park your domain? contact me)-----------------------------------

 

Link to comment
Share on other sites

how do i disable?

Spoiler

Admin Of:http://notmyspace.info [Under Development, looking for volunteers to help improve]http://PSNetCards.co.ukhttp://ZacnAndLindsey.com [Under development, not quite sure what to do with it yet]http://revelm.com------------------------------------Radio Streams:http://75.185.53.88:8000 [128kb/s 44kHz]http://75.185.53.88:8002 [22kb/s 22kHz](works on mobile phones)-----------------------------------My Server:Owned By: http://jumpline.comIP:66.84.19.220Bandwidth:200GBStorage Space:1TBNetwork Connection: 1GB/S[up and down]Operating System: Red Hat LinuxInstalled Apps:Webmail, phpBB, Majordomo, phpMyAdmin, MySQL, Active Server Pages, FrontPage Extensions 2002, GraphicsMagick, Mod Perl, Perl, PHP: Hypertext Preprocessor, Python(want cheap good webhosting, or need a place to park your domain? contact me)-----------------------------------

 

Link to comment
Share on other sites

you can download the images at the bottom of my post if you want to test it with them there.

and if it is them immages how do i disable them.

he was correct

i added

GUICtrlSetState($pic1, $GUI_DISABLE)

and problem solved ;)

Edited by emoyasha
Spoiler

Admin Of:http://notmyspace.info [Under Development, looking for volunteers to help improve]http://PSNetCards.co.ukhttp://ZacnAndLindsey.com [Under development, not quite sure what to do with it yet]http://revelm.com------------------------------------Radio Streams:http://75.185.53.88:8000 [128kb/s 44kHz]http://75.185.53.88:8002 [22kb/s 22kHz](works on mobile phones)-----------------------------------My Server:Owned By: http://jumpline.comIP:66.84.19.220Bandwidth:200GBStorage Space:1TBNetwork Connection: 1GB/S[up and down]Operating System: Red Hat LinuxInstalled Apps:Webmail, phpBB, Majordomo, phpMyAdmin, MySQL, Active Server Pages, FrontPage Extensions 2002, GraphicsMagick, Mod Perl, Perl, PHP: Hypertext Preprocessor, Python(want cheap good webhosting, or need a place to park your domain? contact me)-----------------------------------

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...