Page 1 of 1

To be able to specify the version of RichEdit to use.

Posted: Sat May 31, 2008 8:56 am
by DoubleDutch
An added optional parameter for the EditorGadget to specify version (windows only) would be great:

Result = EditorGadget(#Gadget, x, y, Width, Height [, Flags][,version$])

eg:

Code: Select all

Procedure EditorGadget(h, x, y, w, h, f=0, v$="RichEdit20A")
  ProcedureReturn CreateWindowEx_(#WS_EX_CLIENTEDGE,v$,"",f, x, y, w, h,WindowID(0), 0, GetModuleHandle_(0), 0)
EndProcedure
The default for compability would be "Richedit20A", but the programmer could pick "Richedit50W" if they wanted the latest version.

This way all the normal PureBasic commands could be used to control the gadget rather than having to use the API commands.

Re: To be able to specify the version of RichEdit to use.

Posted: Mon May 31, 2010 8:05 pm
by neotoma
Still missing.

At the moment i am writing a Editor and missing the new Functions. (RichEdit50W).

Mike