Win32 Newbie
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
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.
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
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement