00 c++使按钮隐藏

Post date: 2012/4/23 上午 09:14:45

先用findwindow查找窗口句柄

再用findwindowEx查找按钮句柄

再用showwindow来显示或者隐藏按钮

static HWND HERO_1 = NULL;

ShowWindow(HERO_1, SW_HIDE);