condoman 4 Posted December 14, 2004 I don't have a problem displaying 32x32 icons, but cannot get a 16x16 to display. I have created an icon that is 32x32, 16x16 and a combined file and cannot get the small display. I was trying to emulate the Office toolbar. This is the code I was using. #include "GUIConstants.au3" GuiCreate("",350,32,0,0 ,$WS_POPUPWINDOW,$WS_EX_TOPMOST) $Icon01 = GUICtrlCreateIcon("C:\Downloads\cboxs.ico",-1,0,0) ;$RC = GUICtrlSetImage ( $Icon01,"C:\Downloads\cboxs.ico",2,0) GUISetState(@SW_SHOW) While 1 $Msg = GUIGetMsg() Select Case $Msg = -3; Close window or ESC ExitLoop Case $mSG = 3 MsgBox(4096,'debug:' , '$Msg:' & $Msg);### Debug MSGBOX ExitLoop EndSelect Wend If $Msg = -3 Then Exit Exit;eof Share this post Link to post Share on other sites
jpm 93 Posted December 14, 2004 can you attach your cboxs.ico so I can reproduce? Thanks :"> Share this post Link to post Share on other sites
condoman 4 Posted December 15, 2004 Here it is. Thanks for looking.cbox.zip Share this post Link to post Share on other sites