how to set parent window
-
hi Everybody i am working on window application in vb.net actually i want to show my form under the visio window means to make visio as parent window for that form, how can i do that . if anybody know please help me. Thanks
You can't. You cannot make your application a child window of another application. If you want to do something like this, you'll have to write an Add-On for Visio. Dave Kreskowiak Microsoft MVP - Visual Basic
-
You can't. You cannot make your application a child window of another application. If you want to do something like this, you'll have to write an Add-On for Visio. Dave Kreskowiak Microsoft MVP - Visual Basic
-
yes i know that it can be done by using set paarent window but it is not working or i used in the wrong way if anyone of you know please help me Thanks -- modified at 6:47 Friday 7th April, 2006
Once again, NO, YOU CAN'T DO THIS!! You can NOT make your window a child window of another application! Why? Because when the other application repaints it's own window, your window will never get repainted. This is because your window is not going to get, and can NOT get, the WM_PAINT messages it needs to tell it to repaint at the appropriate time. Dave Kreskowiak Microsoft MVP - Visual Basic
-
Once again, NO, YOU CAN'T DO THIS!! You can NOT make your window a child window of another application! Why? Because when the other application repaints it's own window, your window will never get repainted. This is because your window is not going to get, and can NOT get, the WM_PAINT messages it needs to tell it to repaint at the appropriate time. Dave Kreskowiak Microsoft MVP - Visual Basic
-
but in visual basic 6.0 i do this several time by using set parent API. Is this APi doesnot work in vb.nrt Thanks
Exactly! Dave Kreskowiak Microsoft MVP - Visual Basic