Ive searched everywhere, Im trying to draw a picturebox using API, something like this listbox...
list1 = CreateWindow("ListBox",NULL,WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_NOTIFY,5,130,140,100,hwnd,(HMENU)ID_LIST1,g_hInst,0);
I would define something similar to ID_LIST1, say
#define ID_PICTURE1 111
in my resource.h
I would declare something similar to list1, say
HWND picture1;
in my define.h (or similar.h) for the picutrebox hwnd handle
Do you use CreateWindow as in the listbox above or CreateWindowEx as in an editbox?
What would "Listbox" in the above example become?
Or am I simply way off target?
Any help will be appreciated
list1 = CreateWindow("ListBox",NULL,WS_CHILD | WS_VISIBLE | WS_VSCROLL | LBS_NOTIFY,5,130,140,100,hwnd,(HMENU)ID_LIST1,g_hInst,0);
I would define something similar to ID_LIST1, say
#define ID_PICTURE1 111
in my resource.h
I would declare something similar to list1, say
HWND picture1;
in my define.h (or similar.h) for the picutrebox hwnd handle
Do you use CreateWindow as in the listbox above or CreateWindowEx as in an editbox?
What would "Listbox" in the above example become?
Or am I simply way off target?
Any help will be appreciated