Thread: Problems

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    2

    Question Problems

    I am creating a text editor like wordpad, but I can't figure out how to get the textbox to be over the entire screen but the file menu. Please Help Me.

  2. #2
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Code:
    Form1->BorderStyle=bsNone;
    Form1->WindowState=wsMaximized;
    Sent from my iPadŽ

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    2
    OK but how do you give it a variable name so the user can save it?

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    When they close the program, create a flag that checks to see if the window is maximized. If it is, you can save that information to an INI file and read from it every time the program is open.

    I don't know a better way.
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 02:59 AM
  2. String Manipulation problems -_-
    By Astra in forum C Programming
    Replies: 5
    Last Post: 12-13-2006, 05:48 PM
  3. Rendering problems (DirectX?)
    By OnionKnight in forum Tech Board
    Replies: 0
    Last Post: 08-17-2006, 12:17 PM
  4. contest problems on my site
    By DavidP in forum Contests Board
    Replies: 4
    Last Post: 01-10-2004, 09:19 PM
  5. DJGPP problems
    By stormswift in forum C Programming
    Replies: 2
    Last Post: 02-26-2002, 04:35 PM