Jump to content

Cha0sBG

Active Members
  • Posts

    274
  • Joined

  • Last visited

About Cha0sBG

  • Birthday 08/06/1991

Profile Information

  • Location
    Plovdiv,Bulgaria

Cha0sBG's Achievements

Universalist

Universalist (6/7)

0

Reputation

  1. omg i'm sooooooo sry when Ulten edited the code i guess he changed the value of the pic's wight and set it to lower and it didn't cover the whole gui so there is no problem i will say again soooooooooo sry
  2. here is all the code only thing i need now is to make the labels transperant and i have added the code for that . #include <GUIConstantsex.au3> #include <Windowsconstants.au3> $GUI = GUICreate("Win Get Title", 301, 300, -1, -1, BitOR($WS_POPUP, $WS_BORDER)) $PIC = GUICtrlCreatePic("Header.JPG", 0, 0, 270, 20, -1, $GUI_WS_EX_PARENTDRAG) $Close = GUICtrlCreateLabel("X", 288, 2, 12, 18, -1,$GUI_WS_EX_PARENTDRAG) GUICtrlSetColor(-1,0xff0000) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) $min = GUICtrlCreateLabel("_", 275, 0, 12, 18, -1, $GUI_WS_EX_PARENTDRAG) GUICtrlSetColor(-1,0xff0000) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUISetState(@SW_SHOW) while 1 Switch GUIGetMsg() case 0 Case $GUI_EVENT_CLOSE Exit Case $min GUISetState (@SW_MINIMIZE) Case $PIC MSGBOX(0, "You Clicked The PiC", "CLICK ON PICK :D") Case $Close Exit EndSwitch WEnd
  3. the 2 labels are still not transperant and as u see i'v added the code so they can become transperant ;(
  4. Ulten when i use your code everything works but .... the X and _ labels are not set to bkcolor transperant what can cause this ?
  5. tomb616 your example isn't working ....gives error
  6. but then i whount be able to move the gui ((((
  7. you mean something like this ? #include <GUiconstantsex.au3> #include <GUiconstantsex.au3> #include <Windowsconstants.au3> $GUI = GUICreate("Win Get Title", 301, 300, -1, -1, BitOR($WS_POPUP, $WS_BORDER)) $PIC = GUICtrlCreatePic("Header.jpg", 0, 0, 301, 20, -1, $GUI_WS_EX_PARENTDRAG) $Close = GUICtrlCreateLabel("X", 288, 2, 12, 18, -1,$GUI_WS_EX_PARENTDRAG) GUICtrlSetColor(-1,0xff0000) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) $min = GUICtrlCreateLabel("_", 275, 0, 12, 18, -1, $GUI_WS_EX_PARENTDRAG) GUICtrlSetColor(-1,0xff0000) GUICtrlSetBkColor(-1, $GUI_BKCOLOR_TRANSPARENT) GUISetState(@SW_SHOW) while 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $min GUISetState (@SW_MINIMIZE) Case $Close Exit EndSwitch WEnd but kinda with a label and it dousnt respond in the start i got an idea how to do it but now i totaly messed it up
  8. don't know what u just tryed to explain but ...
  9. mmm i will think about it
  10. well i can make the whole label transparent but how to make it transparent just at those positions
  11. hmm the gui's pic changed but none of the buttons work
  12. if u don't know how or don't have anything good or useful to say don't post at all........
  13. ok stop with this senceless stuff .... any ideas anyone ?
  14. lol ? ok i get that as insult from u ....
×
×
  • Create New...