IUIX_Inst::SetAppIcon vs DlgProgress  SOLVED

PDF-XChange Editor SDK for Developers

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.
Post Reply
zarkogajic
User
Posts: 1372
Joined: Thu Sep 05, 2019 12:35 pm

IUIX_Inst::SetAppIcon vs DlgProgress

Post by zarkogajic »

Hi Support,

Specifying the icon using SetAppIcon does not set the icon also to "DlgProgress" dialog.

By design, or ?

p.s.
I'm using WM_SETICON for DlgProgress - so above is not a problem, just curious about it.

-žarko
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: IUIX_Inst::SetAppIcon vs DlgProgress

Post by Vasyl-Tracker Dev Team »

Hi žarko.

Yes, there is a kind of bug. Because when you call the IPXV_Inst::Init - it creates the progress-dialog and sets the Editor's icon to it. Then you call the IUIX_Inst::SetAppIcon and it changes the app icon globally, but this does not affect already created popup windows (i.e. such progress-window), unfortunately. In the future we will fix it. But you will need to change your code too - to just call the IUIX_Inst::SetAppIcon before the IPXV_Inst::Init...

Cheers.
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.
zarkogajic
User
Posts: 1372
Joined: Thu Sep 05, 2019 12:35 pm

Re: IUIX_Inst::SetAppIcon vs DlgProgress  SOLVED

Post by zarkogajic »

Hi Vasyl,

All clear, thanks.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17960
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

IUIX_Inst::SetAppIcon vs DlgProgress

Post by Tracker Supp-Stefan »

:)
Post Reply