Jump to content

PeterPanettone

Members
  • Content Count

    1354
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PeterPanettone

  1. PeterPanettone

    Menu boundaries from MenuHandle?

    By using MSAA (Microsoft Active Accessibility), I can get the MenuHandle of a menu when the menu is displayed. How can I get the boundaries of the displayed menu from the MenuHandle?
  2. PeterPanettone

    Menu boundaries from MenuHandle?

    Thank you very much; I am now able to find the menu rectangle: function PAGetDisplayedMenuRectangle: TRect; var MenuWnd: HWND; begin // Initialize the result rectangle to zero FillChar(Result, SizeOf(Result), 0); // Find the window handle of the active menu MenuWnd := FindWindowEx(0, 0, MAKEINTATOM($8000), nil); if MenuWnd <> 0 then begin // If the menu window is found, get its rectangle if not GetWindowRect(MenuWnd, Result) then begin // If GetWindowRect fails, reset the result to zero FillChar(Result, SizeOf(Result), 0); end; end; end;
  3. PeterPanettone

    What new features would you like to see in Delphi 13?

    How do you set DPI Unaware mode?
  4. PeterPanettone

    What new features would you like to see in Delphi 13?

    Have you really asked an AI for a bike rental? Are you serious?
  5. PeterPanettone

    What new features would you like to see in Delphi 13?

    The irony was implicit.
  6. PeterPanettone

    What new features would you like to see in Delphi 13?

    In a large project, I always have to wait for code insight.
  7. PeterPanettone

    What new features would you like to see in Delphi 13?

    Low-quality AI answers often are the result of poor prompts. However, I agree with the last statement.
  8. I have found the Expert and Package Manager for multiple RAD Studio IDEs by David Hoyle one of the most helpful tools for Delphi: https://github.com/DGH2112/Expert-Manager I think it's a pity that it hasn't been developed any further since 2019.
  9. PeterPanettone

    What new features would you like to see in Delphi 13?

    You don't believe in AI?
  10. PeterPanettone

    What new features would you like to see in Delphi 13?

    An IDE with AI capabilities could easily accomplish such things.
  11. PeterPanettone

    What new features would you like to see in Delphi 13?

    The best refactoring feature for Delphi I have found so far is in MMX. But new refactoring tools could certainly implement even better and smarter refactoring features, e.g.: 1. Search the entire project for identical or similar code fragments and automatically replace them with a common procedure. 2. Automatically insert selected code into a (new) class. Etc.
  12. David Hoyle has made a 3rd Party IDE Help Delphi plugin: https://github.com/DGH2112/3rd-Party-IDE-Help The Readme says: "This is a RAD Studio wizard/expert/plug-in that allows you to easily configure 3rd-party HTML files for use with the IDE to get context-sensitive help for 3rd party code. It also provides quick access to these files." The ReadMe also says: "To configure the 3rd party help, open the IDE's Options dialogue and look under the 3rd Party node for an options page entitled "3rd Party Help"." I have compiled the project in Delphi 12, and it created TPIDEHelpRS120.dll. I copied TPIDEHelpRS120.dll to C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\ and restarted the Delphi 12 IDE. However, this 3rd Party node cannot be found in the Delphi 12 IDE Options: How do you install this plugin in Delphi 12?
  13. PeterPanettone

    David Hoyle's 3rd Party IDE Help in Delphi 12?

    Yes, it could be done in RegEdit. However, I find it more comfortable to do it in one of the tools mentioned by Thomas: GExperts expert manager or Expert and Package Manager for multiple RAD Studio IDEs from David Hoyle. This is the entry in the Registry:
  14. PeterPanettone

    David Hoyle's 3rd Party IDE Help in Delphi 12?

    I have added the ImageEn CHM help file. Unfortunately, the F1 context-sensitive help does not work with ImageEn. It always opens the help for Vcl.Controls.TCustomControl instead: Perhaps a specific index file for the ImageEn CHM help file is missing?
  15. PeterPanettone

    David Hoyle's 3rd Party IDE Help in Delphi 12?

    It worked:
  16. PeterPanettone

    David Hoyle's 3rd Party IDE Help in Delphi 12?

    Good idea! I will try it.
  17. In fact, it does work "out of the box" for Delphi 12, although it's from 2019: Obviously, David has created a flexible architecture for this tool, so it works for all future Delphi versions.
  18. After having installed R120.patch1-20240131 in DElphi 12: Delphi 12 Update 1 is not displayed in the IDE About dialog: This log file was created: patch.log Can anyone confirm this?
  19. PeterPanettone

    Delphi 12 Update 1 is not displayed in the IDE About dialog

    I suppose ProgressBarMigration.Visible = False or not Assigned(ProgressBarMigration).
  20. PeterPanettone

    Delphi 12 Update 1 is not displayed in the IDE About dialog

    Is there already any news about the new QP?
  21. PeterPanettone

    GetIt installation does not work

    That's where the error occurred. Another GetIt installation (which did not include a UAC prompt) worked flawlessly.
  22. PeterPanettone

    Delphi 12 Update 1 is not displayed in the IDE About dialog

    Is this a joke by Embarcadero? Is there a justifiable reason for this distinction?
  23. PeterPanettone

    GetIt installation does not work

    I, too, have tried the GetIt installation with Patch 1. Same error as before.
  24. The Delphi 12 Install file is missing in icsv9w (snapshot from today): The readme file says: But the file D120InstallVcl.groupproj is missing from: \icsv9w\Install There are no 'D120...' files.
×