trichview.com

trichview.support




MDI Application


Return to index


Author

Message

Ioan BOGDAN

Posted: 08/13/2004 18:44:05


   Hello! I've got some questions about C++Builder.


   In a RichEdit, if you move the cursor too much(for example,

if you are on the last line and you press Down Key) it beeps. How can I stop

this Beeping?



   In a MDI Application, I've got some Child windows. For each one there

is a speed button with a bitmap. When the user clicks a button, I want the

respective window to activate. Which is the method that does this? Until

now, I made something like this(which is very uncomfortable):

     while(MainForm->ActiveMDIChild->Name!="TheRightWindow")

        MainForm->Next();

       

     // and then, to show it if it is minimized, ...

     if(MainForm->ActiveMDIChild->WindowState==wsMinimized)

        MainForm->ActiveMDIChild->WindowState=wsNormal;


It's gotta be something else easier, isn't it?

                                I. Bogdan





Powered by ABC Amber Outlook Express Converter