• Advertisement
Sign in to follow this  

VC++ Tab Control, how to load resources in tab pages

This topic is 4255 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I'm trying to create a tab control. Sofar i've got a tab thingy and I can set te tab-labels by TabCtrl_InsertItem() No I want to simply add pages to the tab's from resources I've created, instead of hardcoding each page. I want as less inlcudes as possible, but when looking around for example I realized that the #include <afxwin.h> will be neccessary (right??) Can anyone tell me te simplest and easiest way to load tabpages from resource?? is this via afxwin??? when including afxwin, it gives pproblems with the windows.h header. but when I inlude the afxwin above windows.h it goes well, expept for the OPENFILENAME types are now giving errors. So how to include this stuff correctly IF it is needed to load my resources into tab-pages

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement