PDM add-in message box hiding behind transition progress window

Programming and macros
MMartens
Posts: 34
Joined: Wed Apr 28, 2021 10:01 am
Answers: 6
Location: Shawano, WI USA
x 6

PDM add-in message box hiding behind transition progress window

Unread post by MMartens »

I am writing a PDM add-in to catch when files finish going through a certain transition. Upon completion of the actions I am bringing up a message box to notify the user of completion.

The issue I am having is the transition progress window is still showing when the msgbox opens causing the msgbox to be behind the transition progress window, barely visible. Here is the line of code I use to send the message box...

iVault.MsgBox(poCmd.mlParentWnd, message , EdmMBoxType.EdmMbt_OKOnly, Caption)


The API help file https://help.solidworks.com/2021/Englis ... Redirect=1 is completely blank. Does anyone have any tricks for getting the msgbox to show in the foreground so it isn’t hidden?
User avatar
bnemec
Posts: 1869
Joined: Tue Mar 09, 2021 9:22 am
Answers: 10
Location: Wisconsin USA
x 2464
x 1344

Re: PDM add-in message box hiding behind transition progress window

Unread post by bnemec »

What happened to the other thread?
https://www.cadforum.net/viewtopic.php?t=1804
MMartens
Posts: 34
Joined: Wed Apr 28, 2021 10:01 am
Answers: 6
Location: Shawano, WI USA
x 6

Re: PDM add-in message box hiding behind transition progress window

Unread post by MMartens »

It's still there. I wanted to get this in the API forum in case there are any heavy API users following over here. I couldn't find how to move it to a different section so I created a new topic.
Post Reply