Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 17 Jun 2008 21:02:20 +0800,    group: microsoft.public.win32.programmer.ui        back       


About owner window and owner draw   
The owner draw message ONLY send to the owner window, not the parent.
if the window hasn't, it will send it to the top level parent window.
So,how can i set a window's owner window?
date: Tue, 17 Jun 2008 21:02:20 +0800   author:   susan none

Re: About owner window and owner draw   
On Jun 17, 6:02 am, "susan" <none> wrote:
> The owner draw message ONLY send to the owner window, not the parent.
> if the window hasn't, it will send it to the top level parent window.
> So,how can i set a window's owner window?


Hi,

You can use the following APIs to get/set the parent window
of the specified child window:

	GetParent()

	SetParent()

http://msdn.microsoft.com/en-us/library/ms633510(VS.85).aspx

http://msdn.microsoft.com/en-us/library/ms633541(VS.85).aspx

Kellie.
date: Tue, 17 Jun 2008 12:31:39 -0700 (PDT)   author:   Kellie Fitton

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us