Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/04/2022 in all areas

  1. Here's a document management software. It's like having indexDocument Management System.zip cards for company documents.
    1 point
  2. Hi everyone, Some good news for you among all the gloom of these virus-ridden times: Nine, Subz and Danyfirex have accepted the invitation to become MVPs. Please join me in congratulating them on their new status in our community. Keep safe out there, M23
    1 point
  3. Yashied

    Disable Close button

    OP mean the button in the upper right corner of the window. #Include <GUIMenu.au3> $hForm = GUICreate('MyGUI') $hMenu = _GUICtrlMenu_GetSystemMenu($hForm) _GUICtrlMenu_EnableMenuItem($hMenu, $SC_CLOSE, $MF_GRAYED, False) GUISetState() Do Until GUIGetMsg() = -3
    1 point
  4. Maybe.. #include-once #include <Color.au3> #include <GUIConstants.au3> $gui = GUICreate("Gradient") $Back_Color = XSkinGradient($gui, 0x8080ff , 0x80800f); $btn_color, $bkg_color) GUISetState() While 1 $msg = GUIGetMsg() If $msg = -3 Then Exit Wend Func XSkinGradient($nXSkinGUI, $nStartColor, $nEndColor) Local $nSize = WinGetClientSize($nXSkinGUI) Local $nX=0, $nY=0, $nWidth=$nSize[0], $nHeight=$nSize[1] Local $color1R = _ColorGetRed($nStartColor) Local $color1G = _ColorGetGreen($nStartColor) Local $color1B = _ColorGetBlue($nStartColor) Local $nStepR = (_ColorGetRed($nEndColor) - $color1R) / $nHeight Local $nStepG = (_ColorGetGreen($nEndColor) - $color1G) / $nHeight Local $nStepB = (_ColorGetBlue($nEndColor) - $color1B) / $nHeight $nGraph = GuiCtrlCreateGraphic($nX, $nY, $nWidth, $nHeight) For $i = 0 To $nHeight - $nY $sColor = "0x" & StringFormat("%02X%02X%02X", $color1R+$nStepR*$i, $color1G+$nStepG*$i, $color1B+$nStepB*$i) GUICtrlSetGraphic(-1, $GUI_GR_COLOR, $sColor, 0xffffff) GUICtrlSetGraphic(-1, $GUI_GR_MOVE, 0, $i) GUICtrlSetGraphic(-1, $GUI_GR_LINE, $nWidth, $i) Next GUICtrlSetState( $nGraph, $GUI_DISABLE) Return $nGraph EndFunc 8)
    1 point
×
×
  • Create New...