U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Other problem with Clipboard in GridCtrl
Other problem with Clipboard in GridCtrl [message #34543] Mon, 28 November 2011 12:29 Go to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello Daniel

When using CopyColumnNames(true) I do not get the column names copied.

I think the problem is in GridCtrl::SetClipboard(). The problem is solved just deleting a line (see code).
IMHO the header row cannot be selected, so I do not understand the reason of IsSelected() there:

for(int j = fixed_cols; j < total_cols; j++)
//	if(all || IsSelected(i, j, false))
		tc += hitems[j].GetName() + '\t';


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Previous Topic: Is this a bug?
Next Topic: ArrayCtrl Write To Freed Memory Detected
Goto Forum:
  


Current Time: Fri May 15 07:32:51 GMT+2 2026

Total time taken to generate the page: 0.00454 seconds