Re: [perl-win32-gui-users] Combobox

2006-10-28 Thread Kind, Uwe (AGIS)
Hi Teddy, try the following: #!perl -w use Win32::GUI ( 'WM_COMMAND' ); my $mw = new Win32::GUI::Window ( -name => 'mw', -left => 100, -top => 100,

Re: [perl-win32-gui-users] UserData

2006-10-28 Thread jez_white
Hi, Most of Win32-GUI is thread safe, and you should be Ok using UserData as long as the var is itself shared. You will have problems sharing controls and windows between threads, but you should be ok with basic types. An alternative approach is to use thread safe queues to handle communicat

[perl-win32-gui-users] UserData

2006-10-28 Thread Octavian Rasnita
Hi, Is the method UserData() thread safe? Can it be used for associating some data with a certain window in a thread, then read that data from another thread? Thank you. Teddy

[perl-win32-gui-users] Click-event handlers not called

2006-10-28 Thread Kind, Uwe (AGIS)
Hi, I've got a problem with popup menus for TabStrip-controls, demonstrated in the following lines of code. The same popup menu which works perfectly for the main-window doesn't work for the TabStrip-control. The menu is tracked, but the Click-event handlers of the MenuItems aren't called. Any he

[perl-win32-gui-users] Combobox

2006-10-28 Thread Octavian Rasnita
Hi, I want to create a combo box that has a visible edit box in which I can type words, and a listbox that can be opened and that can hold the typed words in. And I want that each time when I type a part of a word, it should select the first match from its list and copy it to the edit box. I have

[perl-win32-gui-users] RichEdit bug?

2006-10-28 Thread Octavian Rasnita
Hi, I have seen that if the window has the -dialogui => 1 and if it contains a RichEdit field and if the focus is in that RichEdit field and if the user presses escape, the window closes but the application doesn't finish. I have tried to kill the application using control+C and control+break, and