Use the CreatedibSECTION function to avoid the palette operation. Annex is a complete project. As part of a big program, it also includes a copy constructor
link:
http://sddongxh.vip.sina.com/software/mydib.rar