pageone Posted September 2, 2006 Share Posted September 2, 2006 (edited) I have tried for over a week to get this to work but i am not progressing at all I am taking screen captures annd displaying the result as a thumbnail on a TAB, The problem i have is the Screencapture apppears on all TABs in the Window not just the one i want it to apppear on. The screen capture is activated by a Button located under the correct TAB and controls a function Func PrintScr() DllCall("captdll.dll", "int", "CaptureScreen", "str",@ProgramFilesDir & "\Colorsleuth\screens\"& $Time, "int", -1) GUICtrlCreatePic(@ProgramFilesDir & "\Colorsleuth Pro\screens\"& $Time, 18,50,175,110) EndFunc This however puts the screencapture on all TABS Any help would be great Edited September 2, 2006 by pageone Link to comment Share on other sites More sharing options...
GaryFrost Posted September 2, 2006 Share Posted September 2, 2006 I have tried for over a week to get this to work but i am not progressing at all I am taking screen captures annd displaying the result as a thumbnail on a TAB, The problem i have is the Screencapture apppears on all TABs in the Window not just the one i want it to apppear on. The screen capture is activated by a Button located under the correct TAB and controls a function Func PrintScr() DllCall("captdll.dll", "int", "CaptureScreen", "str",@ProgramFilesDir & "\Colorsleuth\screens\"& $Time, "int", -1) GUICtrlCreatePic(@ProgramFilesDir & "\Colorsleuth Pro\screens\"& $Time, 18,50,175,110) EndFunc This however puts the screencapture on all TABS Any help would be great Try creating using an empty GUICtrlCreatePic when you create the gui and replace the GUICtrlCreatePic with GUICtrlSetImage in the PrintScr function. 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...
Zedna Posted September 2, 2006 Share Posted September 2, 2006 (edited) Instead of GUICtrlCreatePic() use GUICtrlSetImage() Note: Of course create your pics at startup for all tabs by GUICtrlCreatePic() EDIT: gafrost beat me to it Edited September 2, 2006 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
pageone Posted September 2, 2006 Author Share Posted September 2, 2006 Thankyou , Thankyou, Thankyou it worked exactly as i wanted it ... Did i forget to say thanks, well thanks.. made my day 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