|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Subclassing
Help!
In Win 98 I could SubClass another program and make it do what I want it to do, But in Win Xp microsoft have changed the command I used. In Win 98 I use the "GetWindowLong()" command to return the Proc Address Pointer. with... Old_Wnd_Proc := Pointer( GetWindowLong( My_Progs_Win_Handle, GWL_WNDPROC )); The New Xp's version of the "GetWindowLong()" command if your trying to get a Windows Proc Address Pointer is now "GetWindowLongPtr()" but this new command want work in Delphi 7 ??? Xp's new way... Old_Wnd_Proc := GetWindowLongPtr( My_Progs_Win_Handle, GWLP_WNDPROC); Can you go on the Net for me and find any info on the "GetWindowLongPtr" command. Used for Subclassing another program. (NOT the "GetWindowLong" command, it MUST be the Get Window Long "Ptr") ^^^ (NOT subclassing a window in your own program) Thanks Viper |
|
#2
|
||||
|
||||
|
I'm not sure if this is what you're asking for. Hope it helps though:
http://msdn.microsoft.com/library/d...ndowlongptr.asp
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Delphi Programming > Subclassing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|