![]() |
|
#1
|
|||
|
|||
Updating CEdit ViewsI have created an application using csplitterwnds. Now I would like the changes made to one of the splitterwnds (both ceditviews) to be recognised and propagated to the other view (i.e. if something is typed in one of the views I would also like to see it entered into the other view. I know how to change the views and use the UpdateAllViews(NULL) command to apply these changes. But the problem is recognising when a change is being made (i.e recognising when a character is entered into the editable pane) so I can call this function.
Thanks for any help received! |
|
#2
|
|||
|
|||
|
Or even better, is it possible to only show part of a document a window and hide other parts, but on saving the file the whole document is saved. (i.e. I am displaying a certain section of an XML document and use a tree display to view only a certain section. I want to be able to modify this section but when i hit save i want the changes to be saved to the whole document (including hidden parts), not just the displayed bit). Cheers
|
|
#3
|
|||
|
|||
Potential solutionTry using the OnChar() override to detect when a character is entered into one pane. You can then make the necessary calls to update the other. Unfortunately, I have found that OnChar() override does not work with all types of controls, so this may not work for you.
|
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CEdit line retrieval | aie0 | MS Visual C++ / MFC Forum | 4 | 30-Jan-2005 23:20 |
| Problem with the function creating updating a linked list | nkhambal | C Programming Language | 3 | 28-Oct-2004 20:45 |
| Dialog based application : updating | Frandy | MS Visual C++ / MFC Forum | 1 | 27-Sep-2004 07:48 |
| kernel compiling & Geforce updating | crystalattice | Computer Software Forum - Linux | 5 | 16-Jun-2004 07:38 |
| Mozilla Views and alternate CSS styles | JdS | Computer Software Forum - Linux | 0 | 06-Oct-2002 18:24 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The