Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

3.3.8.1 + RichEdit = problem

$
0
0
[ autoit ]         
#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiRichEdit.au3> Local $hGui = GUICreate('See the child window 2 times', 420, 250) Local $MsgBox = GUICtrlCreateButton("RichEdit", 20, 20, 90, 30) GUISetState() While 1     Switch GUIGetMsg()         Case $MsgBox             _RichEdit()         Case $GUI_EVENT_CLOSE             Exit     EndSwitch WEnd Func _RichEdit()     $hGui1 = GUICreate('3.3.8.1 = problem', 300, 300, -1, -1, BitOR($WS_OVERLAPPEDWINDOW, $WS_POPUP, $WS_CLIPCHILDREN), -1, $hGui)     $hRichEdit = _GUICtrlRichEdit_Create($hGui1, "", 5, 5, 290, 290, BitOR($ES_MULTILINE, $WS_VSCROLL, $WS_HSCROLL, $ES_AUTOVSCROLL))     GUISetState(@SW_SHOW, $hGui1)     Do     Until GUIGetMsg() = $GUI_EVENT_CLOSE     _GUICtrlRichEdit_Destroy($hRichEdit)     GUIDelete($hGui1) EndFunc   ;==>_RichEdit

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>