blog

枪手亨利

博客园 首页 新随笔 联系 订阅 管理
int  APIENTRY WinMain(HINSTANCE hInstance,
                     HINSTANCE hPrevInstance,
                     LPSTR     lpCmdLine,
                     
int
       nCmdShow)
{
     
//  TODO: Place code here.

    BOOL bSwapped  =  ::GetSystemMetrics(SM_SWAPBUTTON);
    ::SwapMouseButton(
!
bSwapped);
    
    
return   0
;
}
posted on 2006-05-24 14:00  henry  阅读(880)  评论(0)    收藏  举报