PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Richard Kelly on April 05, 2014, 11:21:35 AM

Title: Graphics Control
Post by: Richard Kelly on April 05, 2014, 11:21:35 AM
I added the graphics control to my form. The image I want it to contain is a defined image and in the resource file. I put the following code in the forms CREATE function and do not get the image loaded.


Local wszResourceName As wStringZ * 256

    wszResourceName = "IMAGE_ORANGESPHERE"

    GdipImageCtx_LoadImageFromResource (HWND_MAIN_PERSONSPHERE, App.hInstance, wszResourceName)