The Artima Developer Community
Sponsored Link

Design Forum
subclassing

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Viper

Posts: 1
Nickname: slyviper
Registered: Aug, 2005

subclassing Posted: Aug 14, 2005 2:44 PM
Reply to this message Reply
Advertisement
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

Topic: PATTERN == GOLDEN RATIO Previous Topic   Next Topic Topic: UML Modeling Tool - Full UML Notation

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use