Jump to content

Steve Maughan

Members
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

5 Neutral

About Steve Maughan

  • Birthday September 23

Technical Information

  • Delphi-Version
    Delphi 10.2 Tokyo

Recent Profile Visitors

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

  1. Has anyone had any success using Direct2D with multiple threads (i.e. multiple threads attempting to draw to the canvas at the same time)? It seems possible according to this link: https://docs.microsoft.com/en-us/windows/desktop/direct2d/multi-threaded-direct2d-apps But I can't find anything Delphi specific information. Any links or sample code appreciated. Thanks - Steve
  2. Steve Maughan

    How to Export a PowerPoint PPTX File?

    Thanks - it's news to me!
  3. There are quite a few Excel components available but I can't find any component to generate a PowerPoint presentation file. I realize I can possibly do this via OLE automation but that seems a little "flaky" to me. Does anyone know of a such PowerPoint component? Thanks, Steve
  4. Steve Maughan

    Advice Needed: PDF Graphics Rendering Suite??

    It's one of Joe Hecht's sites. He has a few and they all look the same. I gave him some similar honest feedback over on Google+ a few years' ago. He agreed, but nothing seems to have changed. It's a pity since I'm sure the components are decent. It would take no more than two days to replace these sites with a good WordPress theme.
  5. Steve Maughan

    Advice Needed: PDF Graphics Rendering Suite??

    Interesting!! I'll take a closer look. Thanks, Steve
  6. I'm looking to implement high-definition printing and exporting for our mapping application. I'm planning to do this by creating a PDF. The solution will need to be able to create PDFs with custom polygons at a desired resolution. I've done a brief search and Gnostice's eDocEngine seems to fit the bill. Before I dive in I thought I'd ask if anyone had any other suggestions or any feedback about Gnostice's solution, Thanks, Steve
  7. Steve Maughan

    Is there GIS library for delphi (Free or very cheap)

    CartoVCL looks interesting but hasn't been updated since 2015. Abandonware regards, Steve
  8. Steve Maughan

    Right Process for Changing an Application's Icon?

    Anders - Awesome - thanks!
  9. Steve Maughan

    Right Process for Changing an Application's Icon?

    Thanks Anders. This is really helpful. Can I ask, what is the resource editor you're using in the screenshot? Steve
  10. The way Delphi handles application icons seems to be terrible. Here's what happened. We have a new icon for our application. I managed to delete the old icon and all *.res file and update it with a new icon. Then suddenly the application is using the wrong icon in the main form. I've repeated the icon update process once again and now I seem to have messed things up. I now have the default icon as the application icon. OK - rant over, now for my questions: Is there an approved step-by-step process for changing a Delphi application's icon? How do I determine which size icon is used for the main form. Is it the 16x16 or 24x24 version of the main icon? Thanks, Steve
  11. Steve Maughan

    How to "eat" the second OnMouseDown / OnMouseUp events after a DblClick?

    Hi Attila, Thanks! Yes - I managed to get it working using a similar technique. I set a flag in the DblClick event and then sent a message to clear the flag. Steve
  12. Steve Maughan

    How to "eat" the second OnMouseDown / OnMouseUp events after a DblClick?

    Looks like I haven't figured it out at all. It seems much more complex. Here's the order of events: OnMouseDown (processed with no problem) OnMouseUp (processed with no problem) OnDblClick - I'm showing a form for the user at this point. The GUI is recording the mousemove actions and generating OnMouseMove messages OnMouseDown - the second OnMouseDown of the double click, which can be ignored using a flag OnMouseUp - the second OnMouseUp of the double click, which can be ignored using a flag, and the fag can be reset Multiple OnMouseMove - then all of the OnMouseMove messages that were generated while the form was showing are now processed How do I either ensure the OnMouseMove messages aren't generated when the form is shown, or how do I remove them from the message queue? Here's a short video that shows the behavior: All help appreciate! Thanks, Steve
  13. Steve Maughan

    How to "eat" the second OnMouseDown / OnMouseUp events after a DblClick?

    I figured it out. Set a flag on the DblClick event, exit out of the OnMouseDown if the flag is set, then do the same for OnMouseUp but also reset the flag.
  14. I have a TPaintBox where I normally process OnMouseDown, OnMouseMove and OnMouseUp events. I'd like to perform an action using the DoubleClick even. It seems that when the user double clicks the order of events is as follows: OnMouseDown OnMouseUp OnDblClick OnMouseDown OnMouseUp I'd like to cancel / "eat" the second OnMouseDown and OnMouseUp events. How can I do this? Setting them to "nil" doesn't seem to work. Thanks - Steve
×