Просмотр исходного кода

Overrided the base methods ToolBar::show() and ToolBar::hide() in ViewerToolBar class.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@416 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v0.0.90
george82 18 лет назад
Родитель
Сommit
2a54ed6060
2 измененных файлов: 13 добавлений и 0 удалений
  1. 10
    0
      vncviewer/ViewerToolBar.cxx
  2. 3
    0
      vncviewer/ViewerToolBar.h

+ 10
- 0
vncviewer/ViewerToolBar.cxx Просмотреть файл

// Resize the toolbar window // Resize the toolbar window
autoSize(); 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);
}

+ 3
- 0
vncviewer/ViewerToolBar.h Просмотреть файл

~ViewerToolBar() {} ~ViewerToolBar() {}


void create(HWND parentHwnd); void create(HWND parentHwnd);

void show();
void hide();
}; };

Загрузка…
Отмена
Сохранить