1. WIN32LIB Additions/Changes Please

Hello Derek,
Please add the following to "setWindowBackColor" so as to allow setting
colour for multiple items

Thanks
Tony Steward

--Begin cut
global procedure setWindowBackColor( object id, object rgbColor )

    -- set the background color of a window or control
    -- use rgb() to calculate a color
    
    atom lNewBrush, lOldBrush, dc, old

-- Begin ~Tony Steward~
    if sequence(id) then
        for i = 1 to length(id) do
            setWindowBackColor(id[i], rgbColor)
        end for
        return
    end if
-- End ~Tony Steward~

new topic     » topic index » view message » categorize

2. Re: WIN32LIB Additions/Changes Please

----- Original Message ----- 
From: "Tony Steward" <tsteward at dodo.com.au>
To: "EUforum" <EUforum at topica.com>
Subject: WIN32LIB Additions/Changes Please


> 
> 
> Hello Derek,
> Please add the following to "setWindowBackColor" so as to allow setting
> colour for multiple items
> 
> Thanks
> Tony Steward
> 
> --Begin cut
> global procedure setWindowBackColor( object id, object rgbColor )
> 
>     -- set the background color of a window or control
>     -- use rgb() to calculate a color
>     
>     atom lNewBrush, lOldBrush, dc, old
> 
> -- Begin ~Tony Steward~
>     if sequence(id) then
>         for i = 1 to length(id) do
>             setWindowBackColor(id[i], rgbColor)
>         end for
>         return
>     end if
> -- End ~Tony Steward~
> 

The current Win32lib already supports this.

-- 
Derek

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu