Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » A thing equivalent to CEdit Collapse All
Subject Author Date
tera t Sep 5, 2007 - 2:44 AM

Hello

I want to display character string in the top and bottom center.
CExtEdit does not seem to have those functions.

Technical Support Sep 5, 2007 - 12:44 PM

The CExtEdit class does not implement any editing behavior. It is a re-painted version of the MFC’s CEdit class with borders. We follow an absolutely different approach in such cases. We create an edit control whose size is exactly determined by the height of the edited text and place the editor into the apporpriate location.

tera t Sep 5, 2007 - 6:12 PM

Hello.

It wants to easily come true.
Will not there be a good part?

Technical Support Sep 6, 2007 - 7:10 AM

Actually it is not so easily to implement as it sounds. We believe that such a feature is less important than other features in our TO-Do list, so we cannot promise you that it will be implemented soon.

tera t Sep 6, 2007 - 10:25 PM

Hello~

CRect rect, rect2;
GetClientRect(rect);
rect2 = rect;
rect2.top = (rect.bottom - nFontHeight) / 2;
rect2.bottom = rect2.top + nFontHeight;
SetRect(rect2);