Как разместить RichEdit на вкладке Tab'а
Пробую так
не видны RT1 и RT2 :(
Пробую так
Код:
#include <GuiRichEdit.au3>
#include <GUIConstantsEx.au3>
$hGUI=GUICreate('Test', 500, 200)
$nTab = GUICtrlCreateTab(0, 0, 500, 200)
$Tab1=GUICtrlCreateTabItem("1")
$hTab1 = GUICtrlGetHandle($Tab1)
$hRT1 = _GUICtrlRichEdit_Create($hTab1, "RT1", 0, 24, 500, 100)
$hED1 = GUICtrlCreateEdit( "ED1", 0, 100, 500, 200)
$Tab2=GUICtrlCreateTabItem("2")
$hTab2 = GUICtrlGetHandle($Tab2)
$hRT2 = _GUICtrlRichEdit_Create($hTab2, "RT2", 0, 24, 500, 100)
$hED2 = GUICtrlCreateEdit( "ED2", 0, 100, 500, 200)
GUISetState()
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_CLOSE
GUIDelete()
Exit
EndSwitch
WEnd
не видны RT1 и RT2 :(