Re: Re: can not create a button inside a child view of a frame

"Jim Barry" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <47D7EDBCDD144E75A9FF65ACC990EA1A@TTX>
domehead100 wrote:
> What if you add a BS_PUSHBUTTON style to the dwStyle parameter?

BS_PUSHBUTTON is actually defined as zero. The problem is with the UpdateLayout override - it doesn't take the toolbars/statusbar into account, so the view will be sized to fill the entire client area of the frame window and the button will end up being underneath the toolbar.

-- 
Jim Barry, Microsoft MVP


------------------------------------

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:[email protected] 
    mailto:[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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.