Skip to content

Conversation

@tilongzs
Copy link

@tilongzs tilongzs commented Mar 1, 2021

In windows desktop projects, the window loses its response when the MoveWindow function of win32 is called directly from the Flutter interface. It is suspected WM_SIZE the modification of the sub-window in the message.
I raised this issue in the win32 plug-in project, and it has been agreed that this is not a win32 plug-in issue.
(halildurmus/win32#157)
2021-03-01_174635

I found a solution. By modifying the (windows\runner\win32_window.cpp) file, create a custom message that delays the code WM_SIZE the modified sub-window in "Windows".

…the size of sub window is changed by PostMessage.
@flutter-dashboard flutter-dashboard bot closed this Mar 1, 2021
@flutter-dashboard
Copy link

This pull request is trying merge the branch dev, which is the name of a release branch. This is usually a mistake. See Tree Hygiene for detailed instructions on how to contribute to the Flutter project. In particular, ensure that before you start coding, you create your feature branch off of master.

This PR has been closed. If you are sure you want to merge dev, you may re-open this issue.

@flutter-dashboard flutter-dashboard bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 1, 2021
@google-cla
Copy link

google-cla bot commented Mar 1, 2021

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added the cla: no label Mar 1, 2021
@tilongzs
Copy link
Author

tilongzs commented Mar 2, 2021

@googlebot I signed it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant