Re: How to draw in MDI?
"Jim Barry" <[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <D7BA0639F51B46F1BF819FE8BE28B1E3@jbarry> |
"yooyo3d" wrote:
> I have MDI application and I want to draw some image on main MDI window
> (MainFrm), like company logo and some text.
> Responding on WM_PAINT message didnt work. Any idea?
In your CMainFrame::OnCreate there should be something like:
CreateMDIClient();
m_CmdBar.SetMDIClient(m_hWndMDIClient);
At this point you can subclass the MDICLIENT window (m_hWndMDIClient) and
handle its WM_PAINT messages.
- Jim
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/