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
IUIX_Inst::SetAppIcon vs DlgProgress 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: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
-
- Site Admin
- Posts: 2353
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: IUIX_Inst::SetAppIcon vs DlgProgress
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.
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.
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: 1372
- Joined: Thu Sep 05, 2019 12:35 pm
Re: IUIX_Inst::SetAppIcon vs DlgProgress SOLVED
Hi Vasyl,
All clear, thanks.
-ž
All clear, thanks.
-ž
-
- Site Admin
- Posts: 17960
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London