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.
Subject |
Author |
Date |
|
Seung Cheol Lee
|
Oct 24, 2007 - 11:35 PM
|
Hi.
I have updated the Prof-UIS 2.81. I used the static control applied CExtLabel. The caption of static control was seted the string with "\n" (return character). ex) " this is \n the sample \n source"
In Prof-UIS 2.80, the static control was outputed well. But In Prof-UIS 2.81, the error was occured.
ex) " this is \n the sample \n source" ======================== Prof-UIS 2.80 ======================== this is the sample source"
=============================== Prof-UIS 2.81 ( # <-- strange character ) =============================== this is #the sample # source ===============================
|
|
Technical Support
|
Oct 26, 2007 - 8:07 AM
|
Yes, we confirm this issue. The following method CExtLabel::DoPaint() (CExtLabel.cpp) bool bForceSingleLine =
( strText.Find( _T("\n") ) >= 0 ) ? true : false; actually should be bool bForceSingleLine =
( strText.Find( _T("\n") ) >= 0 ) ? false : true; Please modify these lines and recompile the library. The problem should be gone.
|
|