Using Win32API on Windows 64 /OE 64 remove titlebar and boarder

Cecil

19+ years progress programming and still learning.
So I've been having trouble using some of the Win32API function on a 64bit platform. Some of windows api command allow for the parameters to be changed from long to int64 datatypes.

Basically, I want to remove the title bar and borders (just like a splash screen), but the good old Win32Api command is just not handing the 64-bit integers datatypes. I was hoping to find a .NET solution/alternative no luck.

I get this error when calling GetWindowRect procedure. THEN get-pointer-value() returns a INT64 data type on a 64bit platform.

Code:
PROCEDURE GetWindowRect EXTERNAL "user32"   :
  DEFINE INPUT  PARAMETER hwnd        AS LONG.
  DEFINE INPUT  PARAMETER lpRect      AS INT64. /* get-pointer-value(memptr) */
  DEFINE RETURN PARAMETER ReturnValue AS LONG.
END PROCEDURE.

1529531641290.png
 

TomBascom

Curmudgeon
Look at the createProcessA() code I posted a couple of weeks ago... Progress mucked around with how “long” is being handled which resulted in shenanigans being needed depending on client architecture and Progress version.

DOS command hangs processing etc
 
Last edited:

Cecil

19+ years progress programming and still learning.
Just bumping this thread and giving up trying to work this out for myself. How do I remove the title bar using WIN32API on a 64bit OS?
 

Cecil

19+ years progress programming and still learning.
I've got something working. a bit of a mix between Win32API and .NET
 
Top