Re: Win32Lib and Dos32Lib
Thanks for the feedback on Dos32Lib.
[Monty King wondered...]
> does this lib (dos32) support the ability to affect different window
images,
> so that a user can cusomize their program easily???
At the moment, only a single look and feel is supported. The need to support
several L&Fs became a task of it's own in WinMan, and I ended up putting
more effort into that than into the controls.
I do plan on adding hooks so that multiple L&Fs can be supported -
eventually. But for the moment, I'm trying to stay away from bells and
whistles, and just provide a moderately functional set of tools.
[Michael Sabal wrote...]
> Oh, one more note regarding WS_CLIENT_EDGE. I'd like to see
> that feature added to Win32Lib, but not in the create function. It
> would make more sense to me to have a setStyle(controlID,styleCode,onOff)
> procedure to handle that in the same way setEnable or setVisible does.
I'm not sure that you can actually modify attributes such as this on the
fly. I'll have to look into this.
[Alan Tu wrote...]
> Just to confirm, it is not possible to make buttons in dialog boxes
> that say what one wants them to say using <message_box>? Can
> I do this in Win32lib?
Win32Lib *still* does not officially support multiple windows, including
modal windows. I've been putting most of my attention into adding graphic
support. Perhaps next month I'll have a chance to remedy this.
[For you NT users of Win32Lib...]
Does anyone still need support for LoadBitmap? Currently, Win32Lib uses an
API call that is not supported NT versions prior to 4.0. I've finally got
the code to load a bitmap in Win32 manually working. So if someone with an
old version of NT needs this function, let me know and I'll try to
incorporate it into the code.
[The next Win32Lib release...]
...will probably come out some time next week.
Thanks to people harassing me about it, setFont() *finally* works with
controls. Still no support for colored fonts in controls; I'm working on it.
I've also gotten some rudimentary bitmap support. You can get a handle to a
bitmap using loadBitmapFromFile(), and display a bitmap with drawBitmap().
There is not yet any support for manually creating bitmaps; I'll probably
only have support for creating monchrome bitmaps (if at all) for the next
release.
With Win32Lib finally gaining some graphic capabilities, you can expect
onPaint to change slightly. Currently, you pretty much have to redraw the
entire window in an onPaint event. At a minimum, I'll pass the "damaged"
region area that needs to be redrawn. But that won't be for another version
or so.
-- David Cuny
|
Not Categorized, Please Help
|
|