Thread View: comp.os.ms-windows.programmer.tools
1 messages
1 total messages
Started by Stuart M Lichtenthal
Fri, 01 Jan 1993 08:24
Use of ES_CENTER in OWL EditBox style
Author: Stuart M Lichtenthal
Date: Fri, 01 Jan 1993 08:24
Date: Fri, 01 Jan 1993 08:24
24 lines
1190 bytes
1190 bytes
I'm trying to create an editbox with the following style: Edit1->Attr.Style|=ES_READONLY | ES_CENTER; where Edit1 is a pointer to type TEdit in the Borland OWL. The compiler is 3.1. I get the proper READONLY behavior, but the strings I put in the Editbox (upon allocation with new) are not centered. I also tried adding the ES_CENTER to some of the example programs like edittest.cpp and was unsuccessful. Am I compiling with some wrong flag or is this a known problem? The reason I want to use an Editbox instead of a TStatic object is because I wasn't pleased with the positioning of the centered text in my Static child window. Thanks for any help, Stuart Lichtenthal smlg1015@uxa.cso.uiuc.edu .
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads