Menu

Icons in Dialogs

2003-01-11
2012-09-26
  • Roger Hedin

    Roger Hedin - 2003-01-11

    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

     
    • Roger Hedin

      Roger Hedin - 2003-01-11

      Forgot to mention that I am using DevCpp 4.9.7.2 and gcc 2.95.3-6 (mingw special)
      /Roger

       
    • Roger Hedin

      Roger Hedin - 2003-01-12

      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

       
    • Nobody/Anonymous

      ICON            IDI_ICON, IDC_STATIC, 7, 7, 21, 20

      Where IDI_ICON is "foo.ico" or something.

      Kip

       
    • Nobody/Anonymous

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.