Jump to content

Silver Black

Members
  • Content Count

    118
  • Joined

  • Last visited

Community Reputation

17 Good

About Silver Black

  • Birthday 03/07/1978

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Silver Black

    Parnassus Bookmarks for Delphi 11 Alexandria?

    Hey dev mates, at the end of the day... who cares anymore! I just got used to use native simple bookmarks again and for me that's enough. They are saved even in furhter work session, even closing the IDE (but not if you close the unit), so for me is enough. Not the optimum solution like the Parnassus ones, but whatever.
  2. Silver Black

    Enhanced messageboxes

    Eventually I end up using this simply code, that is very straight forward, using a component created on the go that handles the taskdialog for every different Windows version hassle-free and suppports thems (and no need to use API). procedure TFromMain.Button1Click(Sender: TObject); begin with TTaskDialog.Create(nil) do begin try Caption := 'Dialog Caption'; Title := 'Dialog Title'; Text := 'This is dialog text.'; CommonButtons := [tcbClose]; Execute; finally Free; end; end; end;
  3. Silver Black

    Enhanced messageboxes

    TY so much, that's what I need! ❤️
  4. Silver Black

    Enhanced messageboxes

    Yes, exactly. I'm trying the TTaskDialog component, may this be the way to go? The only draw back is that I don't like a component on an actual form to make this, example if I have to show a message from a unit or project with no forms.
  5. Silver Black

    Enhanced messageboxes

    From the glorious Windows Vista, a new kind of MessageBoxes were introduced, with an added description (beside the usual message, title, icon and buttons for user interactions). I used this messagebox style in my Delphi projects thanks to a wrapper for the APIs featured from Vista and above, but now, from Delphi 10.3, with themes activated, I have a strange behavior: if the more than a button is not provided in the style parameter, I have a an empty title! If I disable themes the title is correctly displayed. Now I was thinking of doing my own custom messagebox (just a simple customized modal form), so I can even expand its functionalities. But before I reinvent the wheel, I wonder: what do you use for your apps as messageboxes? Please don't tell me "ShowMessage"! 😁
  6. Silver Black

    Parnassus Bookmarks for Delphi 11 Alexandria?

    Yes, totally agree. And you know what? Now I got re-used to the old Delphi IDE bookmarks system again and I I like it, it's fast and does it's job. I think I don't even reinstall the Parnassus add-ons if available.
  7. Silver Black

    Bookmarks dead?

    That's a real shame. In CE 10.3 it was there, in the GetIt Package Manager. And it's still there. So now it's not for CE anymore.
  8. Silver Black

    Bookmarks dead?

    Not only in Alexandria... I just installed the CE 10.4.2 Sidney and there are no more Bookmarks / Navigator IDE plug-ins... WTH is happening?!
  9. Silver Black

    Parnassus Bookmarks for Delphi 11 Alexandria?

    Without the wonderful Parnassus Bookmarks, is still there a kind of bookmarks in Delphi itself? I remember something in D2010, but it was naive compared to Parnassus, but still better than nothing though.
  10. Silver Black

    UAC request minimized instead of full-screen

    Also other VM/PC. My app is an installer!
  11. Silver Black

    UAC request minimized instead of full-screen

    Ok, now I get it. But the problem is that I've not disabled it on my machine and the issue occurs.
  12. Silver Black

    UAC request minimized instead of full-screen

    I've to try that with a brand new empty project, but it happens in two different project.
  13. Silver Black

    UAC request minimized instead of full-screen

    Yes, it's already what I do.
  14. Silver Black

    UAC request minimized instead of full-screen

    No. First I don't want to disable it, second I cannot disable it on my users machines!
  15. Hi, I have a routine that I've been using successfully for a long time to start a process with admin rights elevation. But I've lately noticed that the UAC request is minimized in the task bar, instead I'd like it to appear full-screen as if the user had clicked on the executable himself. I'm using: FillChar(seExecShell, SizeOf(seExecShell), 0); seExecShell.cbSize := SizeOf(seExecShell); seExecShell.Wnd := hndCaller; seExecShell.fMask := SEE_MASK_NOCLOSEPROCESS; seExecShell.lpVerb := PWideChar(RUN_CMD); seExecShell.lpFile := PWideChar(fnFile); seExecShell.lpParameters := PWideChar(strParams); seExecShell.nShow := SW_SHOWNORMAL; Result := ShellExecuteEx(@seExecShell); ShellExecuteEx(@seExecShell); Then to manage the waiting for the the process to terminate: GetExitCodeProcess(seExecShell.hProcess, ExitCode); But even without waiting there is always the issue of the minimized UAC request. Do you think there is a workaround or this is a "by-design" feature of Windows?
×