IT Community - Software Programming, Web Development and Technical Support

What is ShowWindow() in VC++ Win32 application? Why we use ShowWindow()?

This is a discussion on What is ShowWindow() in VC++ Win32 application? Why we use ShowWindow()? within the C and C++ Programming forums, part of the Software Development category; What is ShowWindow() in VC++ Win32 application? Why we use ShowWindow()?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-30-2007, 12:35 AM
mobilegeek mobilegeek is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 205
mobilegeek is on a distinguished road
Question What is ShowWindow() in VC++ Win32 application? Why we use ShowWindow()?

What is ShowWindow() in VC++ Win32 application? Why we use ShowWindow()?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-30-2007, 12:39 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: What is ShowWindow() in VC++ Win32 application? Why we use ShowWindow()?

hi..
After the CreateWindow call returns the window has been created internally in windows. However the windows do not yet appear on the video display, two more calls are needed. They are:

ShowWindow(hwnd,nCmdShow);

UpdateWindow(hwnd);

The ShowWindow call determines how to display the window on the screen, whether it is normal, minimized or maximized. The first argument is the handle to the window just created by CreateWindow. The second argument nCmdShow is the value passed as a parameter to WinMain which determines how the window is to be internally displayed on the screen whether it is normal, minimized or maximized.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the syntax for TextOut function in VC++ Win32 application? mobilegeek C and C++ Programming 3 08-09-2007 03:23 AM
How can communicate between child and parent windows in VC++ win32 application? kingmaker C and C++ Programming 1 07-30-2007 12:51 AM
How to set value text to a control in Win32 using VC++? itbarota Mobile Software Development 1 07-25-2007 11:37 PM
How can we get the text from edit control in Win32 VC++ application? mobilegeek C and C++ Programming 1 07-25-2007 11:27 PM
I am using CString in my win32 application... theone C and C++ Programming 0 07-17-2007 03:41 AM


All times are GMT -7. The time now is 05:37 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0