Questions tagged [setwindowlong]

20 questions
0
votes
0 answers

Problem to get Scrollbars after a SetParent

I try to integrate a window programm into a panel container in vb.net. All is ok but the scroll bars is disabled, dou you know why ? My code is: Dim info As ProcessStartInfo = New ProcessStartInfo info.FileName = "C:\putty\\putty.exe" info.Arguments…
Xavier
  • 43
  • 1
  • 8
0
votes
0 answers

SetWindowLong Clickable Form Elements

I use SetWindowLong to make my Form click through for an overlay. I want to create Buttons and some Elements which are clickable but the Form should be still invisible because it's an overlay. My OnLoad Function: this.BackColor =…
Syco
  • 16
  • 4
0
votes
1 answer

winapi: removing decoration

This looks like a duplicate but hear me first. This is more on the debugging side. I'm trying to remove the borders of my window using the method here. What are some things that will make these functions not work? Hiding windows using…
kir
  • 581
  • 1
  • 6
  • 22
0
votes
1 answer

SetWindowLongPtr not seem to work

I tried to subclass another window (in another process) so I injected a dll, which calls SetWindowLongPtr, but it fails and GetLastError returns 5. BOOL APIENTRY DllMain (HANDLE hDll, DWORD dwReason, LPVOID lpReserved) { switch (dwReason) { …
joell
  • 396
  • 6
  • 17
-4
votes
1 answer

How can I manage windows of applications opened using Win32 API (Notepad, Word, Outlook, Chrome etc.)

How can we manage the wndproc function of the applications we run using the Win32 api? The software language I use is Go. I tried more than one method but couldn't do it. Can you help? I am learning the HANDLE (HWND) value of notepad application…
Recai Cingöz
  • 39
  • 2
  • 13
1
2