[perl-win32-gui-users] Mouse click event on the main window

2005-05-11 Thread Philippe Paclet
I am new to Win32::GUI. I would like to open a simple, plain, main window, with only label objects on it, let say, and intercept a mouse click anywhere on the client area, so that, depending on where the click happens (Win32::GUI::GetCursorPos()), different actions can be taken. It doesn't

Re: [perl-win32-gui-users] Button and RichEdit issues

2005-05-11 Thread leonard . jacobsen
Thank you for your replies. I tried the DESTROY solution and it did indeed work, so thank you very much :) As far as the button hang goes, the below code has the same problems, however, when you remove the StatusBar it doesnt. Its very odd and i'm not sure how to go about debugging it. I tri

Re: [perl-win32-gui-users] Button and RichEdit issues

2005-05-11 Thread Jez White
Ok - Ariel's solution (calling DESTROY) on the richedit controls before exit solves the crash for your example:) I must admit I'm a bit stumped at the button hang - I was able to reproduce it. It must be something to do with TabFrame (probably a scoping issue) since if the buttons are created d