Hello folks,
I would like to know if it's possible to get a simple sample of how to implement a custom MsgBox, with 3 buttons (Yes, No, Cancel) much like the Save MsgBox that you get when you are closing an unsaved document. There are a lot of options to play with but I'm just looking for a basic msgbox which of course would also allow me to catch the result of which button was pressed (yes, no or cancel).
Thanks,
Doc.It Development
Using MsgBox
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
Re: Using MsgBox
Hi docu-track99,
Thanks for the post - Is this what you're looking for?
https://sdkhelp.pdf-xchange.com/vie ... ShowMsgBox
Thanks for the post - Is this what you're looking for?
https://sdkhelp.pdf-xchange.com/vie ... ShowMsgBox
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
-
docu-track99
- User
- Posts: 518
- Joined: Thu Dec 06, 2007 8:13 pm
Re: Using MsgBox
Hi Will,
Yes, actually, that is what I was looking for. I had come across it but didn't see a way to do custom buttons, then I saw the MsgBoxStyleFlags which is what I wanted to see. I thought I was going to have to figure out MsgBoxButton and MsgBoxConfig, but it appears ShowMsgBox is adequate for my purposes.
Thanks,
Doc.It Development
Yes, actually, that is what I was looking for. I had come across it but didn't see a way to do custom buttons, then I saw the MsgBoxStyleFlags which is what I wanted to see. I thought I was going to have to figure out MsgBoxButton and MsgBoxConfig, but it appears ShowMsgBox is adequate for my purposes.
Thanks,
Doc.It Development
-
Sasha - PDF-XChange
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: Using MsgBox
Glad that helped docu-track99, we'll mark this topic as closed.
Cheers,
Alex
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ