Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Problems with redrawing

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Problems with redrawing
#6009
Posted by: 2005-03-26 00:48:18
Hi.

I'm working on an MDI application that creates diagrams, of course diagrams bigger than the window area.

I'm using also the model view controller model, so a MDI Child draws an associated diagram.

I'm not using scrolled window: For scrolling, in the "scroll" event i paint on a client device context and then i call the drawing function over this device context.

The problem is that the scroll doesn't update until i resize the window. What am i doing wrong? Maybe i'm oblied to use scrolled windows?

Thanks in advance.
Message2. Re: Problems with redrawing
#6027
Posted by: 2005-04-14 19:33:44
ADD A wxSizer see wx documentation
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2022-10-7  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0