Jump to content


Recommended Posts

I am using the little function below to show me debug data as I slog my way along. I have looked at extend styles and wherever else to find a setting for fonts as I wish to have a fixed witdth font.

Could you please clue in on a parameter to apply?



Func display($string)

Global $debugDisplayExists

if $debugDisplayExists <> 1 Then

Opt("GUIOnEventMode", 1)



Global $debugDisplay_GUI = GUICreate("AutoIt Debug Display", $w, $h, @DesktopWidth-$w-15, @DesktopHeight-$h-75)

; Global $debugDisplay_GUI = GUICreate("AutoIt Debug Display", $w, $h, 1, @DesktopHeight-$h-75)

Global $debugDisplay_Edit = GUICtrlCreateEdit("", 8, 8, $w-5, $h-5, BitOR($ES_AUTOVSCROLL,$ES_READONLY,$ES_WANTRETURN,$WS_VSCROLL))


$debugDisplayExists = 1


GUICtrlSetData($debugDisplay_Edit, $string &@CRLF, 1)


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

  • Recently Browsing   0 members

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