Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
HazJ

Merging Dialogs

Recommended Posts

I have made three dialogs but I need some help/advice on how to merge them all together into one. Any help/advice is much appreciated...

Dirty Haz

Share this post


Link to post
Share on other sites

you got any more info HAZ?

All depends on the positioning of each dialog and their particular settings.

In the past, to make it easier, i have created a new Dialog from scratch with all (three in your case) dialogs being mixed together correctly - placing all buttons etc as needed - ive then just edited the new config with the stuff from the old dialog configs

I personally don't know of any simple ideas to get three into one with out working out the specifics and doing the editing...

Brief guide...

ensure in your defines.hpp when you are merging the files you will only need one of these - then ensure all the correct classes are there that you intent on using in your dialog. Do not copy the same ones over and leave them as duplicates as this will cause an error.

Also #define - all that you need in this one file.

Next bit is the merging of the actual dialog...

really and truthfully you will need to create a new master dialog and merge all three dialogs together - keep all the same names etc - that way you can then add the necessary code to the buttons without the dicking around - this way you dont duplicate backgrounds or anything like that.

Oh and make sure your idc numbers do not conflit - this may need tweeking

Edited by Mikie boy

Share this post


Link to post
Share on other sites

What info do you need?

Dirty Haz

Share this post


Link to post
Share on other sites

You want me to post all three dialogs (dialogs.hpp and defines.hpp) here?

Dirty Haz

Edit/Update: Never mind, I have done it now...

Dirty Haz

Edited by Dirty Haz
Edit/Update

Share this post


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

×