Lemures Posted June 30, 2007 Share Posted June 30, 2007 I have an object created with "$ActiveX = GUICtrlCreateObj($oIE, -2, -2, $Popup_Width+5, $Popup_Height+5)". It wont display a check mark unicode character. Is this possible to do, and if so, what am I missing? Link to comment Share on other sites More sharing options...
Lemures Posted July 1, 2007 Author Share Posted July 1, 2007 (edited) In case anybody cares why: http://myeve.eve-online.com/ingameboard.as...8003&page=1I've written that much thus far, but I want a REAL checkmark, not a radical sign.Yes, thats a rounded HTML window. Edited July 1, 2007 by Lemures Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted July 1, 2007 Moderators Share Posted July 1, 2007 Is this what you are looking for? #include <IE.au3> #include <GUIConstants.au3> $sHTML = "√" $oIE = _IECreateEmbedded() GUICreate("Embedded Test") $GUIActiveX = GUICtrlCreateObj($oIE, 10, 10, 380, 380) GUISetState() _IENavigate($oIE, "about:blank") _IEDocWriteHTML($oIE, $sHTML) While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd Link to comment Share on other sites More sharing options...
Lemures Posted July 1, 2007 Author Share Posted July 1, 2007 I think I didn't understand what I was saying when I posted.I'm already using a radical sign, but I was hoping to use something like these: http://hsivonen.iki.fi/test/check-mark.htmlHowever, the radical sign works ok for now. I'll just stick with that. Thanks! Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted July 1, 2007 Moderators Share Posted July 1, 2007 So something more like this... #include <IE.au3> #include <GUIConstants.au3> $sHTML = "" $sHTML &= "<HEAD>" & @CR $sHTML &= "<style type='text/css'>" & @CR $sHTML &= ".unicode {" & @CR $sHTML &= " font-family: 'Arial Unicode MS';" & @CR $sHTML &= "}" & @CR $sHTML &= "</style>" & @CR $sHTML &= "</HEAD>" & @CR $sHTML &= "<BODY>" & @CR $sHTML &= "<span class='unicode'>✓</span>" & @CR $sHTML &= "</BODY>" & @CR $sHTML &= "</HTML>" $oIE = _IECreateEmbedded() GUICreate("Embedded Test") $GUIActiveX = GUICtrlCreateObj($oIE, 10, 10, 380, 380) GUISetState() _IENavigate($oIE, "about:blank") _IEDocWriteHTML($oIE, $sHTML) While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE ExitLoop EndSwitch WEnd 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