| 发表于:2007-04-11 09:29:316楼 得分:10 |
void winapi switchtothiswindow ( hwnd hwnd, // handle to the window that should be activated bool brestore // fauls表示最小化显示; ); 翻译成vb语法即可,这个函数是从user32.dll导出的,因此定义如下,有没有alias就不清楚 declare sub switchtothiswindow lib "user32.dll " (byval hwnd as long,byval brestore as boolean) | | |
|