JOGOS Software
unread,May 25, 2023, 6:35:14 PM5/25/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev
I need to make the Chromium window as well as child windows Topmost when they are initialized, but I keep running into bugs. I am quite new to modifying the source code and have tried a lot of things but they either cause issues with the dropdowns or don't run at the correct time. So far I think the best bet is bet is to use this code, but I have found no working place to put it:
HWND hwnd = GetWidget()->GetNativeView()->GetHost()->GetAcceleratedWidget(); SetWindowPos(hwnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);