Forum: Win32/Win64 API (native code)
Delphi
by jfheins,
19. Okt 2008
Use the DestroyWindow() or the CloseWindow() function ;)
Please do open up a new topic for each new question :warn:
Forum: Win32/Win64 API (native code)
Delphi
by jfheins,
19. Okt 2008
New question => New Thread please ;)
Short answer: Yes, that is possible :mrgreen:
Not-that-short-answer: Close the Button windwo and create your own one ;)
Forum: Win32/Win64 API (native code)
Delphi
by jfheins,
19. Okt 2008
An example ...... i can show you how to do it ;)
(As I have no Delphi installed I dunno if it compiles ...)
First, you need a variable that holds the old WndProc. A Pointer should do the job.
To get the pointer to the WndProc you can call GetWindowLong(), to process the messages in your program, you need a seperate function
var
OldWndProc: Pointer;
begin // Change WndProc
Forum: Win32/Win64 API (native code)
Delphi
by jfheins,
19. Okt 2008
Correct me if I'm wrong but ... Longhorn is Vista (or the former name of vista) isn't it?