|
-
Mar 13th, 2022, 08:13 AM
#11
Re: VB6 WebView2-Binding (Edge-Chromium)
 Originally Posted by BooksRUs
Perhaps, this is because the PicBox isn't really visible YET in the Form_Load event?
Yes, the PicBox.hWnd (any hWnd) you bind to,
has to be visible at the point you call WV.BindTo...
And any hWnd-based Child-Control will report False (regarding its visibility),
as long as its hosting TopLevel-Parent is still invisible (in your case, your Form).
Please take another look at the first line in my original Demo-Codes Form_Load (and the comments I made there).
Olaf
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|