Modify

#2211 closed Bug (Duplicate)

Only one RichEdit control can be created

Reported by: MrCreatoR <mscreator@…> Owned by:
Milestone: Component: AutoIt
Version: 3.3.8.1 Severity: None
Keywords: RichEdit Cc:

Description

This problem caused by the strange change in 3.3.8.1 for _GUICtrlRichEdit_Create function:

If Not _WinAPI_IsClassName($hWnd, $_GRE_sRTFClassName) Then Return SetError(1, 0, 0)

In previous versions it was different (wright(?)):

If Not IsHwnd($hWnd) Then Return SetError(1, 0, 0)

Why this change?
Because of this, now we can't create more than one RichEdit controls.

Attachments (0)

Change History (2)

comment:1 by BrewManNH, on Jun 5, 2012 at 5:04:50 PM

This has been fixed in the latest beta, see ticket 2077. In 3.3.8.1, just delete that line or modify it to what's in the new beta version.

Last edited on Jun 5, 2012 at 5:44:54 PM by trancexx (previous) (diff)

comment:2 by trancexx, on Jun 5, 2012 at 5:45:20 PM

Resolution: Duplicate
Status: newclosed

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.