Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / A strange question about wxClientDC??

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

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. A strange question about wxClientDC??
#3889
Posted by: Aison 2004-04-22 10:26:10
when I was constructing a dialog,I drawed some lines with "wxClientDC" class and "DrawLine" function.But when the dialog was covered by the widgets of other programs,afthe the dialog reget the focus,the lines disappeared.
I have tried many ways,such as "OnPaint()","OnMove()","Invalidate()","Update()","Refresh",but still can't solve the program.

Could you help me?
aisonbert@163.com

Message2. Re: A strange question about wxClientDC??
#3890
Posted by: guidance 2004-04-22 18:11:57
wxBufferedDC may be easier, though I didn't try myself.
Message3. Re: A strange question about wxClientDC??
#3898
Posted by: Aison 2004-04-23 09:08:17
What is "wxBufferedDC"?
I can't find it in the chm help files,I use wxWindows 2.4.2
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-3-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0