MyLittleGrid: can you put something in top left cell?

Started by Wilko Verweij, December 17, 2009, 11:38:04 AM

Previous topic - Next topic

Wilko Verweij

Hi,
I have been playing a bit with MyLittleGrid. I noticed that several ways to put information in a cell do not work for the top left cell (0,0). I tried SendMessage with %MLG_REDIMARRAYEX and %MKGSETCELLR. Is there a way to put something in (0,0)?

All suggestions are welcome...

Wilko

Robert Eaton


Wilko Verweij

No, when I  put something in row 1 , column 0, it ends up in the first column, second row.
Thanks anyway.

Robert Eaton

#3
This code:
Function FORM1_WM_CREATE ( _
                         hWndForm As Dword, _      ' handle of Form
                         ByVal UserData As Long _  ' optional user defined Long value
                         ) As Long

Local S As Asciiz * 255
S = "TEST"
SendMessage HWND_FORM1_MLG1, %MLG_SETCELL, MakLng(1,1),VarPtr(S)

End Function


Does this for me:



Wilko Verweij

Sorry, apparently I wasn't clear enough. I want to put something in the cell above the 1 and to the left of the "A". See red area (see attachment). That would mean cell 0,0 and I can't make that work.
Wilko