Board index » delphi » Strange behavior
jack
Delphi Developer |
Strange behavior2004-01-10 04:33:04 AM delphi156 Hi all I came across a strange behavior in one application. The platform is Windows XP Prof and Delphi 6. The main form has one menu and some buttons. Somehow, I don't know why, after some processing, the caption bar and the menu becomes disabled. The buttons don't look disabled but bahave like they are, because nothing happens when clicked.They are not frozen because the flat effect (that raising of the edges) is still working when mouse is over them. Application has an System Tray icon and a pop-up menu which works. However , any other window open from the pop-up menu is frozen. I suppose this may be something related with some code where I play with SetForegroundWindow, GetNextWindow and other stuff like this. Any ideas? |