获取屏幕像素点···

                                    char text2[64];
                                    up = GetPixel(::GetDC(NULL),499+rect.left,589+rect.top);
                                    //::SetCursorPos(499+rect.left,589+rect.top);
                                    r = GetRValue(up);
                                    g = GetGValue(up);
                                    b = GetBValue(up);

posted @ 2016-06-30 15:08  hellohyi  阅读(485)  评论(0编辑  收藏  举报