1. Help on Win32lib
- Posted by JesusC - Jesus Consuegra <jconsuegra at REDESTB.ES> Jan 22, 1998
- 558 views
Euphorians: Me again to request help. I'm trying to dive the deep waters of Win32 programming, and thanksfully to David's Cluny Win32Lib and Francis Bussiere wrapper, I've been able to write some nice (but useless) win applicoids. At this time I'm focusing the Win version of my termometer application. What I need to do (and I unable to) is to draw a kind of pane with a big text inside (the temperature). I cannot use the standard "textedit" controls, since the user can edit them. I should be able to change the background of the pane (to give a visual feedback when temperature goes out of range), and obviously, to change the text (the temperature) to reflect changes in the device. Everything in a fixed window that the user should not change, move or even close. I've seen xTextOutA in the libraries, but I have not enough expertise to even try to implement it as an extension of the above mentioned wrappers. Thanks in advance. Jesus- (From Sitges, Spain) ---------------------------------------------------- ICQ# 2943145
2. Re: Help on Win32lib
- Posted by Michael J Raley <mjronline at IT-WORKS.COM> Jan 22, 1998
- 564 views
JesusC - Jesus Consuegra wrote: > > Euphorians: > > Me again to request help. > > I'm trying to dive the deep waters of Win32 programming, and thanksfully to > David's Cluny Win32Lib and Francis Bussiere wrapper, I've been able to > write some nice (but useless) win applicoids. > At this time I'm focusing the Win version of my termometer application. > What I need to do (and I unable to) is to draw a kind of pane with a big > text inside (the temperature). I cannot use the standard "textedit" > controls, since the user can edit them. I'm not that advanced, but it seems you could use either a onChange/onFocus routine to return the text if a user altered it, or Use a single Line listbox and EraseItems before adding the temp back.