المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : wher should be a modeless dialog box be created



C++ Programming
11-25-2009, 05:00 PM
Hello all,

I came across a question regarding modeless dialog box and i am confused regarding the answer. The question goes like this
A Modeless dialog box must not be created over
1) Heap 2) Stack 3) Globally 4) Locally Static

which is the appropriate option to choose. Will locally static have the same scope as that of globally declared objects. As its clear that for a modeless dialog box the object must be accessible throughout the program

Regards
Sujay