This is a part of my lua-script, hope it helps. Sorry, this works only in release-mode, because i could not sove a problem with errors in debug mode. Code: Select all function example() winPtr = guiwinman:createWindow( "WindowsLook/IconButton", winName ) winPtr:setProperty( "UnifiedMaxSize", "{{1,0},{1,0}}" ) GUI_loadIconButtonPic(winName, winName .. "Imageset", PicName, ...



