471,594 Members | 1,784 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,594 software developers and data experts.

calling DoModal() from the constructor


In our application we've created some temporary
dialog boxes. Rather than the usual method of
1) calling the constructor for the dialog,
2) doing other initialization
3) calling DoModal()
4) calling some functions on the dialog object to
get our results

We're passing in some pointers to the constructor for
both setup, and retrieving the results. Then we call
DoModal() from inside the constructor, and its done
in one flew swoop. My question is:

Will this style come back to haunt us? Are there
any problems (other than a general lack of flexiblity)
that we're going to run into doing things this way?

Thanks for any help.

Brent

Nov 17 '05 #1
0 1211

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Murat Tasan | last post: by
6 posts views Thread by Justin | last post: by
8 posts views Thread by Greg Bacchus | last post: by
12 posts views Thread by st_ev_fe | last post: by
6 posts views Thread by daveb | last post: by
1 post views Thread by newbie | last post: by
7 posts views Thread by =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.