From: Alexander S.K. <al...@be...> - 2004-03-14 11:51:05
|
Luiz, there is yet another problem - in December you have changed the default return code of the window procedures ( DefWndProc ) from -1 to 0. Could you explain, why ? The code -1 was chosen to say the callback function MainWndProc() that it should call windows default message handling procedure DefWindowProc(). Return codes 0 and 1 ( FALSE and TRUE ) are used by Windows API for it's own purposes. Currently, the replacing -1 with 0 causes, for example incorrect displaying of the Treeview control ( see hello.prg ) and, potentially, other problems, too. If there won't be objections, I'll revert that change. Regards, Alexander http://kresin.belgorod.su |