Anybody got some icons looking good in a dialog? Any icon loaded seems to get converted to system colours. Is there a workaround?
Tested some icons from Dev-cpp/icons folder but all look bad after conversion.... Look in http://hem.passagen.se/sm3gsj/source/
and compile a tab dialog example (tsttab.zip) or a propertysheet example (tpsheet.zip).
Appreciate all help /Roger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And why doesn't the "autozize" function work correctly in the tab-example? The dialogs on the tabs are approximately the size of the SS_BLACKFRAME in tab 1, but the resulting dialog is always wider and higher than that.
The example is from the W32api helpfile so it had to be bug free :-)
/Roger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anybody got some icons looking good in a dialog? Any icon loaded seems to get converted to system colours. Is there a workaround?
Tested some icons from Dev-cpp/icons folder but all look bad after conversion.... Look in
http://hem.passagen.se/sm3gsj/source/
and compile a tab dialog example (tsttab.zip) or a propertysheet example (tpsheet.zip).
Appreciate all help /Roger
Forgot to mention that I am using DevCpp 4.9.7.2 and gcc 2.95.3-6 (mingw special)
/Roger
And why doesn't the "autozize" function work correctly in the tab-example? The dialogs on the tabs are approximately the size of the SS_BLACKFRAME in tab 1, but the resulting dialog is always wider and higher than that.
The example is from the W32api helpfile so it had to be bug free :-)
/Roger
ICON IDI_ICON, IDC_STATIC, 7, 7, 21, 20
Where IDI_ICON is "foo.ico" or something.
Kip
yes i found this as well in a tabed program but the easiet solution is to either modify the code to suit it or modify the dialog that is tabbed