瀏覽代碼

Added new methods ViewerToolBar::show() and ViewerToolBar::hide().


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@372 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v0.0.90
george82 18 年之前
父節點
當前提交
92b0751fc3
共有 2 個文件被更改,包括 11 次插入0 次删除
  1. 8
    0
      vncviewer/ViewerToolBar.cxx
  2. 3
    0
      vncviewer/ViewerToolBar.h

+ 8
- 0
vncviewer/ViewerToolBar.cxx 查看文件

// Resize the toolbar window // Resize the toolbar window
autoSize(); autoSize();
} }

void ViewerToolBar::show() {
ShowWindow(getHandle(), SW_SHOW);
}

void ViewerToolBar::hide() {
ShowWindow(getHandle(), SW_HIDE);
}

+ 3
- 0
vncviewer/ViewerToolBar.h 查看文件



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


void show();
void hide();

LRESULT processWM_COMMAND(WPARAM wParam, LPARAM lParam); LRESULT processWM_COMMAND(WPARAM wParam, LPARAM lParam);
}; };

Loading…
取消
儲存