Hi Teddy,
 
did you build Win32::GUI on your own or did you use the ppm-package?

If you don't have the possibility to build the module, you will have to
wait until an official patch is available. I've created an entry in the
bug tracker for this issue.

If you have a C-compiler readily to hand, then download the source-
distribution, go to Combobox.xs file and replace the code of SetEditSel
with the following lines:

------------------------------------------------------------------------

    ###################################################################
    # (@)METHOD:SetEditSel(START,END)
    # Select characters in the textfield.
LRESULT
SetEditSel(handle,start,end)
    HWND handle
    WPARAM start
    WPARAM end
PREINIT:
    LPARAM sel = end * 0x10000 + start;
CODE:
    RETVAL = SendMessage(handle, CB_SETEDITSEL, 0, sel);
OUTPUT:
    RETVAL

------------------------------------------------------------------------

Patch applied ;-)

Now you have to build the package. How to do so is described in the
Readme
file that you can find in the basedir of the downloaded distribution.

Bye, Uwe

>
> ----- Original Message -----
>
> Thank you very much for this code.
> I will try to test it, although I am not sure that I know how to apply
that
> patch.
>
> Teddy
>

Reply via email to