18 Jun 21:19
Reserving screen space on main frame
Hello. I am writing a WTL application and for whatever maddening reasons I have decided to not use the
existing menu/toolbar structure and have my own navigation and toolbar in place instead. I understand
how to not have items on the main window, by monkeying with OnCreate in MainFrm.h, but, what I would like to
do is have my u/i in MainFrm reserve some space for its my custom widget, which it would draw, but then still
have the view move correspondingly.
I suppose I could brute force it by handling WM_SIZE, etc, but I notice that the existing frame seems to
always have the view the right size, taking into consideration the other decorations. What do I need to do
to have my widget play with MainFrame in the right way. What I'd really like to do, ultimately, is have
mymainframe and menu be a single class so I can reuse the navigation for other projects and have a ready to go frame.
------------------------------------
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:
mailto:wtl-digest@...
mailto:wtl-fullfeatured@...
<*> To unsubscribe from this group, send an email to:
wtl-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
RSS Feed