CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Edit box size

  1. #1
    Join Date
    Aug 1999
    Posts
    26

    Edit box size

    how can i change the size of edit box dynamicaly that is ScreenToClient like operarion so that the size will change as per the client settings


  2. #2
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    1,793

    Re: Edit box size

    i think you can do it like this:
    put this where you need to resize your edit box

    GetDlgItem(IDC_EDITBOX)->MoveWindow(x,y,x+,y+);

    it works...



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

Featured