I'm translating the header file for Farpoint's new Spread 8 beta and there is a stucture (TYPE) that includes an item defined as a MSG type. This type is not referenced anywhere else in the header document, so it doesn't appear to be a custom defined type (unless, perhaps, it's something in the WIN32API?). Anyone know what the correct equivalent would be for PowerBASIC?
Here's what I'm looking at:
Here's what I'm looking at:
Code:
'typedef struct ss_ct_startediting_args '{ ' LPTSTR lpszName; // in: name of custom celltype ' HWND hWndSpread; // in: HWND of Spread control ' HWND hWndEditor; // in: HWND of editor control ' short Sheet; // in: index of sheet ' SS_CELLCOORD Cell; // in: coordinates for cell ' MSG msg; // in: MSG to forward to editor ' BOOL fSelectAll; // in: TRUE if editor should select all contents ' BOOL fAutoClipboard; // in: TRUE if editor should handle clipboard keys '} SS_CT_STARTEDITING_ARGS, FAR *LPSS_CT_STARTEDITING_ARGS; TYPE ss_ct_startediting_args lpszName AS ASCIIZ hWndSpread AS DWORD hWndEditor AS DWORD Sheet AS INTEGER Cell AS SS_CELLCOORD msg AS DWORD '***MSG????*** I guessed with DWORD... fSelectAll AS LONG fAutoClipboard AS LONG END TYPE
Comment