jftuga Posted September 5, 2006 Share Posted September 5, 2006 Does something like GUICtrlSetTrans exist? It would be similar to WinSetTrans, but justfor a widget and not the whole window. I would like to use it in conjunction with GUICtrlCreatePic. If not, how could you write a UDF to do this? Thanks, -John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile Link to comment Share on other sites More sharing options...
GaryFrost Posted September 5, 2006 Share Posted September 5, 2006 Does something like GUICtrlSetTrans exist? It would be similar to WinSetTrans, but justfor a widget and not the whole window. I would like to use it in conjunction with GUICtrlCreatePic. If not, how could you write a UDF to do this?Thanks,-JohnLook at GUICtrlSetBkColor SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
jftuga Posted September 6, 2006 Author Share Posted September 6, 2006 #include <GUIConstants.au3> GUICreate("My GUI picture",400,300,-1,-1,$WS_SIZEBOX+$WS_SYSMENU) GUISetBkColor(0xE0FFFF) $n=GUICtrlCreatePic("roses.jpg",2,2,296,350) GUICtrlSetBkColor($n,0xffff00) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WendThis does not do a whole lot so far. The help for GUICtrlSetBkColor says The special flag $GUI_BKCOLOR_TRANSPARENT can be used with label and picture controls to give them a transparent background. From the same documentation, I don't see how to use this.Any ideas?Thanks,-John Admin_Popup, show computer info or launch shellRemote Manager, facilitates connecting to RDP / VNCProc_Watch, reprioritize cpu intensive processesUDF: _ini_to_dict, transforms ini file entries into variablesUDF: monitor_resolutions, returns resolutions of multiple monitorsReport Computer Problem, for your IT help deskProfile Fixer, fixes a 'missing' AD user profile Link to comment Share on other sites More sharing options...
GaryFrost Posted September 6, 2006 Share Posted September 6, 2006 GUICtrlSetBkColor($n,$GUI_BKCOLOR_TRANSPARENT) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now