Ah thanks. Setting the window's background image is what I was after, but the gui_makeimage seems to work good enough.
I know I saw a post about this somewhere, but is there a way to change the color of a button, label, etc...? ofcoarse it works on a window. GUI_SETWINDOWCOLOR won't work on anything else as seen in code below. Sorry if Im being blind about something.
hWnd = gui_makeWindow(640,480,"test",dbpHwnd(),ws_visible() or ws_dlgframe())
hImage = GUI_MAKEIMAGE(320-128, 20, 256, 64,"myimage.bmp", hWnd)
`gui_positionWindow hWnd,2,2
GUI_SETWINDOWCOLOR hWnd,232,32,32
hButtonOk = gui_makeButton("OK",5,420,75,25,hWnd)
GUI_SETWINDOWCOLOR hButtonOk,32,32,32
hButtonCancel = gui_makeButton("Cancel",555,420,75,25,hWnd)
GUI_SETWINDOWCOLOR hButtonCancel,232,32,32
hLabel1 = GUI_MAKELABEL("Resolution:", 10, 70, 128, 20, hWnd)
GUI_SETWINDOWCOLOR hLabel1,232,32,32
hCBox = gui_makeCombobox(10,100,200,100,0,hWnd)
gui_clearItemData hCBox
for i=1 to 10
gui_insertString hCBox, "String "+str$(gui_GetItemCOunt(hCBox)+1), -1
next i
gui_updateWindow hWnd
startWin32
repeat
gui_getEvent
gui_clearEvent
gui_processMessagePump
sync
until gui_buttonPressed(hButtonOk)>0 or gui_buttonPressed(hButtonCancel)>0
sync sleep 0
GUI_CLOSEWINDOW hWnd
Inspirational Music: Descent ][ Redbook Audio CD Soundtrack