CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007
    Posts
    52

    Exclamation Hide or prevent the use of the popup menu on the title bar

    Hi guys, does someone know how to hide or prevent the use of the popup menu that come up when the user click a dialog title icon?

    I am searching for a way to do that, for better understanding my problem I made a screenshot, here's the menu I am trying to hide/disable:

    http://img104.imageshack.us/img104/7152/menuho4.jpg

    Please someone can help me?

  2. #2
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: Hide or prevent the use of the popup menu on the title bar

    You have to change the dialog styles. I get confused with all those, but I am guessing you have to remove the WS_CAPTION and the WS_SYSMENU styles. Btu anyway, that's the hint

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