Jump to content
Sign in to follow this  
buzz44

ChooseColourDialog dll call doesnt work

Recommended Posts

when i run ..

$Adv_Colour = DllCall ("AU3Xtra.dll", "int", "ChooseColorDialog", "hwnd", 0)
If Not @error Then
    $Adv_Colour_Red = Hex ($Adv_Colour[0], 2)
    $Adv_Colour_Green = Hex ($Adv_Colour[1], 2)
    $Adv_Colour_Blue = Hex ($Adv_Colour[2], 2)
    GUICtrlSetData($Input_Hex,"0x" & $Adv_Colour_Red & $Adv_Colour_Green &   $Adv_Colour_Blue)
EndIf

in a seperate script .. by itself it works .. but when i add it to this script as a function when i click a button it doesnt work ..

i have attached my bigger script with the ChooseColour function in it .. (its at the bottom of script)

Edited by burrup

qq

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...