Jump to content

Help Results of a function appearing in all TABs


pageone
 Share

Recommended Posts

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 :P

Any help would be great

Edited by pageone
Link to comment
Share on other sites

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 :P

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...