Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to remove the maximize button...

How to remove the maximize button...

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Maer727
    wrote on last edited by
    #1

    How to remove the maximize button, minimize button and the title bar of a window from a specified window? Thanks.

    Z 1 Reply Last reply
    0
    • M Maer727

      How to remove the maximize button, minimize button and the title bar of a window from a specified window? Thanks.

      Z Offline
      Z Offline
      Zoltan Csizmadia
      wrote on last edited by
      #2

      Remove WS_MINIMIZE, WS_CAPTION styles Zolee

      M 1 Reply Last reply
      0
      • Z Zoltan Csizmadia

        Remove WS_MINIMIZE, WS_CAPTION styles Zolee

        M Offline
        M Offline
        Maer727
        wrote on last edited by
        #3

        Thanks for your reply. But I still have a question. Here is my source codes in a dialog based program, but it does not work. void CTestStyleDlg::OnLButtonDown(UINT nFlags, CPoint point) { // TODO: Add your message handler code here and/or call default this->ModifyStyle(WS_MINIMIZE,0); CDialog::OnLButtonDown(nFlags, point); } I have already added the minimized button to the window before running the program. But nothing happens when clicking the left button of the mouse. How to resolve the trouble? Thanks again. Maer

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups