【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.6.32.15 Window::GetSafeHwnd
Contents
Description
This function returns the window handle
Syntax
HWND GetSafeHwnd( )
Parameters
Return
Returns the window handle for a window.
Returns NULL if the Window class is not attached to a window.
Examples
EX1
int Window_GetSaftHwnd_ex1() { // make active window iconized WorksheetPage myDlg = Project.WorksheetPages(0); Window winDlg = myDlg.GetWindow(); MessageBox(winDlg.GetSafeHwnd(), "Hello", "Test", MB_OK); return 0; }
Remark
See Also
Header to Include
origin.h