Advertisement

Win32 Newbie

Started by January 01, 2001 07:04 AM
4 comments, last by Cedrick 24 years ago
What properties do I give a window to make it editable(like Notepad). BONEKING I would change the world but god wont give me the source code
BONEKINGI would change the world but god wont give me the source code
None.
What you need to do is create an Edit control in the client area of your window. Just call CreateWindow and specify the string "Edit" the class name parameter. Check your docs for more info on possible window styles for the edit box.

Hope that helps
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Advertisement
Hi,

AFAIK you can''t just set a property and then the window is a editable one. Instead I think that you have to CreateWindow() an other window with classname "EDIT" in your window:


+---------------------------------------+ <-- your window
+---------------------------------------+
| +-----------------------------------+ |
| | | |
| | | |
| | |<-- edit subwindow
| +-----------------------------------+ |
+---------------------------------------+

Look for a better description in the SDK documentation plz.

Bye,
Michael
I have a few basic windows examples on my web page. You can also feal free to email me any questions you have.
Mike:
The title of your webpage doesn''t really instill confidence You really ought to change it to Useful Code. I did find it useful.
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Thanks for the help, I had been looking for that for awhile now.

P.S
Do you know any place that have projects for a Newbies like me.

BONEKING

I would change the world but god wont give me the source code
BONEKINGI would change the world but god wont give me the source code

This topic is closed to new replies.

Advertisement