Jump to content

Recommended Posts

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)

While 1
   $Msg = GUIGetMsg()
      Case $Msg = -3; Close window or ESC
      Case $mSG = 3
         MsgBox(4096,'debug:' , '$Msg:' & $Msg);### Debug MSGBOX 
If $Msg = -3 Then Exit
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...