Jump to content

GraaF1337

Active Members
  • Posts

    104
  • Joined

  • Last visited

GraaF1337's Achievements

Adventurer

Adventurer (3/7)

1

Reputation

  1. How does this help me in anyway? I want to center the text inside the list? o.O
  2. I'm seem to be unable to center the text in a "GUICtrlCreateList"? Tried "$SS_CENTER" that didn't work?
  3. Thank you, this helped me with the Processes suspending How i just need to know how to Monitor my CPU and use it in a GUI >.<
  4. I know how to close, kill processes and such. I need to know how to suspend it, so i can resume it later on ^^
  5. CPU Useage: I've been searching and it seems all the threads i've been able to find are from 06 to 08 ^^ And none of them fully did what I'm looking for ^^ I'm looking for a way to monitor all processes and see how much CPU they use. So i could create a small GUI which shows the top10 processes which uses the most CPU and have it on my secound monitor. (I know you can download programs that do something like that, but i enjoy to design and such my self) Suspend process: Also anyway to suspend a process? Again i searched but all threads are from 06-08 ^^
  6. I want to do something like, draw a graphic, then if i press "+" or "-" it will either make the graphic bigger or small once i click the "update" button. I tried this but it dont work.. #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <StaticConstants.au3> #NoTrayIcon $Form1 = GUICreate("Change Drawing", 617, 440, 192, 124) GUISetState(@SW_SHOW) $size = 100 $drawinggui = GUICtrlCreateGraphic(75, 75, $size, $size) GUICtrlSetColor($drawinggui, 0xFF0000) $update = GUICtrlCreateButton("Update", 100, 20) $plus = GUICtrlCreateButton("+", 143, 20, 15) $min = GUICtrlCreateButton("-", 85, 20, 15) $show2 = GUICtrlCreateLabel($size, 112, 50) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $update GUICtrlSetData($drawinggui, $size) Case $plus $size +=10 GUICtrlSetData($show2, $size) Case $min $size -=10 GUICtrlSetData($show2, $size) EndSwitch WEnd
  7. It wont help him play or have anything to do with the game it self, all he wants to do is have a script which sell/buy items on marketplace
  8. Just tried to use "GuiCtrlSetData" to resize the graphic, that doesn't seem to work.. #include <GUIConstantsEx.au3> #include <MsgBoxConstants.au3> #include <StaticConstants.au3> #NoTrayIcon $Form1 = GUICreate("Change Drawing", 617, 440, 192, 124) GUISetState(@SW_SHOW) $size = 100 $drawinggui = GUICtrlCreateGraphic(75, 75, $size, $size) GUICtrlSetColor($drawinggui, 0xFF0000) $update = GUICtrlCreateButton("Update", 100, 20) $plus = GUICtrlCreateButton("+", 143, 20, 15) $min = GUICtrlCreateButton("-", 85, 20, 15) $show2 = GUICtrlCreateLabel($size, 112, 50) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $update GUICtrlSetData($drawinggui, $size) Case $plus $size +=10 GUICtrlSetData($show2, $size) Case $min $size -=10 GUICtrlSetData($show2, $size) EndSwitch WEnd
  9. I'm unable to resize the graphic? Understand me right, i want to make the graphic bigger after it have been drawn?
  10. Wow! I've been so stupid! Totally forgot the GUICtrlSetPos Command! >.< Replacing my "GUICtrlSetGraphic" with this: GUICtrlSetPos($drawinggui,100 + $side, 100 + $up) Did the job! Still need to resize it tho!
×
×
  • Create New...