【GUI】wxWidgets(旧wxWindows) その2【サイザー】at TECH
【GUI】wxWidgets(旧wxWindows) その2【サイザー】 - 暇つぶし2ch104:デフォルトの名無しさん
04/11/07 18:06:54
Associating HWNDs with wxWindow instances
From a recent discussion on the comp.soft-sys.wxwindows newsgroup (searchable via [URLリンク(groups.google.com])),
here is an easy way to associate a Win32 HWND (hWnd) with a wxWindow instance:

wxWindow * win = new wxWindow();
win->SetHWND((WXHWND)hWnd);
win->AdoptAttributesFromHWND();
win->Reparent(wxGetApp().GetTopWindow());

動くかどうかしはしらん。


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch