sorry for the long delay. I completely missed this message

> I've partly succeded in porting the WM_PAINT method in C.
> The drawing of gradient and text is working fine but the drawing of the
> bitmap is not
> working at all. Even if the counterpart in xHarbour works perfectly.
The problem is the call to XA_ObjSend???(). Those functions do not return
any value, but due a stupid typo, there is no warning or error when
compiling. Now I've just fixed it.
When calling any of the XA_ObjSend???() functions, its possible return value
have to be reached using hb_par??( -1 ). I.e:
XA_ObjSendNL( oImgLst, "GetBitmap", 1 );
hBmp = (HBITMAP) hb_parnl( -1 );
Attached is the fixed source file.
> Is it right to call a method like TImageList:GetImageCount() in this way ?
> iCount = XA_ObjSendNL( oImgLst, "GetImageCount", 0 );
iCount = XA_ObjGetNL( oImgLst, "GetImageCount" );
> Also I've tried to modify the colors in the TComboColorBox but nothing
> changes.
> In the FormInitialize method I use this code
>
> ::oCmbFirst:aColors := ndColors() // ndColors returns an array of color
> values.
>
> What am i doing wrong ?
There was a bug in the control. Now it's fixed, thanks. Here you are the
fixed module.
--
Regards,
Jose F. Gimenez
Attached files ColorCombobox.zip (2.6 KB)Â xAPIControls.zip (1.4 KB)Â