comp.os.mswindows.programmer.win32
  Home FAQ Contact Sign in
comp.os.mswindows.programmer.win32 only
 
Advanced search
July 2008
motuwethfrsasuw
 123456 27
78910111213 28
14151617181920 29
21222324252627 30
28293031    31
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.os ... win32 Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Dialog problem, dont know how to do it         


Author: MasterM137
Date: Jul 12, 2008 16:39

Hey, i have been making a program in c++ and it got to the part where
i need to make a dialog box but i dont know how.
I want to make for example when you click on a botton it display's a
dialog box or a second form and ask for example :"whats your name" and
when you insert a name it send it to variable name.
I heard somewhere on the web that i need to use Form:ShowDialog()
But i dont know where to begin i had a look at MSDN library but it did
not help me much.

And i did not find any succesfull tutorials showing how to create a
dialog box either so i dont have any idea how its supose to be done.
So i ask if someone can teach me or show me the steps to launch a
dialog when i click a botton.
Thanks in advance.
1 Comment
  Detecting maximized console         


Author: 440gtx
Date: Jul 12, 2008 04:03

I would like to detect if the maximize button on the console has been
pressed. This is not the same as full screen mode so
GetConsoleDisplayMode is not the appropriate function. I tried Console
WinEvents but was not called back for anything. GetTitleBarInfo seemed
promising, but rgstate[3] always came back 0 regardless if maximized.
Is there some way to detect the console is in the maximized state from
a console application running inside it?
1 Comment