|
 |
|
10-24-2005, 01:10 AM
|
#151
|
|
Banned
Join Date: Nov 2004
Location: L.A.
Posts: 1,944
|
DAMN IT vBulletin!!! LOL
Thanks PD, that is awesome information. So does it position relative to the upper left corner of the main window rather than the upperleft corner of the screen? If not, how do you figure out where the FE embedded main form is relative to screen rather than the FE's container?
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
10-24-2005, 01:33 AM
|
#152
|
|
FLAC
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,021
|
Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Public Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long
Dim RectActive As RECT
Call GetWindowRect(hwnd, RectActive)
That will get the coordinates of each corner of whatever window you want.
|
|
|
10-24-2005, 02:01 AM
|
#153
|
|
Banned
Join Date: Nov 2004
Location: L.A.
Posts: 1,944
|
Cool. Thanks again.
Is that what you use to correctly position Layered windows? ...or might there be a better way?
|
|
|
10-24-2005, 03:34 AM
|
#154
|
|
FLAC
Join Date: Jun 2005
Location: Anoka County, MN
Posts: 1,021
|
Quote: Originally Posted by RPM_VR4
Cool. Thanks again.
Is that what you use to correctly position Layered windows? ...or might there be a better way?
Um... if theres a better way I don't know it. I don't claim to be an expet at these kinds of things though.
Yea, all the art except for the buttons physically on the map for me is positioned using that getwindowrect code. I really should move the buttons onto a layered window; it would give me some very nice benefits.
|
|
|
10-24-2005, 07:50 AM
|
#155
|
|
Raw Wave
Join Date: Apr 2005
Posts: 2,705
|
Hrmmmm nice Work RPM. This might actually look very cool with my iGuidance large button modification to replace the std menus....
|
|
|
10-24-2005, 07:58 PM
|
#156
|
|
My Village Called
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
|
Quote: Originally Posted by PURDooM
Um... if theres a better way I don't know it. I don't claim to be an expet at these kinds of things though.
Yea, all the art except for the buttons physically on the map for me is positioned using that getwindowrect code. I really should move the buttons onto a layered window; it would give me some very nice benefits.
I think Guino has some interesting way of drawing stuff on RR.
|
|
|
11-02-2005, 08:59 PM
|
#157
|
|
Newbie
Join Date: Jul 2005
Location: Singapore - East Coast
Posts: 27
|
Urmm, how do I determine the window class# ??
|
|
|
11-02-2005, 09:01 PM
|
#158
|
|
My Village Called
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
|
Quote: Originally Posted by crankshaft
Urmm, how do I determine the window class# ??
Search for an "API Spy".
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
11-02-2005, 09:04 PM
|
#159
|
|
Newbie
Join Date: Jul 2005
Location: Singapore - East Coast
Posts: 27
|
Cheers
|
|
|
11-02-2005, 09:22 PM
|
#160
|
|
Newbie
Join Date: Jul 2005
Location: Singapore - East Coast
Posts: 27
|
could you recommend one, I just downloaded & installed Cow Spy, API Monitor & API Spy, but can't seem to see the WindowClass in any of them ?? - is windowClass also known as something else ??
Thanx
|
|
|
11-02-2005, 09:26 PM
|
#161
|
|
My Village Called
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
|
|
|
|
11-02-2005, 09:40 PM
|
#162
|
|
Newbie
Join Date: Jul 2005
Location: Singapore - East Coast
Posts: 27
|
Thanx, I have determined that the skype window class is: tSkMainForm.UnicodeClass, skinbedder launches it but the skype window still appears and is not embedded - any ideas on how to determine what's wrong ??
Thanx so much !
|
|
|
11-02-2005, 10:13 PM
|
#164
|
|
Newbie
Join Date: Jul 2005
Location: Singapore - East Coast
Posts: 27
|
Thanx;
I determined the handle number but that did not work either, but If I just use the window name, without the window class it embeds OK !
Is it ok to use it like that ???
|
|
|
11-02-2005, 10:35 PM
|
#165
|
|
My Village Called
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 10,517
|
Yes, its ok to use it like that
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:06 PM.
| |