[ui] display version on title instead of status bar

* also improved look&feel & about text
This commit is contained in:
Pete Batard 2011-12-04 00:12:52 +00:00
parent 4f23d1fc8b
commit 5a001f40f4
3 changed files with 28 additions and 75 deletions

19
stdlg.c
View file

@ -338,25 +338,6 @@ void CreateBoldFont(HDC dc) {
hBoldFont = CreateFontIndirect(&lf);
}
/*
* Create the application status bar
*/
void CreateStatusBar(void)
{
RECT rect;
int edge[2];
// Create the status bar.
hStatus = CreateWindowEx(0, STATUSCLASSNAME, NULL, WS_CHILD | WS_VISIBLE,
0, 0, 0, 0, hMainDialog, (HMENU)IDC_STATUS, hMainInstance, NULL);
// Create 2 status areas
GetClientRect(hMainDialog, &rect);
edge[0] = rect.right - (int)(100.0f*fScale);
edge[1] = rect.right;
SendMessage(hStatus, SB_SETPARTS, (WPARAM) 2, (LPARAM)&edge);
}
/*
* Center a dialog with regards to the main application Window or the desktop
*/