CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2008
    Posts
    7

    Angry Paint & drawreversibleframe

    Hi,
    i'm submitting a problem with the drawreversibleframe.
    I got a user control wich uses the controlpaint.drawreversibleframe to draw selection rectangle whith mouse action.
    Everything OK as the control doesn't repaint.
    I got a timer that invalidate regularly the control and the frame are erased.
    I tried to include the control in another and to catch selection in the parent. The result is the same, each painting erase my frame.

    Any solution?
    Last edited by rincevent72; February 29th, 2008 at 06:39 AM. Reason: help

  2. #2
    Join Date
    Feb 2008
    Posts
    79

    Re: Paint & drawreversibleframe

    try to override the drawbackground and cancel the event...
    Cheers,
    Jon

  3. #3
    Join Date
    Feb 2008
    Posts
    7

    Re: Paint & drawreversibleframe

    Thanks for reply,

    I was thinking about canceling the event during selection time.
    I'm going to try this way...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured