WideStudio/MWT Logo
WideStudio/MWT
Programming Guide
WideStudio/MWT Index
Table of contents


부모 객체를 취득하기에는



부모 객체를 취득하기에는

부모 객체를 취득하기에는, 멤버 함수 getParent() 를 사용합니다.

void event_procedure(WSCbase* object){
  // 부모 객체를 취득
  WSCbase* parent = object->getParent();
  // 부모 객체에 접근(access)
  parent->setVisible(False);
}

object 가 배치되여있는 부모 객체를 취득해서, 표시 속성을 불가로 하는곳입니다.

부모 애플리케이션 윈도우를 취득하기에는

부모 애플리케이션 윈도우를 취득하기에는, 멤버 함수 getParentWindow() 를 사용합니다.

void event_procedure(WSCbase* object){
  //부모 애플리케이션 윈도우를 취득
  WSCbase* win = object->getParentWindow();
  //부모 애플리케이션 윈도우に 접근(access)
  win->setVisible(False);
}

object 가 배치되여있는 부모 애플리케이션 윈도우를 취득해서, 표시 속성을 불가로 하는곳입니다.

Document Release 3.90 for WideStudio/MWT ver 3.90, Jul 2005


WideStudio/MWT documents index | Table of contents

Copyright(C) WideStudio/MWT Development Team, 1999-2005 Last modified: Jul 31, 2005