Home » Community » U++ community news and announcements » Upp 705-dev1 released
Upp 705-dev1 released [message #9458] |
Tue, 08 May 2007 22:40 |
|
Changelog:
- many Drag & Drop improvements. All edit controls as well as TreeCtrl and ArrayCtrl now support it.
- ArrayCtrlDnd reference was added
- fixed MaxLen restriction in edits.
- PostgreSQL now supports EnumView, EnumSequences and EnumTables. GetColumns should also work.
- InnerJoin, LeftJoin, RightJoin, FullJoin and On methods were added to SqlExp interface to allow do joins in sql-92 way. Old way (which work only in Oracle (and probably in Firebird)) are naturally still available.
- as MinGW does not support TLS variables, it now compiles as "USEMALLOC" in MT mode
- IconDes: Insert from file operation was added
|
|
|
|
|
Re: Upp 705-dev1 released [message #9511 is a reply to message #9463] |
Sun, 13 May 2007 12:39 |
|
forlano
Messages: 1185 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
victorb wrote on Wed, 09 May 2007 12:21 | DnD is really great!
|
I agree!
Quote: |
Change needed for MinGW
Image ReadClipboardImage()
{
PasteClip pClip = Ctrl::Clipboard();
return GetImage(pClip);
}
|
Confirmed.
Moreover I run UWord under mingw and got similar problem. The fix is the same (file Clip.cpp):
void RichEdit::Paste()
{
if(IsReadOnly())
return;
RichText clip;
PasteClip pClip = Ctrl::Clipboard();
if(!Accept(pClip, clip))
return;
ClipPaste(clip);
}
Luigi
[Updated on: Sun, 13 May 2007 13:02] Report message to a moderator
|
|
|
Re: Upp 705-dev1 released [message #9513 is a reply to message #9458] |
Sun, 13 May 2007 18:06 |
atmks
Messages: 33 Registered: July 2006
|
Member |
|
|
hi
TreeCtrl doesn't show correct image(icon) of element, because
in TreeCtrl.cpp in line 823 is used bad value of Rect r
possible patch:
--- TreeCtrl.cpp (revision 57)
+++ TreeCtrl.cpp (working copy)
@@ -820,6 +820,7 @@
bg = hasfocus ? SColorHighlight : Blend(SColorDisabled, SColorPaper);
}
if(!(m.ctrl && m.ctrl->IsWantFocus())) {
+ r.SetSize(isz.cx, 0);
w.DrawRect(r, bg);
d->Paint(w, RectC(x + m.margin, y + (msz.cy - vsz.cy) / 2, vsz.cx, vsz.cy), m.value,
fg, bg, st);
|
|
|
|
Goto Forum:
Current Time: Sat May 04 12:00:40 CEST 2024
Total time taken to generate the page: 0.01509 seconds
|