Home » Community » Newbie corner » Anyone have trouble with drag n drop on GridCtrl?
Anyone have trouble with drag n drop on GridCtrl? [message #25342] |
Wed, 17 February 2010 19:15 |
alendar
Messages: 47 Registered: January 2010 Location: Idaho, USA
|
Member |
|
|
I tried a simple bare bones drag/drop operation with GridCtrl. I compiled on VC 2010 and 2005. Both failed at
void GridPopUp::Paint(Draw &w)
{
Size sz = GetSize();
gd->Paint(w, 1, 1, sz.cx - 2, sz.cy - 2, val, style | GD::WRAP | GD::VCENTER, fg, bg, fnt);
DrawBorder(w, sz, BlackBorder);
}
I tried the UltimatePlayer for an example of a dragging GridCtrl, but could not get the FMod dll to work.
Anyone have a sample of a working DnD op with GridCtrl?
cd7651feeb698f6ac6cec1f6deda5e5b
|
|
|
Goto Forum:
Current Time: Fri Mar 29 13:03:00 CET 2024
Total time taken to generate the page: 0.01474 seconds
|