タイトルバー
void TitleBarSw(HWND hWnd)
{
int style = GetWindowLong(hWnd, GWL_STYLE);
static BOOL f = ( style == (style | WS_CAPTION) );
if(f)
{
style = (style & ~WS_CAPTION);
f =FALSE;
}
else
{
style = (style | WS_CAPTION);
f =TRUE;
}
SetWindowLong( hWnd, GWL_STYLE, style);
ShowWindow( hWnd, SW_HIDE);
ShowWindow( hWnd, SW_SHOW);
}