社区
VC.NET
帖子详情
开发的一个软件,工作三个半小时后出现“Canvas does not allow drawing”
fangyan198707
2012-06-11 03:42:39
主界面用到的Tab空间和树形控件,底层有数据上传到上位机,上位机软件将数据处理后实时插入到控件,但软件工作三个半小时后出现“Canvas does not allow drawing”,有哪位大虾碰见过这种情况吗?求指导。谢谢!
...全文
335
4
打赏
收藏
开发的一个软件,工作三个半小时后出现“Canvas does not allow drawing”
主界面用到的Tab空间和树形控件,底层有数据上传到上位机,上位机软件将数据处理后实时插入到控件,但软件工作三个半小时后出现“Canvas does not allow drawing”,有哪位大虾碰见过这种情况吗?求指导。谢谢!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
lwq222121
2015-01-12
打赏
举报
回复
引用 3 楼 GPR0310 的回复:
楼主,你这个问题怎么解决的?我也碰到这个问题了,能否赐教,急啊
http://bbs.csdn.net/topics/190060934
明日船长
2015-01-12
打赏
举报
回复
楼主,你这个问题怎么解决的?我也碰到这个问题了,能否赐教,急啊
fangyan198707
2012-06-12
打赏
举报
回复
恳请大家帮忙指点一二
fangyan198707
2012-06-11
打赏
举报
回复
在线等~~这个问题我发现有段时间了,之前忙着实现别的功能就没管这个,现在要做成产品了,这个问题必须解决,就各位帮下我,谢谢!
delphi XE 2011 reset
delphi XE 2011 reset
FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir
Version 1.7 ----------- - ADD: Delphi/CBuilder 10.2 Tokyo now supported. - ADD: Delphi/CBuilder 10.1 Berlin now supported. - ADD: Delphi/CBuilder 10 Seattle now supported. - ADD: Delphi/CBuilder XE8 now supported. - ADD: Delphi/CBuilder XE7 now supported. - ADD: Delphi/CBuilder XE6 now supported. - ADD: Delphi/CBuilder XE5 now supported. - ADD: Delphi/CBuilder XE4 now supported. - ADD: Delphi/CBuilder XE3 now supported. - ADD: Delphi/CBuilder XE2 now supported. - ADD: Delphi/CBuilder XE now supported. - ADD: Delphi/CBuilder 2010 now supported. - ADD: Delphi/CBuilder 2009 now supported. - ADD: New demo project FlexCADImport. - FIX: The height of the TFlexRegularPolygon object incorrectly changes with its rotation. - FIX: Added division by zero protect in method TFlexControl.MovePathSegment. - FIX: The background beyond docuemnt wasn't filled when TFlexPanel.DocClipping=True. - FIX: In "Windows ClearType" font rendering mode (OS Windows mode) the "garbage" pixels can appear from the right and from the bottom sides of the painted rectangle of the TFlexText object. - FIX: The result rectangle incorrectly calculated in the TFlexText.GetRefreshRect method. - FIX: Added FPaintCache.rcPaint cleanup in the TFlexPanel.WMPaint method. Now it is possible to define is the
drawing
take place via WMPaint or via the PaintTo direct call (if rcPaint contain non-empty rectangle then WMPaint in progress). - FIX: The TFlexPanel.FPaintCache field moved in the protected class section. Added rcPaint field in FPaintCache that represents
drawing
rectangle. - ADD: In the text prcise mode (TFlexText.Precise=True) takes into account the rotation angle (TFlexText.Angle). - FIX: Removed FG_NEWTEXTROTATE directive (the TFlexText Precise mode should be used instead). - FIX: The TFlexRegularPolygon object clones incorrectly drawed in case when TFlexRegularPolygon have alternative brush (gradient, texture). - ADD: Add TFlexPanel.InvalidateControl virtual method which calls from TFle
oracle
canvas
does not
allow
drawing
,delphi –
Canvas
不允许绘图
如果您需要使用其他画布,则必须分配HDC,例如varWindowHandle:HWND;Screen
Canvas
,Buffer
Canvas
: T
Canvas
;r,r2: TRect;ScreenDC,BufferDC :HDC;BufferBitmap : HBITMAP;beginWindowHandle := 0;Screen
Canvas
:= T
Canvas
.Create;BufferCan...
oracle
canvas
does not
allow
drawing
,SynGdiPlus.pas
/// GDI+ library API access// - adds GIF, TIF, PNG and JPG pictures read/write support as standard TGraphic// - make available most useful GDI+
drawing
methods// -
allow
s Antialiased rending of any EM...
Canvas
doesn't
allow
drawing
在调试delphi应用程序时,会在程序运行几秒后,突然
出现
这个错误。一般这个错误都是
出现
在使用线程时,因为在使用Thread时,所有的关于UI的代码都要进行同步,否则,就会
出现
这个错误,既然知道了错误原因,也就找到了解决方法。 即使是简单地显示
一个
消息对话框,也要将他单独写为
一个
方法,然后在使用该方法时,必须进行同步。如下: procedu...
VC.NET
7,540
社区成员
27,673
社区内容
发帖
与我相关
我的任务
VC.NET
.NET技术 VC.NET
复制链接
扫一扫
分享
社区描述
.NET技术 VC.NET
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章