DrawString的参数列表我知道,但是写了总是错误。麻烦给个实例我参考下
解决方案 »
- 怎么获得文件的路径?
- DLL搞不明白的问题(高手进来)
- 请帮我解释一下以下程序的意思,谢谢,要散分的哦
- 请问为什么在服务程序里面安装日志钩子会失败???????????????????????
- 关于养老保险的问题,请教大家,我的情况该如何处理
- 动态创建二级菜单的问题
- 如何防止按"Esc"键时退出对话框程序?
- socket bluetooth 广播
- ******************************请问关于RichEdit的问题*******************
- 求助,如何让VC 操作 Word更新域啊.
- 基于第三代电流传送器的低通滤波器的研究
- BCG的tabview的一个小问题:addview不执行初始化函数。
{
Graphics graphics(hdc); // Create a string.
WCHAR string[] = L"Sample Text"; // Initialize arguments.
Font myFont(L"Arial", 16);
PointF origin(0.0f, 0.0f);
SolidBrush blackBrush(Color(255, 0, 0, 0)); // Draw string.
graphics.DrawString(
string,
11,
&myFont,
origin,
&blackBrush);
}from msdn