API常量问题.
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { HWND hwnd; hwnd=::FindWindow("ThunderRT6FormDC","Form1"); char c[255]; ::GetWindowTextA(hwnd,c,255); //这里可以正常取得窗体的名字 ::PostMessage(hwnd,BM_CLICK,0,0); //这里怎么发送不了BM_CLICK }