Jump to content

Recommended Posts

Posted (edited)

Hi!

It is possible to add the hWnd param to the _ChooseColor() function? i mean that i will be able to set this param (say, at the end of function) and the window of color choosing will be “attached” to the window that WinGetHandle taken from.

What do i need to change in the original function (UDF)? i have tryed, but in Dll cals i am no good at all :whistle:

Thanx.

Edited by MsCreatoR

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

Posted

Not sure what your really asking for. WinActive -> Choosecolor() Wild guess there. If you could explain some more that would be great. More then happy to help.

[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

  • Moderators
Posted (edited)

Edit:

Don't know if this works...

But you could change:

Func _ChooseColor($i_ReturnType = 0, $i_colorref = 0, $i_refType = 0)oÝ÷ Ø   Ýjëh×6DllStructSetData($p, 2, 0)

And see if that works.

Note... it would have to be a hwnd and not a title.

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

It was so fast and so simple :whistle: , thank you wery mutch! it's work great! perfect!

You don't have an idia how happy i am now! :):lol:

P.S

I think this option must be in the future releases, this will be wery usefull, and not just for me.

Thank you again!

 

  Reveal hidden contents

 

 

AutoIt is simple, subtle, elegant. © AutoIt Team

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
  • Recently Browsing   0 members

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