Dear Support,
I have a problem need your help:i use your SDK and then called the method 'ShowMsgBox',but i fund the icon in the messagebox not show(i mean the icon is not what i set),i have set the ico for the form which the pdfCtl in,and i also set the icon for my application,but nothing changed.could you please give me some advice?
Icon in messagebox not show SOLVED
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
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.
-
- User
- Posts: 91
- Joined: Fri Nov 25, 2016 8:19 am
Icon in messagebox not show
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Icon in messagebox not show SOLVED
Hi HomerWu.
It ignores the "ico.dlg.key" you specified because you also specified the UIX_MsgBox_IconError flag for that call. This flag has higher priority and 'overrides' the pIconID value.
About icon in dialog's title bar: you need to once use IUIX_Inst::SetAppIcon to setup the icon for ALL dialogs/msgboxes in whole runtime.
Pass there the HICON-handle to properly loaded icon-object. Seems you may use the Icon object from the System.Drawing and its Handle property to do it...
HTH.
It ignores the "ico.dlg.key" you specified because you also specified the UIX_MsgBox_IconError flag for that call. This flag has higher priority and 'overrides' the pIconID value.
About icon in dialog's title bar: you need to once use IUIX_Inst::SetAppIcon to setup the icon for ALL dialogs/msgboxes in whole runtime.
Pass there the HICON-handle to properly loaded icon-object. Seems you may use the Icon object from the System.Drawing and its Handle property to do it...
HTH.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 91
- Joined: Fri Nov 25, 2016 8:19 am
Re: Icon in messagebox not show
Dear Vasyl,
Thanks a million, You know it botheried me for days,and it works now,thanks again!
Thanks a million, You know it botheried me for days,and it works now,thanks again!
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London