CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Swiss Frank

Search: Search took 0.09 seconds.

  1. Re: Subclassing CRichEditCtrl VS2008 Windows 7

    Thanks Igor I see the hyperlinks now and am reading the article.

    I also understand your point about object class. I didn't realize I was getting a pointer to a CWnd, I thought it was a CWnd...
  2. Re: Subclassing CRichEditCtrl VS2008 Windows 7

    Thanks Igor but what do you mean that I am superclassing? I've been doing OO for 25 years and to me this is subclassing. Maybe there's a new term, or new usage, or rarer usage I'm not familiar...
  3. Re: CRichEditCtrl VC2008 Win7: differentiating user edits and SetSelectionCharFormat(

    Thanks again for your help Victor.

    By the way, the main reason I'm doing this subclassing is a pretty simple one: when I get the EN_CHANGE message from the RichText, I can't tell whether it was...
  4. Re: CRichEditCtrl VC2008 Win7: differentiating user edits and SetSelectionCharFormat(

    > But why do you select a Custom Control with the following registering a "new" class for richedit rather than select the rechedit control?

    I don't understand your question. For the last several...
  5. Re: Subclassing CRichEditCtrl VS2008 Windows 7

    Thanks Victor.

    I've never used Spy++. Looks powerful. It reports the rich texts in my app are called RichEdit20A, and indeed GetClassInfo() is able to find that.

    A follow-on question: I...
  6. Re: CRichEditCtrl VC2008 Win7: differentiating user edits and SetSelectionCharFormat(

    Hello again Victor,

    > Derive a new class from CRichEditCtrl, override methods you need to, and then use this new class instead of CRichEditCtrl

    One extra question. I've used VS2008's dialog...
  7. Re: CRichEditCtrl VC2008 Win7: differentiating user edits and SetSelectionCharFormat(

    Hi Victor,

    You're in Wallisellen? I don't know NE Zurich well but lived in worked on the south shore of Zuerisee for six years...

    Yes, I'm using MFC CRichEditCtrl. As you may have seen in a...
  8. CRichEditCtrl VC2008 Win7: differentiating user edits and SetSelectionCharFormat()?

    QUESTION: How can the EN_CHANGE message handler for a CRichEditCtrl differentiate between a user change (eg, typing, cutting and pasting, etc.) and a programmatic change?

    Alternatively, how can...
  9. Subclassing CRichEditCtrl VS2008 Windows 7

    QUESTION: What is the class name of CRichEditCtrl? More generally, how can I figure this out myself eg with the debugger or documentation?

    --------------

    I've successfully made 3-4 fairly...
  10. Re: Shaped Icons on a CTabCtrl... nearly impossible...

    I agree (and at this point, know, thanks to your previous notes) everything up to this point:



    the 3D mapping simply does additional color remapping for the 3D button effects. It doesn't in any...
  11. Re: Shaped Icons on a CTabCtrl... nearly impossible...

    Thanks again OReubens.

    This code as presented works. If I remove the 3D flag OR if I create the CImageList with ILC_COLOR4 instead of ILC_COLOR8, it does NOT work. In both cases of course I'm...
  12. Re: Shaped Icons on a CTabCtrl... nearly impossible...

    Thanks, I feel that I'm slowly learning something. The icons were 4-bit, 16-color ones made with the VC2008 resource editor. I MAY have also changed the pixel values for ssome of the pixels, not...
  13. Re: Shaped Icons on a CTabCtrl... nearly impossible...

    Hi OReubens,

    Thank you so much for your time and expertise.

    My question was perhaps not quite clear.

    Yes, I understand there's no actual transparency; the icon continues to be a square, with...
  14. Shaped Icons on a CTabCtrl... nearly impossible...

    I have a dialog window with a CTabCtrl. The following code is successful in showing an icon along with the text name on each of 16 tabs. The icons are 16x16 pixel squares, 4-bit, that I made with...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured