Skip to content

Instantly share code, notes, and snippets.

View KiRist-code's full-sized avatar
💭
UwU

KiRist KiRist-code

💭
UwU
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kirist-code on github.
  • I am kirist (https://keybase.io/kirist) on keybase.
  • I have a public key ASA4XQykXsSvKjAXYRuwcQ3S2TjEMpJXD_UQUQ0sCHjMJwo

To claim this, I am signing this object:

@KiRist-code
KiRist-code / main.cpp
Created August 16, 2021 09:20
How to set SDL frame between wallpaper and wallpaper icon
/* if ur enviroment is Windows, import SDL2 and winapi
if ur enviroment is Linux or Unix, import SDL2 and X11/Xlib.h
*/
#if _WIN32 || _WIN64
BOOL CALLBACK EnumWindowsProc(HWND hwnd, LPARAM lParam) {
HWND p = FindWindowEx(hwnd, NULL, "SHELLDLL_DefView", NULL);
HWND* ret = (HWND*)lParam;
if (p) {
🌞 Morning 19 commits ███▏░░░░░░░░░░░░░░░░░ 15.1%
🌆 Daytime 46 commits ███████▋░░░░░░░░░░░░░ 36.5%
🌃 Evening 58 commits █████████▋░░░░░░░░░░░ 46.0%
🌙 Night 3 commits ▌░░░░░░░░░░░░░░░░░░░░ 2.4%