Murugan.com
Murugan Andezuthu Dharmaratnam

  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  



VC++ 6.0 Win32 SetParent () Add an Existing Window as child window of another or Dynamically add a child window or Assign Window to a parent

Home   VC++   VC++ 6.0 Win32 SetParent () Add an Existing Window as child window of another or Dynamically add a child window or Assign Window to a parent         


One of my Vc++ 6.0 Widndows application I wanted to create a parent 
window and wanted to add buttons or child controls to the parent window
Was searching for a way to do it. I think this is what I am looking for. 

SetParent Function

The SetParent function changes the parent window of the specified child window.

HWND SetParent(HWND hWndChild,HWND hWndNewParent);

If the function succeeds, the return value is a handle to the previous parent 
window.on failure , the return value is NULL




  |  HOME   |  BLOG   |  TWITTER   |  ARTICLES   |  8086  |  C++   |  VC++   |  ASP .NET   |  VB .NET   |  JAVA SCRIPT   |  MS SQL   |  MY   |  VIDEOS   |  DOWNLOADS   |  CONTACT ME   |  

Copyright 2009 @ Murugan Andezuthu Dharmaratnam