![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
В преддверии версии 1.70
Kladov © (2003-03-06 21:23:00)
Хотелось бы уточнить, есть ли еще пожелания перед выпуском новой версии.
Пока что ожидаются вот какие изменения:
KOL and MCK news (v1.70):
[-]KOL: LabelEffect shadow color fixed. Thanks to Dimaxx.
[-]KOL: TMenu.ItemBitmap[ ] assignment fixed. Thanks to Andrzej Kubaszek.
[-]KOL/MCK: TGraphicTool.AssignHandle fixed - by Yury Sidorov. There were font resource leak if a handle was assigned to a control, which had not font assigned before.
[±]KOL: methods added: TCanvas.WTextOut, WExtTextOut, WDrawText, WTextRect which allow to draw Unicode text on canvas. Functions TCanvas.WTextHeight and WTextWidth fixed.
[***]MCK: all the event handlers are now assigned only after creating all the controls and objects on a form, in SetupLast method of mirror controls. This is not so only for menu, toolbar, and other similar OnClick-like events, which are called mostly by the user. This change prevents calling all the event handlers while creating a form, when some of controls and objects could be not created yet. But please note, that some necessary events also will not be called in result, such as OnResize. So, call it by your code just after form creating (e.g., in OnFormCreate event handler). By a suggestion of Alexander Pravdin.
Извиняюсь за английский, но обычно не перевожу до последнего, так проще бороться с изменениями.
Yury Sidorov (2003-03-07 10:30:00) [21]
Да, для DLL проектов нужно что-то сделать, а то сейчас каждый извращается как может :)
Я, например, перенес все это добро:
{$IFDEF F_MCK}
begin // PROGRAM START HERE -- Please do not remove this comment
//....
за последний end. (энд с точкой) программы. Правда компилятор предупреждает, что все что находится после end. будет игнорироваться.
Bartov (2003-03-07 09:10:00) [22]
И про dof-файлы не забудьте!
SPeller (2003-03-07 03:42:00) [23]
Пока что вместо ручного удаления директив извратился другим способом:
{$IFDEF F_MCK}
begin // PROGRAM START HERE -- Please do not remove this comment
{$IFDEF KOL_MCK} {$I SPlRegEdit_0.inc} {$ELSE}
{$ENDIF}
end.
{$ELSE}
begin
end.
{$ENDIF}
Но это, ИМХО, глюк. Лучше сделать по-человечески.
SPeller (2003-03-07 02:53:00) [24]
Владимир, я как-то писал вам на счёт inc-файлов проекта для ДЛЛ. Хотелось бы чтобы МСК для ДЛЛ-проекта не вставляла строки
{$IFDEF KOL_MCK} {$I TPI_0.inc} {$ELSE}
{$ENDIF}
Или другим способом, вы знаете о чём я.