Hello! I have a great problem. I have done a view showing a bitmap. The view always fits the size of the bitmap. In the case, that the view is smaller than the bitmap, scrollbars are shown to scroll over the bitmap. Now I want to implement the maximize functionality that way, that pushing the maximize button expands the view to fit the bitmap only, but not to the size of the mainframe window. How can I implement this functionality. I already catched the corresponding messages in OnSysCommand and I can resize the view to fit the bitmap, but I can not change the maximize button to the restore button. Is anyone out there who can help? Many thanks in advance. Peter from Vienna pmrainer
P
pmrainer
@pmrainer