Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Steve Roach

@Steve Roach
About
Posts
9
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RichEditCtrl - pasted text not visible initially!?
    S Steve Roach

    I still have a problem.. The processing behind the "Paste" button in my application is simply: m_pMyRichEditCtrl->Paste(); m_pMyRichEditCtrl->RedrawWindow(); which solves the text not visible problem from the button but it does not solve the same problem when I paste using Ctrl-V. Any idea what else I need to do? Thanks Steve ================== The original message was: I found that calling
    m_pMyRichEditCtrl->RedrawWindow();
    does the trick but why? What's going on? Are there others ways?

    Steve

    ==================
    The original message was:

    I have a RichEditCtrl that "initially" does not diplay text that is pasted into it (using my_RichEditCtrl->Paste() or by Shift-Insert,Ctrl- V). The text "is" displayed if you then obscure the window and cause a redraw.

    What do I have to do to get the text to be made visible after the paste? Is it something to do with the configuration of the RE Ctrl, e.g in the Create call, or something I must do after the paste?.

    Thank-you

    Steve

    C / C++ / MFC

  • RichEditCtrl - pasted text not visible initially!?
    S Steve Roach

    I found that calling m_pMyRichEditCtrl->RedrawWindow(); does the trick but why? What's going on? Are there others ways? Steve ================== The original message was: I have a RichEditCtrl that "initially" does not diplay text that is pasted into it (using my_RichEditCtrl->Paste() or by Shift-Insert,Ctrl- V). The text "is" displayed if you then obscure the window and cause a redraw.

    What do I have to do to get the text to be made visible after the paste? Is it something to do with the configuration of the RE Ctrl, e.g in the Create call, or something I must do after the paste?.

    Thank-you

    Steve

    C / C++ / MFC

  • RichEditCtrl - pasted text not visible initially!?
    S Steve Roach

    I have a RichEditCtrl that "initially" does not diplay text that is pasted into it (using my_RichEditCtrl->Paste() or by Shift-Insert,Ctrl- V). The text "is" displayed if you then obscure the window and cause a redraw. What do I have to do to get the text to be made visible after the paste? Is it something to do with the configuration of the RE Ctrl, e.g in the Create call, or something I must do after the paste?. Thank-you Steve

    C / C++ / MFC

  • RichEditCtrl - pasted text not visible initially!?
    S Steve Roach

    I have a RichEditCtrl that "initially" does not diplay text that is pasted into it (using my_RichEditCtrl->Paste() or by Shift-Insert,Ctrl- V). The text "is" displayed if you then obscure the window and cause a redraw. What do I have to do to get the text to be made visible after the paste? Is it something to do with the configuration of the RE Ctrl, e.g in the Create call, or something I must do after the paste?. Thank-you Steve

    Article Writing

  • RichEditCtrl - pasted text not visible initially!?
    S Steve Roach

    I have a RichEditCtrl that "initially" does not diplay text that is pasted into it (using my_RichEditCtrl->Paste() or by Shift-Insert,Ctrl- V). The text "is" displayed if you then obscure the window and cause a redraw. What do I have to do to get the text to be made visible after the paste? Is it something to do with the configuration of the RE Ctrl, e.g in the Create call, or something I must do after the paste?. Thank-you Steve

    Article Writing

  • How do you use a Rich Edit Control in a dialog?
    S Steve Roach

    I am using VC5. If you place a Rich Edit (RE) control in a dialog from the controls toolbar and bring up the class wizard the RE control ID is not listed in the list of member variables. Is this correct? How are you supposed to exchange data with the RE control? The object ID for the RE control does appear in the Message Maps tab of the class wizard. Do I write handlers (as required) for the 26 NM_ and EN_ messages listed? Do I manually add a CRichEditCtrl member variable to the dialog class? Thanks again for any help supplied Steve

    C / C++ / MFC

  • Rich Edit Ctrl in dialog?
    S Steve Roach

    I'm using VC++5. I find that when I use the resource editor to put a Rich Edit control in a dialog that is used either as part of a property sheet or as a dialog started from a menu option that the DoModal dialog callreturns -1 indicating that the box could not be created. (The same thing happens in VC++6). I searched the help and found no mention of any such limitation - it seems logical to be able to do it as the control is in the toolbar in the resource editor. I guess I must be doing something wrong. Any ideas? Steve

    C / C++ / MFC

  • Use of TreeView
    S Steve Roach

    I'm looking for an article that shows me how to use the tree control and or the tree view. I'm spending ages trying to wade through a variety of different MSDN/CodeGuru examples - they all seem so different or too complex - I'm looking for some general advice, a simple article, and of course some simple sample code that works under VC++5.

    Article Writing

  • Use of TreeView
    S Steve Roach

    I'm looking for an article that shows me how to use the tree control and or the tree view. I'm spending ages trying to wade through a variety of different MSDN/CodeGuru examples - they all seem so different or too complex - I'm looking for some general advice, a simple article, and of course some simple sample code that works under VC++5.

    Article Writing
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups