CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2001
    Location
    CA , USA
    Posts
    83

    Unhappy Show/Hide dialog bar and update menu

    Hi

    I have a dialog bar on which many dialog boxes reside. And there is a menu which shows/hides the dialog bar. Now i have a problem. i.e when the user drags the dialog bar from its docked position and kills it, i want the menu to be unchecked. Like any standard vc++ application view->toolbar and view->statusbar menu item. But i see that WM_CLOSE or WM_SHOWWINDOW messsages are not getting generated when user drags that window out and kills it. How can i fix this problem?
    What exactly happens when user drags that window out and kills it??Any help is greately appreciated.

    Thanks
    Shashi

  2. #2
    Join Date
    Jan 2002
    Posts
    298
    what is a dialog bar.You mean tool bar.
    sorry for that.
    Gupta.

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