About 21,600 results
Open links in new tab
  1. c++ - How to make multiple windows using Win32 API - Stack Overflow

    May 22, 2010 · You could create multiple windows using just one windows class. But the problem with that is that you have one windows process function to deal with more than one window. That would work fine in this simple example.

  2. Multiple Monitor Applications on Different Systems - Win32 apps

    Jan 7, 2021 · To have a different screen saver on each monitor, use the multiple monitor functions to handle each monitor separately. Input devices that deliver coordinates to the system in absolute coordinates, such as tablets, have their cursor input restricted to the primary monitor.

  3. visual c++ - What's the best way to deal with multiple monitors ...

    Jul 1, 2010 · I want to create a game that will take advantage of multiple monitors. For example, if the user has 3 monitors side by side I want the program to spread the image across all 3 monitors. How am I supposed to do this? Can I just make one really big window, or do I have to do 3 separate windows?

  4. How do I programmatically reposition monitors in a multiple

    Dec 22, 2021 · Put the desired upper left corner of the monitor in the dmPosition.x and dmPosition.y fields. You’re probably also going to want to update the monitor size, which you do by setting the DM_PELSWIDTH and DM_PELSHEIGHT flags, putting the corresponding values in the dmPelsWidth and dmPelsHeight members.

  5. QT Quick C++ Application with multiple screens - Stack Overflow

    May 21, 2020 · I am new to QT Quick and QML and I am trying to build a Linux Desktop multi screen application using C++ and QT. I have seen the examples provided by QT but most of the examples are single screen a...

  6. Making multiple windows in a program? - C++ Forum - C++

    Jan 14, 2014 · If you need multiple forms/windows/dialogs, then you have an application that does multiple things. It stands to reason that there may be three 'classes' of objects - each requiring a seperate window.

  7. [WIN32 API] Multiple Window Creation. - C++ Forum - C++

    Nov 6, 2015 · At the top link are examples of creating multiple instances of the same Window Class - and keeping instance data seperate. At the 2nd link (reply #5!) is an example of a main start up Window Class, which launches windows of seperate but different Window Classes, which I think is what you are trying to do.

  8. Positioning Objects on Multiple Display Monitors - Win32 apps

    Jan 7, 2021 · For an example of how to position objects correctly, see Positioning Objects on a Multiple Display Setup. Using SM_CXSCREEN and SM_CYSCREEN to determine the location of an application desktop toolbar (also called appbar) restricts the appbar to the primary monitor.

  9. Multiple Display Monitors Functions - Win32 apps | Microsoft Learn

    Jan 7, 2021 · Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window.

  10. c++ - How to create two windows separately using MFC? - Stack Overflow

    Dec 29, 2016 · Use the MFC wizard to create MDI app. You would define 2 different sets of document/childframe/view in your app. In CWinApp create those document templates and in CMainFrm create a document of each type with the required data. I mean two windows on the same main frame. I scare that your way display two separated windows.

Refresh