[perl-win32-gui-users] Fat sliders?

2006-12-27 Thread Steve Loughran
Hi all I am writing an application that is used on a touch screen, and would like to implement a slider, but it appears that there is no control over the size of the slider bar button to make it fat enough to accurately place a finger on the screen and select it. Does anyone have any

[perl-win32-gui-users] Get width/height of text + font

2006-12-27 Thread Steve Loughran
Hi all Probably a very simple answer to this (but it appears I may have missed it :) If I have created a font object, is it possible to get the width/height bounding box dimensions for text string if it was to be drawn/placed on screen using the font object? Many thanks for your help

Re: [perl-win32-gui-users] Get width/height of text + font

2006-12-27 Thread Jamal Mazrui
Try below info, taken from the common methods of Win32::GUI. Hope this helps, Jamal GetTextExtentPoint32(STRING, [FONT]) Returns a two element array containing the x and y size of the specified STRING in the window (with the specified FONT), or undef on errors. -Original Message- From:

[perl-win32-gui-users] Change values out of a thread

2006-12-27 Thread MALEADt
Hi, Maybe a stupid question, but how do I change a value of a textbox out of a thread? Textbox is created in the main program. On a button click, a thread is launched and detached, but that thread can't change the value of that textbox.. always getting: thread failed to start: can't call