Hi, I'm new to nim and fairly new to c...
How can I make this work? It's supposed to take a pointer to a string for
lParam.
proc getCellText*(self: wZeeGrid, iCellIndex:int):LPWSTR {.validate,
inline.} =
## ZGM_GETCELLTEXT
## An application sends a ZGM_GETCELLTEXT message to get the display text
string of the specified cell.
##
## wParam = (WPARAM)(int) iCellIndex; //ZeeGrid cell index
## lParam = (LPARAM) lpszString; //pointer to string
##
## Parameters:
## iCellIndex
## The ZeeGrid cell index.
##
## lpszString
## The value of lParam. A pointer to a string.
##
## Return Values:
## This message does not return a value.
var lpszString : LPWSTR = ""
SendMessage(self.mHwnd, ZGM_GETCELLTEXT, iCellIndex, lpszString)
return lpszString
Run