Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
Robert Kock

Robert Kock

Mentions
  • Profile
  • Activity
  • Communities
  • Friends
  • Mentions
  • Likes
  • Achievements
  • Blog Posts
  • Questions
  • More
  • Cancel
  • RE: Draw PNG with transparent background on window

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    You could directly set an RgbColorDef instance (DgnPlatform\DgnPlatform.r.h+340) a preferred color similar to this:

    RGBColorDef transparentColor = {255,255,255};
    HTH,
    Bob
    • 2 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: Draw PNG with transparent background on window

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    Are both the Input image data buffer and Output Format parameter RGBA? e.g. Calling mdlWindow_rgbDataDraw using either: TRUECOLOR_RGBA or IMAGEFORMAT_RGBA

    If you suspect the output format is correctly being set, you may want to see this previous…

    • 2 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: MSCE PrintOrganizer: ActiveFile not added at first attempt

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    So it sounds like you are close to having a Good and Bad patient where you are potentially questioning what the differences are between configurations.

    It appears that PrintOrganizer starts a non-graphic background process and requires…

    • 3 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: MSCE PrintOrganizer: ActiveFile not added at first attempt

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    Understood and maybe some of these high-level suggestions may help isolate the issue(s) you are seeing when dealing with more complex designs/interactions. If you have not already, it may be best to consider adding some (more) trace logging…

    • 3 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: MSCE PrintOrganizer: ActiveFile not added at first attempt

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    As a sanity test I tried performing a couple tests as outlined in the Print Organizer Key-ins help topic in MicroStation 10.16.02.22 that (to me) appears to be working fine when...

    1. Test1 (similar to Example 1) 3 specific dgn files and no…
    • 3 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: MSCE PrintOrganizer: ActiveFile not added at first attempt

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    Can you copy and paste (in your VBA project) a new method with keyins that uses CadInputQueue.SendCommand (KeyinCmd, True) vs. .SendKeyin (KeyinCmd) and see if that makes any difference?

    Another similar test; since you are only doing key…

    • 3 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: Error 193 loading custom application

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    MicroStation CONNECT (and respective SDKs) Update 12 thru 16 require Microsoft Visual Studio 2017 (MSVC 14.1) vs. VS2015 (MSVC 14.0). Ref: MicroStation CONNECT SDK Requirements.

    Do you notice the issue if re-compiling with the required VS…

    • 11 months ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: Microstation Connect Edition Oracle autocommit

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    Can you confirm your steps against those used and provided in this post?

    Thank you,
    Bob

    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
  • RE: CE: Open Dialog defined in different MA

    Robert Hook
    Robert Hook

    Hi Robert Kock,

    In MicroStation V8 (and later) native code calling mdlDialog_callFunction() becomes redundant where standard Microsoft function decoration and calling conventions should  be preferred and applied; like using DLL import/export decorations…

    • over 1 year ago
    • MicroStation Programming
    • MicroStation Programming Forum
Communities
  • Home
  • Getting Started
  • Community Central
  • Products
  • Support
  • Secure File Upload
  • Feedback
Support and Services
  • Home
  • Product Support
  • Downloads
  • Subscription Services Portal
Training and Learning
  • Home
  • About Bentley Institute
  • My Learning History
  • Reference Books
Social Media
  •    LinkedIn
  •    Facebook
  •    Twitter
  •    YouTube
  •    RSS Feed
  •    Email

© 2022 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies