git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@416 3789f03b-4d11-0410-bbf8-ca57d06f2519tags/v0.0.90
@@ -48,3 +48,13 @@ void ViewerToolBar::create(HWND parentHwnd) { | |||
// Resize the toolbar window | |||
autoSize(); | |||
} | |||
void ViewerToolBar::show() { | |||
ShowWindow(getHandle(), SW_SHOW); | |||
SendMessage(parentHwnd, WM_SIZE, 0, 0); | |||
} | |||
void ViewerToolBar::hide() { | |||
ShowWindow(getHandle(), SW_HIDE); | |||
SendMessage(parentHwnd, WM_SIZE, 0, 0); | |||
} |
@@ -30,4 +30,7 @@ public: | |||
~ViewerToolBar() {} | |||
void create(HWND parentHwnd); | |||
void show(); | |||
void hide(); | |||
}; |