Win 32Lib0.42: how use XPM graphics?
David,
I assume this is another really silly question, but: how do you use XPM
graphics in a program?
The data structure of the xpm constant looks reasonable & understandable,
but I can't get an xpm to display. I've tried reading the documentation &
examples, particularly "generic". Then I tried creating a bitmap control
with xpmToBmp(my_xpm) as last parameter; then a bitmap control with "0" as
last parameter & then setBitmap(control,xpmToBmp(my_xpm)); & then I tried
making a bitmap control with "createDIB(xpmToBmp(my_xpm))" as last
parameter, but only the last put anything at all on the screen & it wasn't
right.
Dan Moyer
|
Not Categorized, Please Help
|
|