# include“l_bitmap.h”
L_LTIVW_APIL_INTEXT_FUNCTIONL_DispContainerUpdateCellView (hCellWnd uFlags)
重新计算细胞内部的值来更新视图根据新的变化的图像。
一个句柄细胞代表医疗查看器的窗口。
保留以供将来使用。通过0。
| 价值 | 意义 |
|---|---|
| 成功 | 函数是成功的。 |
| < 1 | 一个错误发生。指返回代码。 |
这个函数是非常有用的,当用户适用某种影响细胞图像,使图像尺寸改变。
这个函数也将重新绘制细胞。重新绘制细胞只有重新计算内部数据,使用L_DispContainerRepaintCell函数。
停止画而应用一系列的影响没有每次刷新的效果,使用函数L_DispContainerBeginUpdate阻止细胞重新绘制,然后使用这个函数L_DispContainerBeginUpdate重新油漆的一切。
必需的dll和库
平台
工具箱在Win32和x64版本能够支持开发软件应用程序的下列环境:
Windows 10
Windows 8
Windows 7
Windows Vista
Windows XP
Windows 2000
这个例子中调整第一帧的第一个单元格的大小。
L_INT DispContainerUpdateCellViewExample (HDISPCONTAINER hCon){L_INT nRet;BITMAPHANDLE位图;HWND hCellWnd = L_DispContainerGetCellWindowHandle (hCon, 0, 0);nRet = L_DispContainerGetBitmapHandle (hCellWnd 0位图,0);如果(nRet ! =成功)返回nRet;L_SizeBitmapInterpolate(位图,BITMAPWIDTH(位图)* 2,BITMAPHEIGHT(位图),0);L_DispContainerSetBitmapHandle (hCellWnd 0位图,真的,0);L_DispContainerUpdateCellView (hCellWnd 0);返回成功;}