Thread: How to modify permanently size and position of CForm dialogs ?

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    37

    Unhappy How to modify permanently size and position of CForm dialogs ?

    Hi all!

    My project consists of a CForm main dialog and other CForm dialogs I've inserted. Their size and position are not what I need. I can obviously modify the sizes and positions on the screen but I want the dialogs to keep their respective size and position each time I run the project.
    What code should I modify and/or implement ?

    I'll appreciate very much detailed replies.

    Thanks a lot.

    Best regards.

    Frandy

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    Save the state and position each timne it closes, and set the position to the saved values each time it reopens.
    Save the position to a file, or to the registry.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to combine these working parts??
    By transgalactic2 in forum C Programming
    Replies: 0
    Last Post: 02-01-2009, 08:19 AM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  3. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  4. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM