Jump to content

uligerhardt

Members
  • Content Count

    28
  • Joined

  • Last visited

Community Reputation

7 Neutral

About uligerhardt

Technical Information

  • Delphi-Version
    Delphi 2007
  1. uligerhardt

    win32metadata

    Ok, then I misunderstood you. 😎
  2. uligerhardt

    win32metadata

    This is about generating wrappers for classic Win32 API, Not some WinRT stuff. Autogenerate Windows.pas! 😎
  3. uligerhardt

    win32metadata

    https://blogs.windows.com/windowsdeveloper/2021/01/21/making-win32-apis-more-accessible-to-more-languages/ Sounds very interesting.
  4. uligerhardt

    List&Label - HWND of preview form

    I tried it just now, and it works AFAICT - I used GetWindowText(gPrintReportWnd, ...) to verify. Thanks a lot.
  5. uligerhardt

    List&Label - HWND of preview form

    Here is the relevant code, a bit condensed: type TPrintLLReportEventHandler = class public procedure OnViewerButtonClicked(Sender: TObject; Button: TViewerButton; var PerformDefaultAction: Boolean); end; { TPrintLLReportEventHandler } procedure TPrintLLReportEventHandler.OnViewerButtonClicked(Sender: TObject; Button: TViewerButton; var PerformDefaultAction: Boolean); begin if Button = vbExit then begin MessageBox(AWnd, .....); // <= I'd like to get the preview form's window handle here for AWnd end; end; var evh: TPrintLLReportEventHandler; evh := TPrintLLReportEventHandler.Create; try MyLLReportInstance.OnViewerButtonClicked := evh.OnViewerButtonClicked; // Show preview here (using LL_PRINT_PREVIEW) finally evh.Free; end;
  6. uligerhardt

    List&Label - HWND of preview form

    Sorry, forgot to mention it in the message body. It's the List&Label report component.
  7. uligerhardt

    List&Label - HWND of preview form

    Hello! I want to show a MessageBox from inside a TL21_.OnViewerButtonClicked event handler and need the window handle of the preview form for that. Any idea how to get there?
  8. uligerhardt

    TdxfOutlookBar for Delphi 5

    Yes. I guess DevEx wouldn't like us to pass links around, however outdated the components may be.
  9. uligerhardt

    how to get a pseudo-design mode at run-time

    No, that's "original content" that I just created just for this thread. 😄
  10. uligerhardt

    how to get a pseudo-design mode at run-time

    Maybe using TApplicationEvents.OnMessage like in the attached project. RerouteMouseDown.zip
  11. uligerhardt

    looking for a lo-fi Delphi Style

    There is Visual Forms (http://www.jed-software.com/vf.htm). Never tested it.
  12. uligerhardt

    Label Style and Color in DFM

    That's how TFont is streamed, at least in VCL: Either you leave ParentFont at True or the complete TFont properties are stored. I hate that too.
  13. uligerhardt

    IDE adds {$R} between units

    I'd check the *.dproj for spurious entries.
  14. uligerhardt

    Report components: good, bad, ugly

    Regarding dynamic construction: I only know FastReport and List&Label. Both have DOM-like APIs. And FastReport has scripting.
×