Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create global variable to be used accross dialog boxes

Status
Not open for further replies.

ssdave

Programmer
Jul 8, 2002
9
0
0
US
How do you create a global variable that can be accessed by the entire dialog type application? For example, I have one dialog box that is calling another dialog box, and I want them to close simutaneously. Thanks in advance!
 
Sending a regular WinMessage between them should do the trick, WM_CLOSE baybe.....

The dialog receiving this mess will automatically close. In this way you avoid busy waiting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top