Window Handle

Started by
2 comments, last by necreia 20 years, 5 months ago
Hello, currently working on a level editor, and I have 4 views. Is there any code I can put in (much like the DirectX 9 command 'GetWindowHandle( &hwnd )') in MFC? I have MFC breaking into 4 views, and I want to retrieve the window handle of 1 of the panes, any commands I can use (without DX9) to retreive that or is it already stored on a resource list? Thanks! Edit: Btw I have looked over the net and the MSDN library I just can't seem to find this answer, that's where I learned of the DX 9 command. [edited by - necreia on November 16, 2003 3:04:28 PM]
Advertisement
Doesn''t CWnd::GetSafeHwnd do that?
On every view you can call GetSafeHwnd(), you ought to have the handles to the four views already.

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

Yes it does... I had the worlds biggest brainfart.

Thank you though!

This topic is closed to new replies.

Advertisement