Archived

This topic is now archived and is closed to further replies.

Writing a win32 wrapper

This topic is 5176 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

I am currently writing a Win32 wrapper. Things go pretty well and I am currently asking myself the question if it would be usefull of adding alot of features to change the the style of a control during run time. For instance, making an edit control(CTextbox) multiline or not, adding scrollbars, making a CListbox multiple selection, etc. during runtime. I do have a function for each control called CreateStyle. For instance, I can do it like this:
DWORD dwStyle = Textbox1->CreateStyle(...);
Textbox1->Create(....., dwStyle);
 
Would it be usefull to have those features avaliable in my control? Toolmaker
-Earth is 98% full. Please delete anybody you can.

Share this post


Link to post
Share on other sites
This ain''t funnah guys, stop noping it. I am looking for some serious answers! (Steve, I am going to rob all your monies for this!)

Toolmaker



-Earth is 98% full. Please delete anybody you can.

Share this post


Link to post
Share on other sites
If you''re gonna put C on your classnames and make people call Create to use the controls then you might as well be using MFC.

But yes, you should be able to change most properties.

Share this post


Link to post
Share on other sites