期待中...
解决方案 »
- 我晕了。子窗口居中于主窗口怎么计算的?
- vc有没有办法直接查看函数的返回值
- GuitoolKit/Guilib 菜单显示文字问题
- SQLSERVER DB-LIBRARY问题,分可再加!!在线等,拜托各位啦。。。。!!
- 如何获得 层叠的mdi窗口的 zorder
- 外包。人民币寻找精通VC做界面的高手。。
- 有远程控制的原代码!
- 怎样得到音频接口,并控制它的使用?????
- 哪位知道如何取得this指针?(好像太菜了吧?)
- 白痴问问题,知道的请回答~~~~~~~~~~~~~~~~~~~~回答加分~~~
- //我用VB6。0,但有个关于菜单的问题在VB论坛中迟迟没有解决,懂SDK的朋友可能感觉会很容易///
- 谁有VC的QQ群组号码?
COLORREF GetPixel(
HDC hdc, // handle to DC
int nXPos, // x-coordinate of pixel
int nYPos // y-coordinate of pixel
);
{
Graphics graphics(hdc); // Create a Bitmap object from a JPEG file.
Bitmap myBitmap(L"Climber.jpg"); // Get the value of a pixel from myBitmap.
Color pixelColor;
myBitmap.GetPixel(25, 25, &pixelColor); // Fill a rectangle with the pixel color.
SolidBrush brush(pixelColor);
graphics.FillRectangle(&brush, Rect(0, 0, 100, 100));
}
重写Transform Filter,在里面抓取每一帧,用相应的API就可以处理了,DX里有代码的
查查这方面的资料