Results 1 to 3 of 3

Thread: new window

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2002
    Posts
    5

    new window

    Hi all!
    I'm working on my first assignment which requires popup a new window whenever I click on the main screen. This new window will display the spot I select from the main screen. I've no idea how to start because I need to add my code to existing project. Please help.

    Thanks in advance.
    nb

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2002
    Posts
    6

    Re: new window

    If this is for a school project, you really need to do some reading. Anyhow, I'll help you out.

    If you just need to popup a message box you can do this by:

    Code :
    MessageBox(NULL,"Clicked window","ERROR",MB_OK|MB_ICONEXCLAMATION);
    >"This new window will display the spot I select from the main screen"

    I don't understand what you mean.

    -vatoloco

  3. #3
    Member Contributor
    Join Date
    Apr 2002
    Location
    brooklyn, ny
    Posts
    65

    Re: new window

    this is MFC project righ ?

    What he means , when he clicks with the mouse on the screen a NEW Dialog box will pop out, with the info about where he clicked on the Main screen, X Y values ..

    [This message has been edited by jubei_GL (edited 07-23-2002).]

    [This message has been edited by jubei_GL (edited 07-23-2002).]

Similar Threads

  1. Replies: 4
    Last Post: 01-19-2019, 10:45 PM
  2. Window is redrawn inside the OpenGL area instead of the whole window
    By Visual act in forum OpenGL: User Software
    Replies: 0
    Last Post: 09-18-2015, 06:31 AM
  3. Attaching a glut window to window's window
    By jowins in forum OpenGL: Windows
    Replies: 2
    Last Post: 11-17-2005, 02:24 AM
  4. Eliminating window decorations on non-fullscreen window
    By amjadj in forum OpenGL: General
    Replies: 1
    Last Post: 02-12-2004, 02:24 AM
  5. overlay a semi-transparent window on an OpenGL window
    By Coconut in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-17-2002, 07:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean