Hi, I have two questions:
- In the MyMainframe class, I create a SetDiag:
fSetDiag = new SetDiag(fClient->GetRoot(),400,200);
and then I write:
if(fSetDiag!=NULL) fSetDiag->Refresh();
I found that if I close the fSetDiag, the fSetDiag is not set to NULL, then segmentation violation. Any suggestions?
- If I want the fSetDiag window is always on the top of the windows, how to do that?