#include <IRhRdkSectionHolder.h>
◆ ~IRhinoUiWindow()
  
  | 
        
          | virtual IRhinoUiWindow::~IRhinoUiWindow | ( |  | ) |  |  | inlineprotectedvirtual | 
 
 
◆ Caption()
  
  | 
        
          | virtual ON_wString IRhinoUiWindow::Caption | ( | bool | bAlwaysEnglish = false | ) | const |  | pure virtual | 
 
Implement this method to return the text caption that should be displayed in the window. 
- Parameters
- 
  
    | bAlwaysEnglish | controls localization. If true the method must return the English caption. Otherwise, it must return the localized caption. If no caption is required, the method should return an empty string. |  
 
 
 
◆ Delete()
  
  | 
        
          | virtual void IRhinoUiWindow::Delete | ( | void |  | ) |  |  | pure virtual | 
 
Destroys the underlying window and deletes the object. 
 
 
◆ Enable()
  
  | 
        
          | virtual void IRhinoUiWindow::Enable | ( | bool | bEnable | ) |  |  | pure virtual | 
 
Enables or disables the window. 
- Parameters
- 
  
    | bEnable | is true to enable the window or false to disable it. |  
 
 
 
◆ EVF()
  
  | 
        
          | virtual void* IRhinoUiWindow::EVF | ( | const wchar_t * | wszFunc, |  
          |  |  | void * | pvData |  
          |  | ) |  |  |  | pure virtual | 
 
Emergency virtual function for future expansion. 
 
 
◆ GetScreenCoords()
  
  | 
        
          | virtual void IRhinoUiWindow::GetScreenCoords | ( | ON_4iRect & | rectOut | ) | const |  | pure virtual | 
 
Get the screen coordinates of the underlying window. 
- Parameters
- 
  
    | rectOut | accepts the coordinates. |  
 
 
 
◆ GetWindow()
  
  | 
        
          | virtual HWND IRhinoUiWindow::GetWindow | ( | void |  | ) |  |  | pure virtual | 
 
 
◆ IsCreated()
  
  | 
        
          | virtual bool IRhinoUiWindow::IsCreated | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- true if the underlying window has been created, else false. 
 
 
◆ IsEnabled()
  
  | 
        
          | virtual bool IRhinoUiWindow::IsEnabled | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- true if the window is enabled, else false. 
 
 
◆ IsShown()
  
  | 
        
          | virtual bool IRhinoUiWindow::IsShown | ( | void |  | ) | const |  | pure virtual | 
 
- Returns
- true if the window is being shown, else false. 
 
 
◆ Move()
  
  | 
        
          | virtual void IRhinoUiWindow::Move | ( | const ON_4iRect & | rect, |  
          |  |  | bool | bRepaint = false, |  
          |  |  | bool | bRepaintBorder = false |  
          |  | ) |  |  |  | pure virtual | 
 
Moves the underlying window. 
- Parameters
- 
  
    | rect | is the rectangle to move to within the parent. |  
 
 
 
◆ Parent()
  
  | 
        
          | virtual HWND IRhinoUiWindow::Parent | ( | void |  | ) | const |  | pure virtual | 
 
Get the parent (host) window. This will return null unless a parent has been set in SetParent(). 
 
 
◆ Refresh()
  
  | 
        
          | virtual void IRhinoUiWindow::Refresh | ( | bool | bImmediate = false | ) |  |  | pure virtual | 
 
Refreshes the window by repainting it. 
- Parameters
- 
  
    | bImmediate | is true if the window should be repainted immediately, else false. |  
 
- Note
- On Microsoft Windows, Refresh(true) is equivalent to RedrawWindow() and Refresh(false) is equivalent to Invalidate(). 
 
 
◆ SetFocus()
  
  | 
        
          | virtual void IRhinoUiWindow::SetFocus | ( | void |  | ) |  |  | pure virtual | 
 
Sets the keyboard focus to the window. 
 
 
◆ SetParent()
  
  | 
        
          | virtual void IRhinoUiWindow::SetParent | ( | HWND | parent | ) |  |  | pure virtual | 
 
Set the parent (host) window. 
- Parameters
- 
  
    | parent | is the parent to host the window on. |  
 
- Note
- When the object uses a controller, the controller must be set before calling SetParent() otherwise creation of the underlying control may fail. 
 
 
◆ Show()
  
  | 
        
          | virtual void IRhinoUiWindow::Show | ( | bool | bShow | ) |  |  | pure virtual | 
 
Shows or hides the window. 
- Parameters
- 
  
    | bShow | is true to show the window or false to hide it. |