BrunoStivicevic Posted October 16, 2022 Share Posted October 16, 2022 All, I'm using the Windows application Picasa 3 and I need to overlap its native menu by a custom GUI menu which has to stay always in front of Picasa window. I manage to do it by means of the following simple code: $hGUI_Arch_menu = GUICreate($menuname, @DesktopWidth, 20,-3,0,-1,$WS_EX_TOOLWINDOW,$hwndPicasa) There are however few serious limitations. As the GUI menu has to overlap *ALWAYS* the native menu as it would be hooked to Picasa, I managed to make it work only if the Picasa window is maximized and therefore it cannot be moved on screen or restored to "not-maximized" status. I can live with it, but, the GUI menu appears also on top of any other window, when Picasa app is behind other windows. That is a serious threat to the general functionality of this solution. I would expect that specifying a handle to the parent window ($hwndPicasa), the GUI will follow the status of the Picasa window, but it is not the case. Now, the questions: 1- is it possible to make the GUI menu follow the front/back status of Picasa window, so to go back of other windows (when Picasa is behind other windows), but continuing to stay in front of the Picasa window? 2- is it possible to "hook" the GUI menu to the Picasa window in the way it follows its position and width? THE WHOLE STORY: Picasa is a freeware, discarded by Google, but functional and installable. Its user interface is not editable, so it is impossible to remove or add options to the menu. Unfortunately, in the role I use it (as a front end of a big distributable archive of pics and videos dedicated to the animals' advocacy), many default functionalities exposed in menu are potential breakdowns of the archive's integrity, therefore, the only solution I've found it to cover the whole main menu with the more adequate replacement menu. Thanks in advance for any suggestion, Kind regards, Bruno Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now