Thread: anyone who is kind?

  1. #1
    Christine
    Guest

    Unhappy anyone who is kind?

    merci,there u are.....my saviour!
    i just want to know what is the difference between modal and modeless dialog boxes? secondly,can show me how is the modeless dialog boxes working?if can,i wish to have the source code for it. u can just make it simple as u can.....i just want to know how it goes?i need it for as a sample only........... hope u can give a big big hand in here. merci @-|-|-|-+

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    http://www.cprogramming.com/cboard/a...p?s=&forumid=7

    You should get together with "Jenniffer", oh, looking at your IP, I see you have!!!

    Come on. Post your code and we'll help you, but we will not do your homework for you!!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Christine
    Guest

    what u mean?

    i really need the help,well,what happened to the ip address?
    of course i will be the same......coz this is my college computers/
    not just me using the computers..... come on........ u think i am jenniffer......

    can u help me with modeless dialog boxes or not,adrianxw?

  4. #4
    Registered User C_Coder's Avatar
    Join Date
    Oct 2001
    Posts
    522
    A Modal dialogue box is one which won't let you use any other window until it(the dialogue box) has been closed.
    A Modeless dialogue box is the opposite in that you can use other windows while it is open.
    Modal dialogues are the more common.
    All spelling mistakes, syntatical errors and stupid comments are intentional.

  5. #5
    Registered User
    Join Date
    Dec 2001
    Posts
    8

    Smile

    Christine here are quick examples:

    //modeless dialog box;

    mdlg = new CMajorDialogbox;//create a new CMajorDialogbox class on the heap

    mdlg->Create(IDD_MAJOR);
    mdlg->ShowWindow(SW_SHOW);//show the new window

    if (mdlg != NULL) //if the window has already been created display it

    mdlg->SetFocus();

    //Modal dialog box;

    mdlg.DoModal;

    Hope that helps;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. IDEs and editors of different kind
    By Kempelen in forum C Programming
    Replies: 3
    Last Post: 09-29-2008, 05:11 PM
  2. What kind of job...
    By Discolemonade in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-15-2005, 08:23 PM
  3. what kind compiler should I use
    By ilove in forum C++ Programming
    Replies: 9
    Last Post: 06-22-2005, 05:07 PM
  4. Getting three of a kind
    By Kons in forum C Programming
    Replies: 8
    Last Post: 08-19-2003, 12:44 PM
  5. What kind of programs should I start writing?
    By Macabre in forum C++ Programming
    Replies: 23
    Last Post: 04-12-2003, 08:13 PM