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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Win32 Application

Win32 Application

Scheduled Pinned Locked Moved C / C++ / MFC
questiongame-devalgorithmsjsontutorial
2 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.
  • D Offline
    D Offline
    Dev578
    wrote on last edited by
    #1

    I am using the Win32 API to create an application to assist in making a custom .font file format for a game I am making. It is a SDI application. Although my question may seem simple, I was unable to find anyway of doing it, or maybe searching for the wrong thing, I don't know. Anyway, I want to be able to programatically change the size of the window, at run time. I have a title bar, menu, and borders, and I don't want to have them included when resizing. By that I mean, for example, I wanted to resize the window to 500 pixels by 500 pixels, the white space in between (not including) the menu and borders would be 500 pixels by 500 pixels. Also, I want to disable the user from resizing the application. Anyone have any ideas? Thank you -Dev578

    J 1 Reply Last reply
    0
    • D Dev578

      I am using the Win32 API to create an application to assist in making a custom .font file format for a game I am making. It is a SDI application. Although my question may seem simple, I was unable to find anyway of doing it, or maybe searching for the wrong thing, I don't know. Anyway, I want to be able to programatically change the size of the window, at run time. I have a title bar, menu, and borders, and I don't want to have them included when resizing. By that I mean, for example, I wanted to resize the window to 500 pixels by 500 pixels, the white space in between (not including) the menu and borders would be 500 pixels by 500 pixels. Also, I want to disable the user from resizing the application. Anyone have any ideas? Thank you -Dev578

      J Offline
      J Offline
      Johann Gerell
      wrote on last edited by
      #2

      Perhaps AdjustWindowRect[Ex]? -- The Blog: Bits and Pieces

      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