Re: OpenGL MDI in win32 *annoying*



Scott Moore wrote:

Well, as fungus implied with customary tact

:-)

(1)

If you need to create a child...


"Child window" isn't the same as "MDI", and it's not terribly clear what the OP wanted.

(2)

Any tool kit is bound to simplify GDI, and you could pick any of them.
I think the OpenGL preferred method would be GLUT.


GLUT doesn't do children or MDI... :-)

(3) my personal preference is to execute the program as a console enabled
program, then output using normal print statements to that. Console
programs in Windows can open windows, do graphics, etc., just as a
normal executable can. The console attribute in the PE executable simply
assigns the program a console. This *should* allow cout use, but
the compiler/toolset you are using could be placing some barriers in
your way.

Use the "AllocConsole()" function to create a console window for a Win32 application.




-- <\___/> / O O \ \_____/ FTB. For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again.  They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful.  But it happens
every day.  I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address

.



Relevant Pages

  • Re: CreateProcessAsUser - Process starts then exits
    ... Windows XP Media Center ... public Int32 dwX; ... public IntPtr lpReserved2; ... parent's console. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: CreateProcessAsUser - Process starts then exits
    ... service most likely runs in a separate invisible session. ... the program I was trying to start was a windows forms app I ... public IntPtr lpReserved2; ... parent's console. ...
    (microsoft.public.win32.programmer.kernel)
  • Novell Client login form enables reading and writing from and to the clipboard of the logged-in
    ... Novell Client for Windows, ... Anyone with access to the computer's local operating system console, ... inject its own textual content into the clipboard of the currently logged-in ...
    (Bugtraq)
  • Re: New HDD Installation
    ... Right clicking on the partition or using the | Action> All Tasks menu at the top of the console should show the option, either greyed out or usable to make the partition active. ... Do the fixboot and fixmbr things in the Recovery Console then see if things change. ... There are other ways to mark the partition active, either with a Windows 98 startup disk or using the DISKPART command while in Windows XP. ...
    (microsoft.public.windowsxp.general)
  • Re: Cannot Correctly Preview Fax in Fax Console
    ... I no way do I doubt what you are saying, but until now, all known problems with previewing faxes have had one of two causes: incorrect file associations for TIF files or end user error using Windows Picture and Fax viewer. ... >>>I have used the fax printer Windows accessory many times. ... The Fax console comes>>> up. ...
    (microsoft.public.windowsxp.print_fax)