Results 1 to 4 of 4

Thread: Form and EditBox [Resolved]

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Form and EditBox [Resolved]

    I have two questions, one regarding my form and another regarding the editbox on it.

    1) How can I set my form to be not resizable? The VB equivilent of "Fixed Single" border style?

    2) I have an editbox, how do I get it's text for use in my code? Ie, press a button, a messagebox contains the text of my editbox.

    Thanks!
    Last edited by The Hobo; Feb 14th, 2002 at 03:57 PM.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    okay, I got #2, can anybody help me with the 1st question?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Addicted Member
    Join Date
    May 2001
    Location
    Québec, Canada
    Posts
    131
    Hello,
    When you created your window (using CreateWindow or CreateWindowEx function), you probably put the WS_OVERLAPPEDWINDOW style. Just have to replace this by other styles, look in MSDN for more information. If you want the same thing of overlappedwindow without sizing, here the styles you will have to put. WS_OVERLAPPED|WS_CAPTION|WS_SYSMENU|WS_MINIMIZEBOX|WS_MAXIMIZEBOX .

    Hope that helped you
    Khavoerm Irithyl

  4. #4

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Thanks, Khavoerm
    My evil laugh has a squeak in it.

    kristopherwilson.com

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