【GUI】wxWidgets(旧wxWindows) その2【サイザー】 at TECH
[2ch|▼Menu]
104:デフォルトの名無しさん
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

4662日前に更新/209 KB
担当:undef