Esempio n. 1
0
BOOL SaveWindowState(HWND hWnd, const char *pszName)
{
	RECT rc;

	GetWindowRect(hWnd, &rc);
	MapWindowPoints(NULL, mainwindow, (POINT *)&rc, 2);
	return SaveWindowInfo(pszName, &rc, sizeof(rc));
}
Esempio n. 2
0
MainFrame::~MainFrame (void)
{
	SaveWindowInfo();

	gtk_widget_hide(GTK_WIDGET(m_window));

	Shutdown();

	gtk_widget_destroy(GTK_WIDGET(m_window));
}