Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate

Autor Topic: DIY Launcher/Window mode  (Visto 1283 veces)

0 Miembros and 1 Guest are viewing this topic.

Offline feature21 Posteado: March 04, 2022, 06:03:21 AM | Modificado: March 04, 2022, 06:16:37 AM by feature21

  • 0 puntos por ventas
  • *
  • Rank: Principiante
  • Posts: 1
  • Gracias recibida: 10
  • bg
Hi guys,

i try to build c# launcher or minimize program like (WinMU.exe https://ibb.co/4m8GHRj) with 1280x1024 resolution, but i have a problem with anti alt+tab, minimize window or mouse click outside of window(they all close my process).

my steps:
process.start() and get mainwindowhandle
SetWindowLongPtr with some styles
SetWindowPos with new resolution (1280x1024) and some flags like SWP_SHOWWINDOW, SWP_NOSIZE, SWP_NOMOVE and SWP_NOZORDER
MoveWindow with new resolution(1280x1024)
https://prnt.sc/xKMJuCjijA_z


Gracias:


Solo usuarios registrados pueden comentar y agradecer, Logueate o Registrate


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1743 Views
Last post August 06, 2019, 02:35:10 PM
by fededz
15 Replies
3130 Views
Last post August 20, 2020, 12:01:48 PM
by andre3ro
0 Replies
2765 Views
Last post February 19, 2021, 01:11:27 AM
by onlinezajzaj
0 Replies
990 Views
Last post February 03, 2024, 01:28:17 AM
by zhangjianle865
1 Replies
308 Views
Last post July 17, 2025, 03:18:31 PM
by danilo46