Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Draw PictureBox

Status
Not open for further replies.

LPlates

Programmer
Jun 5, 2003
554
AU
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 :)
 
Reply to self: Dont waiste your time here.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top