pszText = info.dwTypeData;
TCHAR buffer = new TCHAR(0, info.cch / TCHAR.sizeof);
OS.MoveMemory(buffer, pszText, info.cch);
if (pszText != 0)
OS.HeapFree(hHeap, 0, pszText);
return buffer.toString(0, buffer.strlen());
}
private void initSysMenuPopup(int style, int clsStyle) {
boolean gray = (style & Win32.WS_THICKFRAME) == 0
|| (style & (Win32.WS_MAXIMIZE | Win32.WS_MINIMIZE)) != 0;