|
-
Feb 28th, 2006, 12:18 PM
#1
Thread Starter
Fanatic Member
Lock application window to target form
I remember back in vb6 I found some sample code that permited to lock notepad within an MDI child form on a project.
I'm looking for the exact same thing... but within vb .net and through a normal form.
I searched the forums and found
VB Code:
Private Declare Function LockWindowUpdate Lib "user32" Alias _
"LockWindowUpdate" (ByVal hwndLock As Long) As Long
which looks like a peace of the puzzle I need...
if anybody got pointers I'd appreciate... thx 
EDIT: Oh and I'd also need the code to reverse the window back to it's original state...!
Last edited by Ruku; Feb 28th, 2006 at 12:26 PM.
-
Feb 28th, 2006, 12:36 PM
#2
Re: Lock application window to target form
LockWindowUpdate disabled redrawing of a window...
I don't think this is what you are looking for?
Perhaps you are looking for something like SetParent? A function to take an existing window, and stick it inside a window in your application?
-
Feb 28th, 2006, 05:54 PM
#3
Re: Lock application window to target form
Someone else did this same thing recently and I posted to the thread, so if you search for "SetParent" with my user name you should be able to find the thread.
-
Mar 1st, 2006, 02:03 PM
#4
Thread Starter
Fanatic Member
Re: Lock application window to target form
ah, thx, I'll try and dig something out!
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
|