From: David <ronoterile@ya...> - 2003-08-20 05:59:55
I'm trying to create a grid. I've done:
gr <-gridCreate f 0 (rect (point 10 10) (size 1000 1000)) 1
gridAppendCols gr 10 0
gridAppendRows gr 10 0
If I remove "gridAuroSize gr", the grid doesn't appear. Also, i can't see
any row or column.
And about cells, there is a function called "gridDrawCell", who needs an
object of type "DC".
What's that? And how can i do to create one?
Thanks, and sorry about my english :)
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> I'm trying to create a grid. I've done:
I am not an expert on using wxWindows and have never
tried a "grid" so I can't really help you here. I have
seen a "grid overview" in the wxWindows docs though -- maybe
that helps. (have you tried "enableGridLines" ?)
> And about cells, there is a function called "gridDrawCell",
> who needs an object of type "DC".
> What's that? And how can i do to create one?
Read the wxWindows documentation about different objects.
(In this case: a DC is a "device context" and is used to
draw things on. You can get a DC for a window, screen or
printer for example. About "gridDrawCell" -- it seems a
rather strange function to me to get a DC within a
control, couldn't find any documentation about it either ...)
Hope this helps a little bit,
> Thanks, and sorry about my english :)
> Using M2, Opera's revolutionary e-mail client:
> This SF.net email is sponsored by Dice.com.
> Did you know that Dice has over 25,000 tech jobs available today? From
> careers in IT to Engineering to Tech Sales, Dice has tech
> jobs from the
> best hiring companies. http://www.dice.com/index.epl?rel_code=104
> wxhaskell-users mailing list
Get latest updates about Open Source Projects, Conferences and News.