|
-
Jan 20th, 2002, 11:30 AM
#1
Thread Starter
Member
SetWindowWord and Windows XP
Please help
I previously used SetWindowsWord to create a tool window that floated over my main window but not other program windows.
This doesn't seem to work in Windows XP!!
Has anybody else come across this? or am i being stupid
An overview of the code
Declaration :
Public Declare Function SetWindowWord Lib "user32" Alias "SetWindowWord" (ByVal hwnd As Long, ByVal nIndex As Long, ByVal wNewWord As Long) As Long
Public Const GWL_HWNDPARENT = (-8)
Code Use :
Setwindowword thiswin.hwnd, GWL_HWNDPARENT, Parent.hwnd
I'm sure this worked in Win98 but seem to have no effect in WinXP
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
|