>I have silly questions as follows:
>
>1. What is the range of a Window handle?
>2. When I create a handle, example: CreateSolidBrush(),the return value
>   can become negative or "out of range" (?) and Windows complains that
>   it is not a valid handle.
>
>The code:
>
>HB_FUNC( NEWBRUSH )
>{
>   hb_retnl( (LONG) CreateSolidBrush( (COLORRREF) hb_parnl(1) );
>   // return value can be a minus or an out-of-range (why?)
>}

Andi. Do you have any news about this?  If not, I´ll try to discover
anything because I had the same doubt here.

Regards,

Toninho.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to