CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Posts
    60

    display message at bottom of dialog box

    Hi,

    Is it possible to display a message at the bottom of a dialog box shown in the attachment? If so, how? Thank you very much for the help.
    Attached Images Attached Images  

  2. #2
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,635

    Re: display message at bottom of dialog box

    That looks like the status bar of a CFrameWnd, not a dialog.

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: display message at bottom of dialog box

    Quote Originally Posted by Gregorina View Post
    Hi,

    Is it possible to display a message at the bottom of a dialog box shown in the attachment? If so, how? Thank you very much for the help.
    GCDEF is right.
    However you could add statusbar also in a dialog:
    http://msdn.microsoft.com/en-us/libr...(v=vs.90).aspx
    Victor Nijegorodov

  4. #4
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: display message at bottom of dialog box

    Considering the presence of "Ready" I conclude this must be some kind of frame window, not a dialog.

    CFrameWnd::SetMessageText
    Best regards,
    Igor

  5. #5
    Join Date
    Jan 2012
    Location
    India
    Posts
    193

    Re: display message at bottom of dialog box

    Hi .. If you need to add a StatusBar control to dialog box , there is nice article/tutorial with sample code and step by step explanation on Code Project.

    Just search "Adding status bar control to MFC dialog box" .. Code is by Nish Siva Kumar and it works well.
    Last edited by new_2012; February 24th, 2014 at 01:55 AM.

  6. #6
    Join Date
    Jan 2012
    Location
    India
    Posts
    193

    Re: display message at bottom of dialog box

    To add status bar to Application Window step by step tutorial in MSDN help under Status Bar "Adding panes"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured