Re: Using GDI Plus with Win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu