example of embarcadero WindowHandleToPlatform c++
问题 I need an example of WindowHandleToPlatform for c++ builder I want to use the handle to do bitblt and other functions to a form I can do this using VCL and works great. Think WindowHandleToPlatform is the solution for firemonkey, but documentation is very poor Thanks 回答1: Try this: #include <FMX.Platform.Win.hpp> void __fastcall TMyForm::DoSomething() { TWinWindowHandle *ThisHandle = WindowHandleToPlatform(this->Handle); if (ThisHandle != NULL) { HWND hWnd = ThisHandle->Wnd; if (ThisWnd !=