![]() |
|
#1
|
|||
|
|||
Creating CEdit dynamicallyHi.
I try to create a dynamic CEdit control using the .Create() method, and it is created ok, BUT, I only manage to create the control with a black line border and not as nice as if I would create it from the tools-box then it would have a 3d look or some kind of depth...what style or what do I have to do in order to make it look as if I would create it from the tools-box ?? Thanks. |
|||
|
#2
|
|||
|
|||
Re: Creating CEdit dynamicallyshvalb,
The 3D border is an extended style, so you can either add the extended style to the Edit you created or use the Edit's CreateEx funtion. To get the edit to look like the edit from the tool box you also have to set the font of the window. Here is a small sample. CPP / C++ / C Code:
|
Recent GIDBlog
Problems with the Navy (Officers) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| need help with dynamically allocating 3d arrays | pl39xh | C Programming Language | 7 | 03-Jul-2005 11:13 |
| CCOmboBox: how to catch event dynamically | shvalb | MS Visual C++ / MFC Forum | 1 | 02-Jan-2005 14:30 |
| Help creating lists of pointers | The_Kingpin | C Programming Language | 0 | 11-Dec-2004 13:49 |
| Problem with the function creating updating a linked list | nkhambal | C Programming Language | 3 | 28-Oct-2004 20:45 |
| Creating dynamic links on a multi column | Dave Gale | MySQL / PHP Forum | 1 | 01-Oct-2004 18:37 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The