Re: Using GDI Plus with Win32Lib
- Posted by mattlewis (admin) Jan 09, 2012
- 1306 views
buzzo said...
Matt,
My code:
atom wH wH=getHandle(win) -- no image
win is the constant generated here:
constant win = createEx( Window, "Relatives", 0, xWinPos, yWinPos, winWidth, winHeight, 0, 0 ), GStatus = create( StatusBar, " ", win, 0, {{300},0.46,-1}, 0, 0, 0 ),
Am I missing something?
That's the correct way to get handle. I can't comment on much else, since I've only seen a sliver of your code. I downloaded the GdiPlus library from the archives, and I can't find a match for the version of GdipCreateFromHWND that you're using. Your code shows you passing 2 parameters, but the copy I downloaded only takes one.
Matt