Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How to access sub window information in other functions?
icon5.gif  How to access sub window information in other functions? [message #33218] Sun, 17 July 2011 12:43 Go to previous message
silverx is currently offline  silverx
Messages: 62
Registered: March 2011
Member

In function, Subwindow1::OpenSubwindow() I great a second window, known as dlg2, using

WithTheSubWindow<TopWindow> dlg2;
CtrlLayoutOK(dlg2, "This is the subwindow");

Which opens fine. And I can access that window as dlg2 only in this function. How do I access things in that window in another function else where. Like I have a button that gets the size of the window. It calls another functions, but when I type in dlg2. I get nothing. I have tried all kinds of things, but nothing seems to get me to that window so I can change things on it like labels or get information from it.

How can I access this window from another function.

I have attached the complete code if that helps.

david

 
Read Message icon5.gif
Read Message
Read Message
Read Message icon7.gif
Read Message
Previous Topic: umk is a virus! according to avira
Next Topic: Is their a way to have code execute if the window size is changed?
Goto Forum:
  


Current Time: Fri Jul 18 11:52:04 CEST 2025

Total time taken to generate the page: 0.04064 seconds