|
-
Feb 7th, 2002, 06:00 PM
#1
Thread Starter
Stuck in the 80s
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.
-
Feb 7th, 2002, 06:44 PM
#2
Thread Starter
Stuck in the 80s
okay, I got #2, can anybody help me with the 1st question?
-
Feb 8th, 2002, 12:07 AM
#3
Addicted Member
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
-
Feb 8th, 2002, 01:51 PM
#4
Thread Starter
Stuck in the 80s
Thanks, Khavoerm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|