![]() |
|
#1
|
|||
|
|||
Progress Indicator called from other class failsI have a simple dialog app which includes a progress indicator (CProgressCtrl). I have previously successfully managed to get this working by having a decoding program doing everything from the same class (dlg class).
The difference now is that I’m doing the decoding from other standard ANSI C++ classes. As I don’t want to “mess around” with those as they need to be compiled for different platforms, I though that I could update the decoding progress by a simple “method call”, e.g. From other class: CPP / C++ / C Code:
In main dialog class: CPP / C++ / C Code:
But it seems like I lose the m_hWnd as I get Asserts, i.e. CPP / C++ / C Code:
Is there a easy way to fix this or have I approached this problem completely wrong? BR /// Rob Last edited by LuciWiz : 11-Nov-2007 at 09:57.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|
#2
|
|||
|
|||
Re: Progress Indicator called from other class failsWhat kind of application are you making? A console or an MFC?
Also, what are the exact assert messages you get? |
Recent GIDBlog
Welcome to Baghdad by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Classes and allocating memory | BlueFireCO. | C++ Forum | 13 | 26-Jul-2007 20:31 |
| Hard drive/CPU Diagnoses Issues | binarybug | Computer Hardware Forum | 1 | 22-Jan-2007 19:23 |
| Message Class | TransformedBG | C++ Forum | 5 | 29-Nov-2006 21:28 |
| Box Class, need help again :( | TransformedBG | C++ Forum | 7 | 13-Nov-2006 15:11 |
| a tester class and then some. | postage | Java Forum | 1 | 06-May-2006 15:48 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The