Code::Blocks Forums

User forums => Help => Topic started by: frog-o on May 07, 2005, 03:48:24 pm

Title: posible MDIBug fix
Post by: frog-o on May 07, 2005, 03:48:24 pm
I edited the source in editormanager.cpp

and add ed->Show(); at 264 (i least i beileve it to be 264) of the latest from cvs.  

I might have done some other minor modifications but i don't think so.  

Please let me know if this work for you?

frog-o

The widow is not show that why it is maxiumized like that  :D
Title: posible MDIBug fix
Post by: Anonymous on May 07, 2005, 09:01:00 pm
Sorry  I reexamed my code and  just found out this did not work but here what you need  

if (ed)
        {
            ed->Show();
            ed->Activate();
           
            if(domaximize)
            {ed->Maximize(true);
            ed->GetControl()->SetFocus();
            }
Hopefully this is it i have not tested it much
Title: posible MDIBug fix
Post by: Anonymous on May 07, 2005, 11:59:05 pm
Thanks for your testing! Um, are you sure it works now?
Title: posible MDIBug fix
Post by: Anonymous on May 08, 2005, 03:27:49 am
Nothing for cearten it worked on mine but i did not do a complite rebuild and i been playing around with editormanger alot and might have forgoten something please tell me if it work for you.
Title: posible MDIBug fix
Post by: Anonymous on May 08, 2005, 11:57:12 pm
Well I done more testing on what i thought was a fix for some reson it work some of the time but not all it seem random.
I guse the fix is a dud, make this the 100th why not to make mdi fix.
frog-o

ps please note line 264 is not not right from cvs anyway.