I've hard-coded "3" because I like rounded corners.
But SelectFullRow() is virtual function, so you can completely override
the selection.

Just declare CMyGridBase, override there this function and derive all of
your grids from this class, i.e. CMyGridBase will include common
properties for all your grids.

______________________________________________

Best regards,
Maks Pyatkovskiy


> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:bounce-palm-dev-
> [EMAIL PROTECTED] On Behalf Of Brad Figler
> Sent: Tuesday, June 03, 2003 1:52 AM
> To: Palm Developer Forum
> Subject: POL CGrid class
> 
> Why does the CGrid class pass a hard coded value of 3 to the function
> g_SystemInfo.Glue_SelectRectangle() from the call
CGrid::SelectFullRow()?
> When using a selection mode of GM_FULLROWSELECT you get rounded edges
in
> the
> first column and on the last.  It makes the selection have a "button"
> shape
> to it and it leaves unselected pixels in the corners between the
border of
> the table and the selection.
> 
> Is there a reason this was done?  Is there a solution to the problem
other
> than changing POL source code?
> 
> Thanks,
> 
> Brad
> 
> 
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/support/forums/




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to